Documentation
¶
Index ¶
Constants ¶
View Source
const ( FPS30 = 30 FPS60 = 60 )
View Source
const (
MasterPlaylist = "master.m3u8"
)
Variables ¶
View Source
var Default, _ = Load(defaultLadderYaml)
Functions ¶
func GetVideoStream ¶
func GetVideoStream(meta *ffmpeg.Metadata) transcoder.Streams
func SetLogger ¶
func SetLogger(l *zap.SugaredLogger)
Types ¶
type ArgumentSet ¶
func (*ArgumentSet) GetStrArguments ¶
func (a *ArgumentSet) GetStrArguments() []string
GetStrArguments serializes ffmpeg arguments in a format sutable for ffmpeg.Transcoder.Start.
type Definition ¶
type Definition string
const ( D1080p Definition = "1080p" D720p Definition = "720p" D144p Definition = "144p" )
type Ladder ¶
func (Ladder) ArgumentSet ¶
func (l Ladder) ArgumentSet(out string, meta *Metadata) *ArgumentSet
Click to show internal directories.
Click to hide internal directories.