Documentation
¶
Index ¶
- Variables
- func GenerateEffectFilter(input string, output string, effectName string, keyframes Keyframes) string
- func GenerateFFmpegAudio(sources []SourceAudio, effects []Effect, timeline []TimelineAudio, ...) string
- func GenerateFFmpegVideo(sources []SourceVideo, effects []Effect, timeline []TimelineVideo, ...) string
- type Audio
- type Effect
- type Keyframe
- type Keyframes
- type SourceAudio
- type SourceVideo
- type TimelineAudio
- type TimelineVideo
- type Video
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileNotFound = errors.New("File not found")
View Source
var ErrInvalidPath = errors.New("Invalid path")
View Source
var ErrNoStreamFound = errors.New("No stream found in file")
View Source
var ErrNotAFile = errors.New("Path is not pointing to a file")
Functions ¶
func GenerateEffectFilter ¶ added in v0.5.0
func GenerateEffectFilter(input string, output string, effectName string, keyframes Keyframes) string
Generate the needed filter string for ffmpeg's filter_complex option
func GenerateFFmpegAudio ¶ added in v0.7.0
func GenerateFFmpegAudio(sources []SourceAudio, effects []Effect, timeline []TimelineAudio, output Audio) string
Generate an ffmpeg command to render audio
func GenerateFFmpegVideo ¶ added in v0.7.0
func GenerateFFmpegVideo(sources []SourceVideo, effects []Effect, timeline []TimelineVideo, output Video) string
Generate an ffmpeg command to render video
Types ¶
type Audio ¶ added in v0.2.0
type SourceAudio ¶ added in v0.7.0
type SourceVideo ¶ added in v0.7.0
type TimelineAudio ¶ added in v0.7.0
type TimelineVideo ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.