Help us shape the future of Go! Take the 2026 Go Developer Survey

v21

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(ctx context.Context, cfg MergeConfig) error

Types

type MergeConfig

type MergeConfig struct {
	StagingRoot string
	OutputRoot  string
	RepoID      string
	RobotType   string
	FPS         int
	Features    map[string]meta.FeatureSpec
	Locator     video.Locator
	Stats       stats.Options
}

type StagingConfig

type StagingConfig struct {
	Dir       string
	Episode   int
	FPS       int
	Features  map[string]meta.FeatureSpec
	Locator   video.Locator
	VCodec    string
	CRF       int
	UseVideos bool
	Stats     stats.Options
	TempRoot  string
}

type StagingWriter

type StagingWriter struct {
	// contains filtered or unexported fields
}

func NewStagingWriter

func NewStagingWriter(cfg StagingConfig) (*StagingWriter, error)

func (*StagingWriter) AddFrame

func (w *StagingWriter) AddFrame(ctx context.Context, frame map[string]any) error

func (*StagingWriter) Close

func (w *StagingWriter) Close() error

func (*StagingWriter) SaveEpisode

func (w *StagingWriter) SaveEpisode(ctx context.Context) (manifest.Episode, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL