ffmpeg

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Bin     string   // ffmpeg
	Global  string   // -hide_banner -v error
	Input   string   // -re -stream_loop -1 -i /media/bunny.mp4
	Codecs  []string // -c:v libx264 -g:v 30 -preset:v ultrafast -tune:v zerolatency
	Filters []string // scale=1920:1080
	Output  string   // -f rtsp {output}

	Video, Audio int // count of Video and Audio params
}

func (*Args) AddCodec

func (a *Args) AddCodec(codec string)

func (*Args) AddFilter

func (a *Args) AddFilter(filter string)

func (*Args) HasFilters added in v1.6.0

func (a *Args) HasFilters(filters ...string) bool

func (*Args) InsertFilter

func (a *Args) InsertFilter(filter string)

func (*Args) String

func (a *Args) String() string

Jump to

Keyboard shortcuts

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