Documentation
¶
Index ¶
- type Arguments
- type Builder
- type Chain
- func (fg *Chain) ACrossFade(input1 string, input2 string, duration float64, output string) IChain
- func (fg *Chain) ADelay(input string, delay float64, output string) IChain
- func (fg *Chain) ATrim(input string, start float64, end float64, output string) IChain
- func (fg *Chain) AlphaExtract(input string, output string) IChain
- func (fg *Chain) AlphaMerge(input string, mask string, shortest bool, output string) IChain
- func (fg *Chain) Concat(inputs []string, videoEnable bool, audioEnable bool, output string) IChain
- func (fg *Chain) Format(input string, format pixel_formats.PixelFormat, output string) IChain
- func (fg *Chain) Fps(input string, fps float64, output string) IChain
- func (fg *Chain) Map(output string) IMap
- func (fg *Chain) Overlay(under string, over string, shortest bool, output string) IChain
- func (fg *Chain) Pad(input string, width int, height int, x int, y int, output string) IChain
- func (fg *Chain) Reverse(input string, output string) IChain
- func (fg *Chain) Scale(input string, width float64, height float64, output string) IChain
- func (fg *Chain) Split(input string, outputs ...string) IChain
- func (fg *Chain) Trim(input string, start float64, end float64, output string) IChain
- func (fg *Chain) Volume(input string, volume float64, output string) IChain
- type FilterGraph
- type IBuilder
- type IChain
- type IFfmpeg
- type IMap
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Inputs arguments.Inputs Output arguments.Outputs VideoFilters arguments.VideoFilters AudioFilters arguments.AudioFilters FilterGraph FilterGraph Options arguments.Options }
type Chain ¶
type Chain ffmpeg
func (*Chain) ACrossFade ¶
func (*Chain) AlphaMerge ¶
func (*Chain) Format ¶
func (fg *Chain) Format(input string, format pixel_formats.PixelFormat, output string) IChain
type FilterGraph ¶
func (*FilterGraph) Build ¶
func (fg *FilterGraph) Build() []string
type IChain ¶ added in v1.0.24
type IChain interface { Format(input string, format pixel_formats.PixelFormat, output string) IChain Pad(input string, width int, height int, x int, y int, output string) IChain Volume(input string, volume float64, output string) IChain Fps(input string, fps float64, output string) IChain Scale(input string, width float64, height float64, output string) IChain Reverse(input string, output string) IChain Trim(input string, start float64, end float64, output string) IChain Split(input string, outputs ...string) IChain ATrim(input string, start float64, end float64, output string) IChain AlphaExtract(input string, output string) IChain AlphaMerge(input string, mask string, shortest bool, output string) IChain Concat(inputs []string, videoEnable bool, audioEnable bool, output string) IChain Overlay(under string, over string, shortest bool, output string) IChain ACrossFade(input1 string, input2 string, duration float64, output string) IChain ADelay(input string, delay float64, output string) IChain Map(output string) IMap }
type IFfmpeg ¶ added in v1.0.24
type IFfmpeg interface { BitrateVideo(bitrate int) IFfmpeg BitrateAudio(bitrate int) IFfmpeg Flanger(delay float64) IFfmpeg CodecVideo(codec codec_video.CodecVideo) IFfmpeg CodecAudio(codec codec_audio.CodecAudio) IFfmpeg Scale(width int, height int) IFfmpeg Fps(fps float64) IFfmpeg FilterGraph() IChain Input(path string) IFfmpeg Inputs(paths ...string) IFfmpeg Output(path string) IBuilder Run(args []string) error }
func NewFfmpeg ¶ added in v1.0.25
func NewFfmpeg(configuration *configuration.Configuration, headers []string) IFfmpeg
Click to show internal directories.
Click to hide internal directories.