Versions in this module Expand all Collapse all v1 v1.0.0 Sep 29, 2023 Changes in this version + type Progress struct + CurrentBitrate string + CurrentTime string + FramesProcessed string + Progress float64 + Speed string + type Transcoder struct + func (t *Transcoder) CreateInputPipe() (*io.PipeWriter, error) + func (t *Transcoder) CreateOutputPipe(containerFormat string) (*io.PipeReader, error) + func (t *Transcoder) Initialize(inputPath string, outputPath string) error + func (t *Transcoder) InitializeEmptyTranscoder() error + func (t *Transcoder) Run(progress bool) <-chan error + func (t *Transcoder) SetConfiguration(v goffmpeg.Configuration) + func (t *Transcoder) SetInputPath(inputPath string) error + func (t *Transcoder) SetMediaFile(v *media.File) + func (t *Transcoder) SetOutputPath(inputPath string) error + func (t *Transcoder) SetProcess(cmd *exec.Cmd) + func (t *Transcoder) SetProcessStderrPipe(v io.ReadCloser) + func (t *Transcoder) SetProcessStdinPipe(v io.WriteCloser) + func (t *Transcoder) SetWhiteListProtocols(availableProtocols []string) + func (t *Transcoder) Stop() error + func (t Transcoder) FFmpegExec() string + func (t Transcoder) FFprobeExec() string + func (t Transcoder) GetCommand() []string + func (t Transcoder) MediaFile() *media.File + func (t Transcoder) Output() <-chan Progress + func (t Transcoder) Process() *exec.Cmd