Versions in this module Expand all Collapse all v0 v0.86.2 Apr 7, 2022 v0.86.1 Mar 21, 2022 v0.86.0 Mar 20, 2022 v0.85.1 Mar 2, 2022 v0.85.0 Mar 1, 2022 Changes in this version + type Disposition struct + CleanEffects int + Comment int + Default int + Dub int + Forced int + HearingImpaired int + Karaoke int + Lyrics int + Original int + VisualImpaired int + type Ffmpeg struct + FfmpegBinPath string + FfprobeBinPath string + type Format struct + BitRate string + Duration string + Filename string + FormatLongName string + FormatName string + NbPrograms int + NbStreams int + ProbeScore int + Size string + Tags Tags + type Mediafile struct + func (m *Mediafile) Aspect() string + func (m *Mediafile) AudioBitrate() string + func (m *Mediafile) AudioChannels() int + func (m *Mediafile) AudioCodec() string + func (m *Mediafile) AudioFilter() string + func (m *Mediafile) AudioProfile() string + func (m *Mediafile) AudioRate() int + func (m *Mediafile) BufferSize() int + func (m *Mediafile) CRF() uint32 + func (m *Mediafile) CompressionLevel() int + func (m *Mediafile) CopyTs() bool + func (m *Mediafile) Duration() string + func (m *Mediafile) DurationInput() string + func (m *Mediafile) EncryptionKey() string + func (m *Mediafile) Filter() string + func (m *Mediafile) FrameRate() int + func (m *Mediafile) GetMetadata() *Metadata + func (m *Mediafile) GetPixFmt() string + func (m *Mediafile) HardwareAcceleration() string + func (m *Mediafile) HideBanner() bool + func (m *Mediafile) HlsListSize() int + func (m *Mediafile) HlsMasterPlaylistName() string + func (m *Mediafile) HlsPlaylistType() string + func (m *Mediafile) HlsSegmentDuration() int + func (m *Mediafile) HlsSegmentFilename() string + func (m *Mediafile) HttpKeepAlive() bool + func (m *Mediafile) HttpMethod() string + func (m *Mediafile) InputInitialOffset() string + func (m *Mediafile) InputPath() string + func (m *Mediafile) InputPipe() bool + func (m *Mediafile) InputPipeReader() io.ReadCloser + func (m *Mediafile) InputPipeWriter() io.Writer + func (m *Mediafile) KeyFrameInterval() int + func (m *Mediafile) MapMetadata() string + func (m *Mediafile) MaxKeyFrame() int + func (m *Mediafile) Metadata() Metadata + func (m *Mediafile) MinKeyFrame() int + func (m *Mediafile) MovFlags() string + func (m *Mediafile) MuxDelay() string + func (m *Mediafile) NativeFramerateInput() bool + func (m *Mediafile) ObtainAspect() []string + func (m *Mediafile) ObtainAudioBitRate() []string + func (m *Mediafile) ObtainAudioChannels() []string + func (m *Mediafile) ObtainAudioCodec() []string + func (m *Mediafile) ObtainAudioFilter() []string + func (m *Mediafile) ObtainAudioProfile() []string + func (m *Mediafile) ObtainAudioRate() []string + func (m *Mediafile) ObtainBframe() []string + func (m *Mediafile) ObtainBufferSize() []string + func (m *Mediafile) ObtainCRF() []string + func (m *Mediafile) ObtainCompressionLevel() []string + func (m *Mediafile) ObtainCopyTs() []string + func (m *Mediafile) ObtainDuration() []string + func (m *Mediafile) ObtainDurationInput() []string + func (m *Mediafile) ObtainEncryptionKey() []string + func (m *Mediafile) ObtainFrameRate() []string + func (m *Mediafile) ObtainHardwareAcceleration() []string + func (m *Mediafile) ObtainHideBanner() []string + func (m *Mediafile) ObtainHlsListSize() []string + func (m *Mediafile) ObtainHlsMasterPlaylistName() []string + func (m *Mediafile) ObtainHlsPlaylistType() []string + func (m *Mediafile) ObtainHlsSegmentDuration() []string + func (m *Mediafile) ObtainHlsSegmentFilename() []string + func (m *Mediafile) ObtainHttpKeepAlive() []string + func (m *Mediafile) ObtainHttpMethod() []string + func (m *Mediafile) ObtainInputInitialOffset() []string + func (m *Mediafile) ObtainInputPath() []string + func (m *Mediafile) ObtainInputPipe() []string + func (m *Mediafile) ObtainKeyframeInterval() []string + func (m *Mediafile) ObtainMapMetadata() []string + func (m *Mediafile) ObtainMovFlags() []string + func (m *Mediafile) ObtainMuxDelay() []string + func (m *Mediafile) ObtainNativeFramerateInput() []string + func (m *Mediafile) ObtainOutputFormat() []string + func (m *Mediafile) ObtainOutputPath() []string + func (m *Mediafile) ObtainOutputPipe() []string + func (m *Mediafile) ObtainPixFmt() []string + func (m *Mediafile) ObtainPreset() []string + func (m *Mediafile) ObtainQScale() []string + func (m *Mediafile) ObtainRawInputArgs() []string + func (m *Mediafile) ObtainRawOutputArgs() []string + func (m *Mediafile) ObtainResolution() []string + func (m *Mediafile) ObtainRtmpLive() []string + func (m *Mediafile) ObtainSeekTime() []string + func (m *Mediafile) ObtainSeekTimeInput() []string + func (m *Mediafile) ObtainSeekUsingTsInput() []string + func (m *Mediafile) ObtainSkipAudio() []string + func (m *Mediafile) ObtainSkipVideo() []string + func (m *Mediafile) ObtainStreamIds() []string + func (m *Mediafile) ObtainStrict() []string + func (m *Mediafile) ObtainTags() []string + func (m *Mediafile) ObtainTarget() []string + func (m *Mediafile) ObtainThreads() []string + func (m *Mediafile) ObtainTune() []string + func (m *Mediafile) ObtainVframes() []string + func (m *Mediafile) ObtainVideoBitRate() []string + func (m *Mediafile) ObtainVideoBitRateTolerance() []string + func (m *Mediafile) ObtainVideoCodec() []string + func (m *Mediafile) ObtainVideoFilter() []string + func (m *Mediafile) ObtainVideoMaxBitRate() []string + func (m *Mediafile) ObtainVideoMinBitRate() []string + func (m *Mediafile) ObtainVideoProfile() []string + func (m *Mediafile) OutputFormat() string + func (m *Mediafile) OutputPath() string + func (m *Mediafile) OutputPipe() bool + func (m *Mediafile) OutputPipeReader() io.Reader + func (m *Mediafile) OutputPipeWriter() io.WriteCloser + func (m *Mediafile) Preset() string + func (m *Mediafile) QScale() uint32 + func (m *Mediafile) RawInputArgs() []string + func (m *Mediafile) RawOutputArgs() []string + func (m *Mediafile) Resolution() string + func (m *Mediafile) RtmpLive() string + func (m *Mediafile) SeekTime() string + func (m *Mediafile) SeekTimeInput() string + func (m *Mediafile) SeekUsingTsInput() bool + func (m *Mediafile) SetAspect(v string) + func (m *Mediafile) SetAudioBitRate(v string) + func (m *Mediafile) SetAudioChannels(v int) + func (m *Mediafile) SetAudioCodec(v string) + func (m *Mediafile) SetAudioFilter(v string) + func (m *Mediafile) SetAudioProfile(v string) + func (m *Mediafile) SetAudioRate(v int) + func (m *Mediafile) SetAudioVariableBitrate() + func (m *Mediafile) SetBframe(v int) + func (m *Mediafile) SetBufferSize(v int) + func (m *Mediafile) SetCRF(v uint32) + func (m *Mediafile) SetCompressionLevel(val int) + func (m *Mediafile) SetCopyTs(val bool) + func (m *Mediafile) SetDuration(v string) + func (m *Mediafile) SetDurationInput(v string) + func (m *Mediafile) SetEncryptionKey(v string) + func (m *Mediafile) SetFilter(v string) + func (m *Mediafile) SetFrameRate(v int) + func (m *Mediafile) SetHardwareAcceleration(val string) + func (m *Mediafile) SetHideBanner(val bool) + func (m *Mediafile) SetHlsListSize(val int) + func (m *Mediafile) SetHlsMasterPlaylistName(val string) + func (m *Mediafile) SetHlsPlaylistType(val string) + func (m *Mediafile) SetHlsSegmentDuration(val int) + func (m *Mediafile) SetHlsSegmentFilename(val string) + func (m *Mediafile) SetHttpKeepAlive(val bool) + func (m *Mediafile) SetHttpMethod(val string) + func (m *Mediafile) SetInputInitialOffset(val string) + func (m *Mediafile) SetInputPath(val string) + func (m *Mediafile) SetInputPipe(val bool) + func (m *Mediafile) SetInputPipeReader(r io.ReadCloser) + func (m *Mediafile) SetInputPipeWriter(w io.Writer) + func (m *Mediafile) SetKeyframeInterval(v int) + func (m *Mediafile) SetMapMetadata(val string) + func (m *Mediafile) SetMaxKeyFrame(v int) + func (m *Mediafile) SetMetadata(v Metadata) + func (m *Mediafile) SetMinKeyFrame(v int) + func (m *Mediafile) SetMovFlags(val string) + func (m *Mediafile) SetMuxDelay(val string) + func (m *Mediafile) SetNativeFramerateInput(val bool) + func (m *Mediafile) SetOutputFormat(val string) + func (m *Mediafile) SetOutputPath(val string) + func (m *Mediafile) SetOutputPipe(val bool) + func (m *Mediafile) SetOutputPipeReader(r io.Reader) + func (m *Mediafile) SetOutputPipeWriter(w io.WriteCloser) + func (m *Mediafile) SetPixFmt(v string) + func (m *Mediafile) SetPreset(v string) + func (m *Mediafile) SetQScale(v uint32) + func (m *Mediafile) SetRawInputArgs(args []string) + func (m *Mediafile) SetRawOutputArgs(args []string) + func (m *Mediafile) SetResolution(v string) + func (m *Mediafile) SetRtmpLive(val string) + func (m *Mediafile) SetSeekTime(v string) + func (m *Mediafile) SetSeekTimeInput(v string) + func (m *Mediafile) SetSeekUsingTsInput(val bool) + func (m *Mediafile) SetSkipAudio(val bool) + func (m *Mediafile) SetSkipVideo(val bool) + func (m *Mediafile) SetStreamIds(val map[int]string) + func (m *Mediafile) SetStrict(v int) + func (m *Mediafile) SetTags(val map[string]string) + func (m *Mediafile) SetThreads(v int) + func (m *Mediafile) SetTune(v string) + func (m *Mediafile) SetVframes(v int) + func (m *Mediafile) SetVideoBitRate(v string) + func (m *Mediafile) SetVideoBitRateTolerance(v int) + func (m *Mediafile) SetVideoCodec(v string) + func (m *Mediafile) SetVideoFilter(v string) + func (m *Mediafile) SetVideoMaxBitrate(v int) + func (m *Mediafile) SetVideoMinBitRate(v int) + func (m *Mediafile) SetVideoProfile(v string) + func (m *Mediafile) SkipAudio() bool + func (m *Mediafile) SkipVideo() bool + func (m *Mediafile) StreamIds() map[int]string + func (m *Mediafile) Strict() int + func (m *Mediafile) Tags() map[string]string + func (m *Mediafile) Target() string + func (m *Mediafile) Threads() int + func (m *Mediafile) ToStrCommand() []string + func (m *Mediafile) Tune() string + func (m *Mediafile) Vframes() int + func (m *Mediafile) VideoBitRateTolerance() int + func (m *Mediafile) VideoBitrate() string + func (m *Mediafile) VideoCodec() string + func (m *Mediafile) VideoFilter() string + func (m *Mediafile) VideoMaxBitRate() int + func (m *Mediafile) VideoMinBitRate() int + func (m *Mediafile) VideoProfile() string + type Metadata struct + Format Format + Streams []Streams + type Progress struct + CurrentBitrate string + CurrentTime string + FramesProcessed string + Progress float64 + Speed string + type Streams struct + AvgFrameRate string + BitRate string + ChromaLocation string + CodecLongName string + CodecName string + CodecTag string + CodecTagString string + CodecTimeBase string + CodecType string + CodedHeight int + CodedWidth int + DisplayAspectRatio string + Disposition Disposition + DivxPacked string + Duration string + DurationTs int + HasBFrames int + Height int + ID string + Index int + Level int + PixFmt string + Profile string + QuarterSample string + RFrameRrate string + Refs int + SampleAspectRatio string + TimeBase string + Width int + type Tags struct + Encoder string