Documentation
¶
Index ¶
- func ArgsToKwArgs(args []string) ffmpeg.KwArgs
- func Crop(args ffmpeg.KwArgs) filter
- func MergeProfiles(pros ...string) profile
- func Palette(args ffmpeg.KwArgs) filter
- func ReadConfig(name string)
- func Scale(args ffmpeg.KwArgs) filter
- type Cmd
- type Filter
- type Filters
- type Input
- func (i *Input) Compile(file string) *ffmpeg.Stream
- func (i *Input) End(to string) *Input
- func (i *Input) FFMeta(file string, idx ...string) *Input
- func (i *Input) MapChapters(idx string) *Input
- func (i *Input) MapMetadata(idx string) *Input
- func (i *Input) Merge(kwargs ffmpeg.KwArgs) *Input
- func (i *Input) Overwrite() *Input
- func (i *Input) Set(key string, val any)
- func (i *Input) Start(ss string) *Input
- func (i *Input) Verbose() *Input
- type Output
- func (o *Output) AudioCodec(val string) *Output
- func (o *Output) AudioParams(args map[string]any) *Output
- func (out Output) Compile(s *ffmpeg.Stream) *ffmpeg.Stream
- func (out *Output) Copy() *Output
- func (out *Output) Del(key string) *Output
- func (out *Output) Ext(ext string) *Output
- func (out *Output) Get(key string) any
- func (out *Output) IsStreamCopy() bool
- func (out Output) KwArgs() ffmpeg.KwArgs
- func (out *Output) Name(n string) *Output
- func (out *Output) Num(n int) *Output
- func (out *Output) Pad(p string) *Output
- func (out *Output) Set(key string, val any) *Output
- func (out Output) String() string
- func (o *Output) VideoCodec(val string) *Output
- func (o *Output) VideoParams(args map[string]any) *Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgsToKwArgs ¶
func MergeProfiles ¶
func MergeProfiles(pros ...string) profile
func Palette ¶
paletteuse filter arguments see https://ffmpeg.org/ffmpeg-filters.html#paletteuse for details about the options palettegen filter arguments see https://ffmpeg.org/ffmpeg-filters.html#palettegen-1 for details about the options
func ReadConfig ¶
func ReadConfig(name string)
func Scale ¶
scale filter args see https://ffmpeg.org/ffmpeg-filters.html#scale-1 for details about the arguments.
Types ¶
type Cmd ¶
type Cmd struct {
Filters Filters `yaml:"filters"`
Output
Input
// contains filtered or unexported fields
}
func GetProfile ¶
type Filter ¶
func Colortemp ¶
colortemperature filter arguments see https://ffmpeg.org/ffmpeg-filters.html#colortemperature for details about the options
func Eq ¶
eq filter arguments see https://ffmpeg.org/ffmpeg-filters.html#eq for details about the options
func Smartblur ¶
smartblur filter args see https://ffmpeg.org/ffmpeg-filters.html#smartblur-1 for details about the options