Versions in this module Expand all Collapse all v0 v0.19.2 Jul 10, 2024 Changes in this version + const MasterPlaylist + func NewPool(encoder Encoder, parallel int) pool + func SetLogger(l *zap.SugaredLogger) + type Configuration struct + func Configure() *Configuration + func (c *Configuration) FfmpegPath(p string) *Configuration + func (c *Configuration) FfprobePath(p string) *Configuration + func (c *Configuration) Ladder(l ladder.Ladder) *Configuration + func (c *Configuration) Log(l logging.KVLogger) *Configuration + func (c *Configuration) SpritegenPath(p string) *Configuration + type Encoder interface + Encode func(in, out string) (*Result, error) + GetMetadata func(input string) (*ladder.Metadata, error) + func NewEncoder(cfg *Configuration) (Encoder, error) + type Result struct + Input string + Ladder ladder.Ladder + OrigMeta *ladder.Metadata + Output string + Progress <-chan ffmpegt.Progress + type SpriteGenerator struct + func NewSpriteGenerator(cmdPath string, log logging.KVLogger) (*SpriteGenerator, error) + func (g SpriteGenerator) Generate(input, output string) error