Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disposition ¶
type Disposition interface { GetDefault() int GetDub() int GetOriginal() int GetComment() int GetLyrics() int GetKaraoke() int GetForced() int GetHearingImpaired() int GetVisualImpaired() int GetCleanEffects() int }
Disposition ...
type Format ¶
type Format interface { GetFilename() string GetNbStreams() int GetNbPrograms() int GetFormatName() string GetFormatLongName() string GetDuration() string GetSize() string GetBitRate() string GetProbeScore() int GetTags() Tags }
Format ...
type Progress ¶
type Progress interface { GetFramesProcessed() string GetCurrentTime() string GetCurrentBitrate() string GetProgress() float64 GetSpeed() string }
Progress ...
type Streams ¶
type Streams interface { GetIndex() int GetID() string GetCodecName() string GetCodecLongName() string GetProfile() string GetCodecType() string GetCodecTimeBase() string GetCodecTagString() string GetCodecTag() string GetWidth() int GetHeight() int GetCodedWidth() int GetCodedHeight() int GetHasBFrames() int GetSampleAspectRatio() string GetDisplayAspectRatio() string GetPixFmt() string GetLevel() int GetChromaLocation() string GetRefs() int GetQuarterSample() string GetDivxPacked() string GetRFrameRrate() string GetAvgFrameRate() string GetTimeBase() string GetDurationTs() int GetDuration() string GetDisposition() Disposition GetBitRate() string }
Streams ...
type Transcoder ¶
type Transcoder interface { Start(optsBeforeInput Options, opts Options) (<-chan Progress, error) StartAndReturnCmd(optsBeforeInput Options, opts Options) (<-chan Progress, *exec.Cmd, error) Input(i string) Transcoder InputPipe(w *io.WriteCloser, r *io.ReadCloser) Transcoder Output(o string) Transcoder OutputPipe(w *io.WriteCloser, r *io.ReadCloser) Transcoder WithOptions(opts Options) Transcoder WithAdditionalOptions(opts Options) Transcoder GetMetadata() (Metadata, error) }
Transcoder ...
Click to show internal directories.
Click to hide internal directories.