Documentation ¶
Overview ¶
Code generated by astiav. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func Log(c Classer, l LogLevel, fmt string, args ...string)
- func RL32(i []byte) uint32
- func RL32WithOffset(i []byte, offset uint) uint32
- func RegisterAllDevices()
- func RelativeTime() int64
- func RescaleQ(a int64, b Rational, c Rational) int64
- func RescaleQRnd(a int64, b Rational, c Rational, r Rounding) int64
- func ResetLogCallback()
- func SetLogCallback(c LogCallback)
- func SetLogLevel(l LogLevel)
- type AudioFifo
- type BitStreamFilter
- type BitStreamFilterContext
- func (bsfc *BitStreamFilterContext) Class() *Class
- func (bsfc *BitStreamFilterContext) Free()
- func (bsfc *BitStreamFilterContext) Initialize() error
- func (bsfc *BitStreamFilterContext) InputCodecParameters() *CodecParameters
- func (bsfc *BitStreamFilterContext) InputTimeBase() Rational
- func (bsfc *BitStreamFilterContext) ReceivePacket(p *Packet) error
- func (bsfc *BitStreamFilterContext) SendPacket(p *Packet) error
- func (bsfc *BitStreamFilterContext) SetInputTimeBase(r Rational)
- type BuffersinkFilterContext
- func (bfc *BuffersinkFilterContext) ChannelLayout() ChannelLayout
- func (bfc *BuffersinkFilterContext) ColorRange() ColorRange
- func (bfc *BuffersinkFilterContext) ColorSpace() ColorSpace
- func (bfc *BuffersinkFilterContext) FilterContext() *FilterContext
- func (bfc *BuffersinkFilterContext) FrameRate() Rational
- func (bfc *BuffersinkFilterContext) GetFrame(f *Frame, fs BuffersinkFlags) error
- func (bfc *BuffersinkFilterContext) Height() int
- func (bfc *BuffersinkFilterContext) MediaType() MediaType
- func (bfc *BuffersinkFilterContext) PixelFormat() PixelFormat
- func (bfc *BuffersinkFilterContext) SampleAspectRatio() Rational
- func (bfc *BuffersinkFilterContext) SampleFormat() SampleFormat
- func (bfc *BuffersinkFilterContext) SampleRate() int
- func (bfc *BuffersinkFilterContext) TimeBase() Rational
- func (bfc *BuffersinkFilterContext) Width() int
- type BuffersinkFlag
- type BuffersinkFlags
- type BuffersrcFilterContext
- type BuffersrcFlag
- type BuffersrcFlags
- type ChannelLayout
- type ChromaLocation
- type Class
- type ClassCategory
- type Classer
- type ClonedClasser
- type Codec
- func (c *Codec) ChannelLayouts() (o []ChannelLayout)
- func (c *Codec) HardwareConfigs() (configs []CodecHardwareConfig)
- func (c *Codec) ID() CodecID
- func (c *Codec) IsDecoder() bool
- func (c *Codec) IsEncoder() bool
- func (c *Codec) Name() string
- func (c *Codec) PixelFormats() (o []PixelFormat)
- func (c *Codec) SampleFormats() (o []SampleFormat)
- func (c *Codec) String() string
- type CodecContext
- func (cc *CodecContext) BitRate() int64
- func (cc *CodecContext) ChannelLayout() ChannelLayout
- func (cc *CodecContext) ChromaLocation() ChromaLocation
- func (cc *CodecContext) Class() *Class
- func (cc *CodecContext) CodecID() CodecID
- func (cc *CodecContext) ColorPrimaries() ColorPrimaries
- func (cc *CodecContext) ColorRange() ColorRange
- func (cc *CodecContext) ColorSpace() ColorSpace
- func (cc *CodecContext) ColorTransferCharacteristic() ColorTransferCharacteristic
- func (cc *CodecContext) ExtraData() []byte
- func (cc *CodecContext) ExtraHardwareFrames() int
- func (cc *CodecContext) Flags() CodecContextFlags
- func (cc *CodecContext) Flags2() CodecContextFlags2
- func (cc *CodecContext) FrameSize() int
- func (cc *CodecContext) Framerate() Rational
- func (cc *CodecContext) Free()
- func (cc *CodecContext) FromCodecParameters(cp *CodecParameters) error
- func (cc *CodecContext) GopSize() int
- func (cc *CodecContext) Height() int
- func (cc *CodecContext) Level() Level
- func (cc *CodecContext) MediaType() MediaType
- func (cc *CodecContext) Open(c *Codec, d *Dictionary) error
- func (cc *CodecContext) PixelFormat() PixelFormat
- func (cc *CodecContext) Profile() Profile
- func (cc *CodecContext) Qmin() int
- func (cc *CodecContext) ReceiveFrame(f *Frame) error
- func (cc *CodecContext) ReceivePacket(p *Packet) error
- func (cc *CodecContext) SampleAspectRatio() Rational
- func (cc *CodecContext) SampleFormat() SampleFormat
- func (cc *CodecContext) SampleRate() int
- func (cc *CodecContext) SendFrame(f *Frame) error
- func (cc *CodecContext) SendPacket(p *Packet) error
- func (cc *CodecContext) SetBitRate(bitRate int64)
- func (cc *CodecContext) SetChannelLayout(l ChannelLayout)
- func (cc *CodecContext) SetExtraData(b []byte) error
- func (cc *CodecContext) SetExtraHardwareFrames(n int)
- func (cc *CodecContext) SetFlags(fs CodecContextFlags)
- func (cc *CodecContext) SetFlags2(fs CodecContextFlags2)
- func (cc *CodecContext) SetFramerate(f Rational)
- func (cc *CodecContext) SetGopSize(gopSize int)
- func (cc *CodecContext) SetHardwareDeviceContext(hdc *HardwareDeviceContext)
- func (cc *CodecContext) SetHeight(height int)
- func (cc *CodecContext) SetLevel(l Level)
- func (cc *CodecContext) SetPixelFormat(pixFmt PixelFormat)
- func (cc *CodecContext) SetPixelFormatCallback(c CodecContextPixelFormatCallback)
- func (cc *CodecContext) SetProfile(p Profile)
- func (cc *CodecContext) SetQmin(qmin int)
- func (cc *CodecContext) SetSampleAspectRatio(r Rational)
- func (cc *CodecContext) SetSampleFormat(f SampleFormat)
- func (cc *CodecContext) SetSampleRate(sampleRate int)
- func (cc *CodecContext) SetStrictStdCompliance(c StrictStdCompliance)
- func (cc *CodecContext) SetThreadCount(threadCount int)
- func (cc *CodecContext) SetThreadType(t ThreadType)
- func (cc *CodecContext) SetTimeBase(r Rational)
- func (cc *CodecContext) SetWidth(width int)
- func (cc *CodecContext) StrictStdCompliance() StrictStdCompliance
- func (cc *CodecContext) String() string
- func (cc *CodecContext) ThreadCount() int
- func (cc *CodecContext) ThreadType() ThreadType
- func (cc *CodecContext) TimeBase() Rational
- func (cc *CodecContext) ToCodecParameters(cp *CodecParameters) error
- func (cc *CodecContext) Width() int
- type CodecContextFlag
- type CodecContextFlag2
- type CodecContextFlags
- type CodecContextFlags2
- type CodecContextPixelFormatCallback
- type CodecHardwareConfig
- type CodecHardwareConfigMethodFlag
- type CodecHardwareConfigMethodFlags
- func (fs CodecHardwareConfigMethodFlags) Add(f CodecHardwareConfigMethodFlag) CodecHardwareConfigMethodFlags
- func (fs CodecHardwareConfigMethodFlags) Del(f CodecHardwareConfigMethodFlag) CodecHardwareConfigMethodFlags
- func (fs CodecHardwareConfigMethodFlags) Has(f CodecHardwareConfigMethodFlag) bool
- type CodecID
- type CodecParameters
- func (cp *CodecParameters) BitRate() int64
- func (cp *CodecParameters) ChannelLayout() ChannelLayout
- func (cp *CodecParameters) ChromaLocation() ChromaLocation
- func (cp *CodecParameters) CodecID() CodecID
- func (cp *CodecParameters) CodecTag() CodecTag
- func (cp *CodecParameters) CodecType() MediaType
- func (cp *CodecParameters) ColorPrimaries() ColorPrimaries
- func (cp *CodecParameters) ColorRange() ColorRange
- func (cp *CodecParameters) ColorSpace() ColorSpace
- func (cp *CodecParameters) ColorTransferCharacteristic() ColorTransferCharacteristic
- func (cp *CodecParameters) Copy(dst *CodecParameters) error
- func (cp *CodecParameters) ExtraData() []byte
- func (cp *CodecParameters) FrameSize() int
- func (cp *CodecParameters) Free()
- func (cp *CodecParameters) FromCodecContext(cc *CodecContext) error
- func (cp *CodecParameters) Height() int
- func (cp *CodecParameters) Level() Level
- func (cp *CodecParameters) MediaType() MediaType
- func (cp *CodecParameters) PixelFormat() PixelFormat
- func (cp *CodecParameters) Profile() Profile
- func (cp *CodecParameters) SampleAspectRatio() Rational
- func (cp *CodecParameters) SampleFormat() SampleFormat
- func (cp *CodecParameters) SampleRate() int
- func (cp *CodecParameters) SetChannelLayout(l ChannelLayout)
- func (cp *CodecParameters) SetCodecID(i CodecID)
- func (cp *CodecParameters) SetCodecTag(t CodecTag)
- func (cp *CodecParameters) SetCodecType(t MediaType)
- func (cp *CodecParameters) SetColorRange(r ColorRange)
- func (cp *CodecParameters) SetColorSpace(s ColorSpace)
- func (cp *CodecParameters) SetExtraData(b []byte) error
- func (cp *CodecParameters) SetFrameSize(i int)
- func (cp *CodecParameters) SetHeight(h int)
- func (cp *CodecParameters) SetLevel(l Level)
- func (cp *CodecParameters) SetMediaType(t MediaType)
- func (cp *CodecParameters) SetPixelFormat(f PixelFormat)
- func (cp *CodecParameters) SetProfile(p Profile)
- func (cp *CodecParameters) SetSampleAspectRatio(r Rational)
- func (cp *CodecParameters) SetSampleFormat(f SampleFormat)
- func (cp *CodecParameters) SetSampleRate(r int)
- func (cp *CodecParameters) SetWidth(w int)
- func (cp *CodecParameters) SideData() *PacketSideData
- func (cp *CodecParameters) ToCodecContext(cc *CodecContext) error
- func (cp *CodecParameters) Width() int
- type CodecTag
- type ColorPrimaries
- type ColorRange
- type ColorSpace
- type ColorTransferCharacteristic
- type Dictionary
- func (d *Dictionary) Free()
- func (d *Dictionary) Get(key string, prev *DictionaryEntry, flags DictionaryFlags) *DictionaryEntry
- func (d *Dictionary) Pack() []byte
- func (d *Dictionary) ParseString(i, keyValSep, pairsSep string, flags DictionaryFlags) error
- func (d *Dictionary) Set(key, value string, flags DictionaryFlags) error
- func (d *Dictionary) Unpack(b []byte) error
- type DictionaryEntry
- type DictionaryFlag
- type DictionaryFlags
- type DisplayMatrix
- type Error
- type Filter
- type FilterArgs
- type FilterChain
- type FilterCommandFlag
- type FilterCommandFlags
- type FilterContext
- type FilterGraph
- func (g *FilterGraph) Class() *Class
- func (g *FilterGraph) Configure() error
- func (g *FilterGraph) Free()
- func (g *FilterGraph) NewBuffersinkFilterContext(f *Filter, name string, args FilterArgs) (*BuffersinkFilterContext, error)
- func (g *FilterGraph) NewBuffersrcFilterContext(f *Filter, name string, args FilterArgs) (*BuffersrcFilterContext, error)
- func (g *FilterGraph) NewFilterContext(f *Filter, name string, args FilterArgs) (*FilterContext, error)
- func (g *FilterGraph) Parse(content string, inputs, outputs *FilterInOut) error
- func (g *FilterGraph) ParseSegment(content string) (*FilterGraphSegment, error)
- func (g *FilterGraph) SendCommand(target, cmd, args string, f FilterCommandFlags) (response string, err error)
- func (g *FilterGraph) SetThreadCount(threadCount int)
- func (g *FilterGraph) SetThreadType(t ThreadType)
- func (g *FilterGraph) String() string
- func (g *FilterGraph) ThreadCount() int
- func (g *FilterGraph) ThreadType() ThreadType
- type FilterGraphSegment
- type FilterInOut
- type FilterPad
- type FilterParams
- type FormatContext
- func (fc *FormatContext) BitRate() int64
- func (fc *FormatContext) Class() *Class
- func (fc *FormatContext) CloseInput()
- func (fc *FormatContext) CtxFlags() FormatContextCtxFlags
- func (fc *FormatContext) Duration() int64
- func (fc *FormatContext) EventFlags() FormatEventFlags
- func (fc *FormatContext) FindStreamInfo(d *Dictionary) error
- func (fc *FormatContext) Flags() FormatContextFlags
- func (fc *FormatContext) Flush() error
- func (fc *FormatContext) Free()
- func (fc *FormatContext) GuessFrameRate(s *Stream, f *Frame) Rational
- func (fc *FormatContext) GuessSampleAspectRatio(s *Stream, f *Frame) Rational
- func (fc *FormatContext) IOFlags() IOContextFlags
- func (fc *FormatContext) InputFormat() *InputFormat
- func (fc *FormatContext) MaxAnalyzeDuration() int64
- func (fc *FormatContext) Metadata() *Dictionary
- func (fc *FormatContext) NbPrograms() int
- func (fc *FormatContext) NbStreams() int
- func (fc *FormatContext) NewProgram(id int) *Program
- func (fc *FormatContext) NewStream(c *Codec) *Stream
- func (fc *FormatContext) OpenInput(url string, fmt *InputFormat, d *Dictionary) error
- func (fc *FormatContext) OutputFormat() *OutputFormat
- func (fc *FormatContext) Pb() *IOContext
- func (fc *FormatContext) Programs() (ps []*Program)
- func (fc *FormatContext) ReadFrame(p *Packet) error
- func (fc *FormatContext) SDPCreate() (string, error)
- func (fc *FormatContext) SeekFrame(streamIndex int, timestamp int64, f SeekFlags) error
- func (fc *FormatContext) SetFlags(f FormatContextFlags)
- func (fc *FormatContext) SetInterruptCallback() IOInterrupter
- func (fc *FormatContext) SetMetadata(d *Dictionary)
- func (fc *FormatContext) SetPb(i *IOContext)
- func (fc *FormatContext) SetStrictStdCompliance(strictStdCompliance StrictStdCompliance)
- func (fc *FormatContext) StartTime() int64
- func (fc *FormatContext) Streams() (ss []*Stream)
- func (fc *FormatContext) StrictStdCompliance() StrictStdCompliance
- func (fc *FormatContext) WriteFrame(p *Packet) error
- func (fc *FormatContext) WriteHeader(d *Dictionary) error
- func (fc *FormatContext) WriteInterleavedFrame(p *Packet) error
- func (fc *FormatContext) WriteTrailer() error
- type FormatContextCtxFlag
- type FormatContextCtxFlags
- type FormatContextFlag
- type FormatContextFlags
- type FormatEventFlag
- type FormatEventFlags
- type Frame
- func (f *Frame) AllocBuffer(align int) error
- func (f *Frame) AllocImage(align int) error
- func (f *Frame) AllocSamples(align int) error
- func (f *Frame) ChannelLayout() ChannelLayout
- func (f *Frame) Clone() *Frame
- func (f *Frame) ColorRange() ColorRange
- func (f *Frame) ColorSpace() ColorSpace
- func (f *Frame) Data() *FrameData
- func (f *Frame) Free()
- func (f *Frame) Height() int
- func (f *Frame) ImageBufferSize(align int) (int, error)
- func (f *Frame) ImageCopyToBuffer(b []byte, align int) (int, error)
- func (f *Frame) ImageFillBlack() error
- func (f *Frame) IsWritable() bool
- func (f *Frame) KeyFrame() bool
- func (f *Frame) Linesize() [NumDataPointers]int
- func (f *Frame) MakeWritable() error
- func (f *Frame) MoveRef(src *Frame)
- func (f *Frame) NbSamples() int
- func (f *Frame) NewSideData(t FrameSideDataType, size uint64) *FrameSideData
- func (f *Frame) PictureType() PictureType
- func (f *Frame) PixelFormat() PixelFormat
- func (f *Frame) PktDts() int64
- func (f *Frame) Pts() int64
- func (f *Frame) Ref(src *Frame) error
- func (f *Frame) SampleAspectRatio() Rational
- func (f *Frame) SampleFormat() SampleFormat
- func (f *Frame) SampleRate() int
- func (f *Frame) SamplesBufferSize(align int) (int, error)
- func (f *Frame) SamplesCopyToBuffer(b []byte, align int) (int, error)
- func (f *Frame) SamplesFillSilence() error
- func (f *Frame) SetChannelLayout(l ChannelLayout)
- func (f *Frame) SetColorRange(r ColorRange)
- func (f *Frame) SetColorSpace(s ColorSpace)
- func (f *Frame) SetHeight(h int)
- func (f *Frame) SetKeyFrame(k bool)
- func (f *Frame) SetNbSamples(n int)
- func (f *Frame) SetPictureType(t PictureType)
- func (f *Frame) SetPixelFormat(pf PixelFormat)
- func (f *Frame) SetPts(i int64)
- func (f *Frame) SetSampleAspectRatio(r Rational)
- func (f *Frame) SetSampleFormat(sf SampleFormat)
- func (f *Frame) SetSampleRate(r int)
- func (f *Frame) SetWidth(w int)
- func (f *Frame) SideData(t FrameSideDataType) *FrameSideData
- func (f *Frame) TransferHardwareData(dst *Frame) error
- func (f *Frame) Unref()
- func (f *Frame) UnsafePointer() unsafe.Pointer
- func (f *Frame) Width() int
- type FrameData
- type FrameSideData
- type FrameSideDataType
- type HardwareDeviceContext
- type HardwareDeviceType
- type IOContext
- type IOContextFlag
- type IOContextFlags
- type IOContextReadFunc
- type IOContextSeekFunc
- type IOContextWriteFunc
- type IOFormatFlag
- type IOFormatFlags
- type IOInterrupter
- type InputFormat
- type Level
- type LogCallback
- type LogLevel
- type MediaType
- type OutputFormat
- type Packet
- func (p *Packet) AllocPayload(s int) error
- func (p *Packet) Clone() *Packet
- func (p *Packet) Data() []byte
- func (p *Packet) Dts() int64
- func (p *Packet) Duration() int64
- func (p *Packet) Flags() PacketFlags
- func (p *Packet) Free()
- func (p *Packet) FromData(data []byte) (err error)
- func (p *Packet) MoveRef(src *Packet)
- func (p *Packet) Pos() int64
- func (p *Packet) Pts() int64
- func (p *Packet) Ref(src *Packet) error
- func (p *Packet) RescaleTs(src, dst Rational)
- func (p *Packet) SetDts(v int64)
- func (p *Packet) SetDuration(d int64)
- func (p *Packet) SetFlags(f PacketFlags)
- func (p *Packet) SetPos(v int64)
- func (p *Packet) SetPts(v int64)
- func (p *Packet) SetSize(s int)
- func (p *Packet) SetStreamIndex(i int)
- func (p *Packet) SideData() *PacketSideData
- func (p *Packet) Size() int
- func (p *Packet) StreamIndex() int
- func (p *Packet) Unref()
- type PacketFlag
- type PacketFlags
- type PacketSideData
- type PacketSideDataType
- type PictureType
- type PixelFormat
- type Profile
- type Program
- type Rational
- type Rounding
- type SampleFormat
- type SeekFlag
- type SeekFlags
- type SoftwareScaleContext
- func (ssc *SoftwareScaleContext) Class() *Class
- func (ssc *SoftwareScaleContext) DestinationHeight() int
- func (ssc *SoftwareScaleContext) DestinationPixelFormat() PixelFormat
- func (ssc *SoftwareScaleContext) DestinationResolution() (width int, height int)
- func (ssc *SoftwareScaleContext) DestinationWidth() int
- func (ssc *SoftwareScaleContext) Flags() SoftwareScaleContextFlags
- func (ssc *SoftwareScaleContext) Free()
- func (ssc *SoftwareScaleContext) ScaleFrame(src, dst *Frame) error
- func (ssc *SoftwareScaleContext) SetDestinationHeight(i int) error
- func (ssc *SoftwareScaleContext) SetDestinationPixelFormat(p PixelFormat) error
- func (ssc *SoftwareScaleContext) SetDestinationResolution(w int, h int) error
- func (ssc *SoftwareScaleContext) SetDestinationWidth(i int) error
- func (ssc *SoftwareScaleContext) SetFlags(swscf SoftwareScaleContextFlags) error
- func (ssc *SoftwareScaleContext) SetSourceHeight(i int) error
- func (ssc *SoftwareScaleContext) SetSourcePixelFormat(p PixelFormat) error
- func (ssc *SoftwareScaleContext) SetSourceResolution(w int, h int) error
- func (ssc *SoftwareScaleContext) SetSourceWidth(i int) error
- func (ssc *SoftwareScaleContext) SourceHeight() int
- func (ssc *SoftwareScaleContext) SourcePixelFormat() PixelFormat
- func (ssc *SoftwareScaleContext) SourceResolution() (int, int)
- func (ssc *SoftwareScaleContext) SourceWidth() int
- type SoftwareScaleContextFlag
- type SoftwareScaleContextFlags
- type Stream
- func (s *Stream) AvgFrameRate() Rational
- func (s *Stream) CodecParameters() *CodecParameters
- func (s *Stream) Duration() int64
- func (s *Stream) EventFlags() StreamEventFlags
- func (s *Stream) ID() int
- func (s *Stream) Index() int
- func (s *Stream) Metadata() *Dictionary
- func (s *Stream) NbFrames() int64
- func (s *Stream) RFrameRate() Rational
- func (s *Stream) SampleAspectRatio() Rational
- func (s *Stream) SetAvgFrameRate(r Rational)
- func (s *Stream) SetID(i int)
- func (s *Stream) SetIndex(i int)
- func (s *Stream) SetRFrameRate(r Rational)
- func (s *Stream) SetSampleAspectRatio(r Rational)
- func (s *Stream) SetTimeBase(r Rational)
- func (s *Stream) StartTime() int64
- func (s *Stream) TimeBase() Rational
- type StreamEventFlag
- type StreamEventFlags
- type StrictStdCompliance
- type ThreadType
- type UnknownClasser
Constants ¶
const ( BuffersinkFlagPeek = BuffersinkFlag(C.AV_BUFFERSINK_FLAG_PEEK) BuffersinkFlagNoRequest = BuffersinkFlag(C.AV_BUFFERSINK_FLAG_NO_REQUEST) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersink.h#L89
const ( BuffersrcFlagNoCheckFormat = BuffersrcFlag(C.AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT) BuffersrcFlagPush = BuffersrcFlag(C.AV_BUFFERSRC_FLAG_PUSH) BuffersrcFlagKeepRef = BuffersrcFlag(C.AV_BUFFERSRC_FLAG_KEEP_REF) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersrc.h#L36
const ( ChromaLocationUnspecified = ChromaLocation(C.AVCHROMA_LOC_UNSPECIFIED) ChromaLocationLeft = ChromaLocation(C.AVCHROMA_LOC_LEFT) ChromaLocationCenter = ChromaLocation(C.AVCHROMA_LOC_CENTER) ChromaLocationTopleft = ChromaLocation(C.AVCHROMA_LOC_TOPLEFT) ChromaLocationTop = ChromaLocation(C.AVCHROMA_LOC_TOP) ChromaLocationBottomleft = ChromaLocation(C.AVCHROMA_LOC_BOTTOMLEFT) ChromaLocationBottom = ChromaLocation(C.AVCHROMA_LOC_BOTTOM) ChromaLocationNb = ChromaLocation(C.AVCHROMA_LOC_NB) )
const ( ClassCategoryBitstreamFilter = ClassCategory(C.AV_CLASS_CATEGORY_BITSTREAM_FILTER) ClassCategoryDecoder = ClassCategory(C.AV_CLASS_CATEGORY_DECODER) ClassCategoryDemuxer = ClassCategory(C.AV_CLASS_CATEGORY_DEMUXER) ClassCategoryDeviceAudioInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT) ClassCategoryDeviceAudioOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT) ClassCategoryDeviceInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_INPUT) ClassCategoryDeviceOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_OUTPUT) ClassCategoryDeviceVideoInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT) ClassCategoryDeviceVideoOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT) ClassCategoryEncoder = ClassCategory(C.AV_CLASS_CATEGORY_ENCODER) ClassCategoryFilter = ClassCategory(C.AV_CLASS_CATEGORY_FILTER) ClassCategoryInput = ClassCategory(C.AV_CLASS_CATEGORY_INPUT) ClassCategoryMuxer = ClassCategory(C.AV_CLASS_CATEGORY_MUXER) ClassCategoryNa = ClassCategory(C.AV_CLASS_CATEGORY_NA) ClassCategoryNb = ClassCategory(C.AV_CLASS_CATEGORY_NB) ClassCategoryOutput = ClassCategory(C.AV_CLASS_CATEGORY_OUTPUT) ClassCategorySwresampler = ClassCategory(C.AV_CLASS_CATEGORY_SWRESAMPLER) ClassCategorySwscaler = ClassCategory(C.AV_CLASS_CATEGORY_SWSCALER) )
const ( CodecContextFlagUnaligned = CodecContextFlag(C.AV_CODEC_FLAG_UNALIGNED) CodecContextFlagQscale = CodecContextFlag(C.AV_CODEC_FLAG_QSCALE) CodecContextFlag4Mv = CodecContextFlag(C.AV_CODEC_FLAG_4MV) CodecContextFlagOutputCorrupt = CodecContextFlag(C.AV_CODEC_FLAG_OUTPUT_CORRUPT) CodecContextFlagQpel = CodecContextFlag(C.AV_CODEC_FLAG_QPEL) CodecContextFlagPass1 = CodecContextFlag(C.AV_CODEC_FLAG_PASS1) CodecContextFlagPass2 = CodecContextFlag(C.AV_CODEC_FLAG_PASS2) CodecContextFlagLoopFilter = CodecContextFlag(C.AV_CODEC_FLAG_LOOP_FILTER) CodecContextFlagGray = CodecContextFlag(C.AV_CODEC_FLAG_GRAY) CodecContextFlagPsnr = CodecContextFlag(C.AV_CODEC_FLAG_PSNR) CodecContextFlagInterlacedDct = CodecContextFlag(C.AV_CODEC_FLAG_INTERLACED_DCT) CodecContextFlagLowDelay = CodecContextFlag(C.AV_CODEC_FLAG_LOW_DELAY) CodecContextFlagGlobalHeader = CodecContextFlag(C.AV_CODEC_FLAG_GLOBAL_HEADER) CodecContextFlagBitexact = CodecContextFlag(C.AV_CODEC_FLAG_BITEXACT) CodecContextFlagAcPred = CodecContextFlag(C.AV_CODEC_FLAG_AC_PRED) CodecContextFlagInterlacedMe = CodecContextFlag(C.AV_CODEC_FLAG_INTERLACED_ME) CodecContextFlagClosedGop = CodecContextFlag(C.AV_CODEC_FLAG_CLOSED_GOP) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L206
const ( CodecFlag2Fast = CodecContextFlag2(C.AV_CODEC_FLAG2_FAST) CodecFlag2NoOutput = CodecContextFlag2(C.AV_CODEC_FLAG2_NO_OUTPUT) CodecFlag2LocalHeader = CodecContextFlag2(C.AV_CODEC_FLAG2_LOCAL_HEADER) CodecFlag2Chunks = CodecContextFlag2(C.AV_CODEC_FLAG2_CHUNKS) CodecFlag2IgnoreCrop = CodecContextFlag2(C.AV_CODEC_FLAG2_IGNORE_CROP) CodecFlag2ShowAll = CodecContextFlag2(C.AV_CODEC_FLAG2_SHOW_ALL) CodecFlag2ExportMvs = CodecContextFlag2(C.AV_CODEC_FLAG2_EXPORT_MVS) CodecFlag2SkipManual = CodecContextFlag2(C.AV_CODEC_FLAG2_SKIP_MANUAL) CodecFlag2RoFlushNoop = CodecContextFlag2(C.AV_CODEC_FLAG2_RO_FLUSH_NOOP) CodecFlag2IccProfiles = CodecContextFlag2(C.AV_CODEC_FLAG2_ICC_PROFILES) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L287
const ( CodecHardwareConfigMethodFlagAdHoc = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_AD_HOC) CodecHardwareConfigMethodFlagHwDeviceCtx = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX) CodecHardwareConfigMethodFlagHwFramesCtx = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX) CodecHardwareConfigMethodFlagInternal = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_INTERNAL) )
const ( CodecID012V = CodecID(C.AV_CODEC_ID_012V) CodecID4Xm = CodecID(C.AV_CODEC_ID_4XM) CodecID8Bps = CodecID(C.AV_CODEC_ID_8BPS) CodecID8SvxExp = CodecID(C.AV_CODEC_ID_8SVX_EXP) CodecID8SvxFib = CodecID(C.AV_CODEC_ID_8SVX_FIB) CodecIDA64Multi = CodecID(C.AV_CODEC_ID_A64_MULTI) CodecIDA64Multi5 = CodecID(C.AV_CODEC_ID_A64_MULTI5) CodecIDAac = CodecID(C.AV_CODEC_ID_AAC) CodecIDAacLatm = CodecID(C.AV_CODEC_ID_AAC_LATM) CodecIDAasc = CodecID(C.AV_CODEC_ID_AASC) CodecIDAc3 = CodecID(C.AV_CODEC_ID_AC3) CodecIDAdpcm4Xm = CodecID(C.AV_CODEC_ID_ADPCM_4XM) CodecIDAdpcmAdx = CodecID(C.AV_CODEC_ID_ADPCM_ADX) CodecIDAdpcmAfc = CodecID(C.AV_CODEC_ID_ADPCM_AFC) CodecIDAdpcmCt = CodecID(C.AV_CODEC_ID_ADPCM_CT) CodecIDAdpcmDtk = CodecID(C.AV_CODEC_ID_ADPCM_DTK) CodecIDAdpcmEa = CodecID(C.AV_CODEC_ID_ADPCM_EA) CodecIDAdpcmEaMaxisXa = CodecID(C.AV_CODEC_ID_ADPCM_EA_MAXIS_XA) CodecIDAdpcmEaR1 = CodecID(C.AV_CODEC_ID_ADPCM_EA_R1) CodecIDAdpcmEaR2 = CodecID(C.AV_CODEC_ID_ADPCM_EA_R2) CodecIDAdpcmEaR3 = CodecID(C.AV_CODEC_ID_ADPCM_EA_R3) CodecIDAdpcmEaXas = CodecID(C.AV_CODEC_ID_ADPCM_EA_XAS) CodecIDAdpcmG722 = CodecID(C.AV_CODEC_ID_ADPCM_G722) CodecIDAdpcmG726 = CodecID(C.AV_CODEC_ID_ADPCM_G726) CodecIDAdpcmG726Le = CodecID(C.AV_CODEC_ID_ADPCM_G726LE) CodecIDAdpcmImaAmv = CodecID(C.AV_CODEC_ID_ADPCM_IMA_AMV) CodecIDAdpcmImaApc = CodecID(C.AV_CODEC_ID_ADPCM_IMA_APC) CodecIDAdpcmImaDk3 = CodecID(C.AV_CODEC_ID_ADPCM_IMA_DK3) CodecIDAdpcmImaDk4 = CodecID(C.AV_CODEC_ID_ADPCM_IMA_DK4) CodecIDAdpcmImaEaEacs = CodecID(C.AV_CODEC_ID_ADPCM_IMA_EA_EACS) CodecIDAdpcmImaEaSead = CodecID(C.AV_CODEC_ID_ADPCM_IMA_EA_SEAD) CodecIDAdpcmImaIss = CodecID(C.AV_CODEC_ID_ADPCM_IMA_ISS) CodecIDAdpcmImaOki = CodecID(C.AV_CODEC_ID_ADPCM_IMA_OKI) CodecIDAdpcmImaQt = CodecID(C.AV_CODEC_ID_ADPCM_IMA_QT) CodecIDAdpcmImaRad = CodecID(C.AV_CODEC_ID_ADPCM_IMA_RAD) CodecIDAdpcmImaSmjpeg = CodecID(C.AV_CODEC_ID_ADPCM_IMA_SMJPEG) CodecIDAdpcmImaWav = CodecID(C.AV_CODEC_ID_ADPCM_IMA_WAV) CodecIDAdpcmImaWs = CodecID(C.AV_CODEC_ID_ADPCM_IMA_WS) CodecIDAdpcmMs = CodecID(C.AV_CODEC_ID_ADPCM_MS) CodecIDAdpcmSbpro2 = CodecID(C.AV_CODEC_ID_ADPCM_SBPRO_2) CodecIDAdpcmSbpro3 = CodecID(C.AV_CODEC_ID_ADPCM_SBPRO_3) CodecIDAdpcmSbpro4 = CodecID(C.AV_CODEC_ID_ADPCM_SBPRO_4) CodecIDAdpcmSwf = CodecID(C.AV_CODEC_ID_ADPCM_SWF) CodecIDAdpcmThp = CodecID(C.AV_CODEC_ID_ADPCM_THP) CodecIDAdpcmVima = CodecID(C.AV_CODEC_ID_ADPCM_VIMA) CodecIDAdpcmVimaDeprecated = CodecID(C.AV_CODEC_ID_ADPCM_VIMA) CodecIDAdpcmXa = CodecID(C.AV_CODEC_ID_ADPCM_XA) CodecIDAdpcmYamaha = CodecID(C.AV_CODEC_ID_ADPCM_YAMAHA) CodecIDAic = CodecID(C.AV_CODEC_ID_AIC) CodecIDAlac = CodecID(C.AV_CODEC_ID_ALAC) CodecIDAliasPix = CodecID(C.AV_CODEC_ID_ALIAS_PIX) CodecIDAmrNb = CodecID(C.AV_CODEC_ID_AMR_NB) CodecIDAmrWb = CodecID(C.AV_CODEC_ID_AMR_WB) CodecIDAmv = CodecID(C.AV_CODEC_ID_AMV) CodecIDAnm = CodecID(C.AV_CODEC_ID_ANM) CodecIDAnsi = CodecID(C.AV_CODEC_ID_ANSI) CodecIDApe = CodecID(C.AV_CODEC_ID_APE) CodecIDAss = CodecID(C.AV_CODEC_ID_ASS) CodecIDAsv1 = CodecID(C.AV_CODEC_ID_ASV1) CodecIDAsv2 = CodecID(C.AV_CODEC_ID_ASV2) CodecIDAtrac1 = CodecID(C.AV_CODEC_ID_ATRAC1) CodecIDAtrac3 = CodecID(C.AV_CODEC_ID_ATRAC3) CodecIDAtrac3P = CodecID(C.AV_CODEC_ID_ATRAC3P) CodecIDAura = CodecID(C.AV_CODEC_ID_AURA) CodecIDAura2 = CodecID(C.AV_CODEC_ID_AURA2) CodecIDAvrn = CodecID(C.AV_CODEC_ID_AVRN) CodecIDAvrp = CodecID(C.AV_CODEC_ID_AVRP) CodecIDAvs = CodecID(C.AV_CODEC_ID_AVS) CodecIDAvui = CodecID(C.AV_CODEC_ID_AVUI) CodecIDBethsoftvid = CodecID(C.AV_CODEC_ID_BETHSOFTVID) CodecIDBfi = CodecID(C.AV_CODEC_ID_BFI) CodecIDBinData = CodecID(C.AV_CODEC_ID_BIN_DATA) CodecIDBinkaudioDct = CodecID(C.AV_CODEC_ID_BINKAUDIO_DCT) CodecIDBinkaudioRdft = CodecID(C.AV_CODEC_ID_BINKAUDIO_RDFT) CodecIDBinkvideo = CodecID(C.AV_CODEC_ID_BINKVIDEO) CodecIDBCodecIDext = CodecID(C.AV_CODEC_ID_BINTEXT) CodecIDBmp = CodecID(C.AV_CODEC_ID_BMP) CodecIDBmvAudio = CodecID(C.AV_CODEC_ID_BMV_AUDIO) CodecIDBmvVideo = CodecID(C.AV_CODEC_ID_BMV_VIDEO) CodecIDBrenderPix = CodecID(C.AV_CODEC_ID_BRENDER_PIX) CodecIDBrenderPixDeprecated = CodecID(C.AV_CODEC_ID_BRENDER_PIX) CodecIDC93 = CodecID(C.AV_CODEC_ID_C93) CodecIDCavs = CodecID(C.AV_CODEC_ID_CAVS) CodecIDCdgraphics = CodecID(C.AV_CODEC_ID_CDGRAPHICS) CodecIDCdxl = CodecID(C.AV_CODEC_ID_CDXL) CodecIDCelt = CodecID(C.AV_CODEC_ID_CELT) CodecIDCinepak = CodecID(C.AV_CODEC_ID_CINEPAK) CodecIDCljr = CodecID(C.AV_CODEC_ID_CLJR) CodecIDCllc = CodecID(C.AV_CODEC_ID_CLLC) CodecIDCmv = CodecID(C.AV_CODEC_ID_CMV) CodecIDComfortNoise = CodecID(C.AV_CODEC_ID_COMFORT_NOISE) CodecIDCook = CodecID(C.AV_CODEC_ID_COOK) CodecIDCpia = CodecID(C.AV_CODEC_ID_CPIA) CodecIDCscd = CodecID(C.AV_CODEC_ID_CSCD) CodecIDCyuv = CodecID(C.AV_CODEC_ID_CYUV) CodecIDDfa = CodecID(C.AV_CODEC_ID_DFA) CodecIDDirac = CodecID(C.AV_CODEC_ID_DIRAC) CodecIDDnxhd = CodecID(C.AV_CODEC_ID_DNXHD) CodecIDDpx = CodecID(C.AV_CODEC_ID_DPX) CodecIDDsdLsbf = CodecID(C.AV_CODEC_ID_DSD_LSBF) CodecIDDsdLsbfPlanar = CodecID(C.AV_CODEC_ID_DSD_LSBF_PLANAR) CodecIDDsdMsbf = CodecID(C.AV_CODEC_ID_DSD_MSBF) CodecIDDsdMsbfPlanar = CodecID(C.AV_CODEC_ID_DSD_MSBF_PLANAR) CodecIDDsicinaudio = CodecID(C.AV_CODEC_ID_DSICINAUDIO) CodecIDDsicinvideo = CodecID(C.AV_CODEC_ID_DSICINVIDEO) CodecIDDts = CodecID(C.AV_CODEC_ID_DTS) CodecIDDvaudio = CodecID(C.AV_CODEC_ID_DVAUDIO) CodecIDDvbSubtitle = CodecID(C.AV_CODEC_ID_DVB_SUBTITLE) CodecIDDvbTeletext = CodecID(C.AV_CODEC_ID_DVB_TELETEXT) CodecIDDvdSubtitle = CodecID(C.AV_CODEC_ID_DVD_SUBTITLE) CodecIDDvvideo = CodecID(C.AV_CODEC_ID_DVVIDEO) CodecIDDxa = CodecID(C.AV_CODEC_ID_DXA) CodecIDDxtory = CodecID(C.AV_CODEC_ID_DXTORY) CodecIDEac3 = CodecID(C.AV_CODEC_ID_EAC3) CodecIDEia608 = CodecID(C.AV_CODEC_ID_EIA_608) CodecIDEscape124 = CodecID(C.AV_CODEC_ID_ESCAPE124) CodecIDEscape130 = CodecID(C.AV_CODEC_ID_ESCAPE130) CodecIDEscape130Deprecated = CodecID(C.AV_CODEC_ID_ESCAPE130) CodecIDEvrc = CodecID(C.AV_CODEC_ID_EVRC) CodecIDExr = CodecID(C.AV_CODEC_ID_EXR) CodecIDExrDeprecated = CodecID(C.AV_CODEC_ID_EXR) CodecIDFfmetadata = CodecID(C.AV_CODEC_ID_FFMETADATA) CodecIDFfv1 = CodecID(C.AV_CODEC_ID_FFV1) CodecIDFfvhuff = CodecID(C.AV_CODEC_ID_FFVHUFF) CodecIDFfwavesynth = CodecID(C.AV_CODEC_ID_FFWAVESYNTH) CodecIDFic = CodecID(C.AV_CODEC_ID_FIC) CodecIDFirstAudio = CodecID(C.AV_CODEC_ID_FIRST_AUDIO) CodecIDFirstSubtitle = CodecID(C.AV_CODEC_ID_FIRST_SUBTITLE) CodecIDFirstUnknown = CodecID(C.AV_CODEC_ID_FIRST_UNKNOWN) CodecIDFlac = CodecID(C.AV_CODEC_ID_FLAC) CodecIDFlashsv = CodecID(C.AV_CODEC_ID_FLASHSV) CodecIDFlashsv2 = CodecID(C.AV_CODEC_ID_FLASHSV2) CodecIDFlic = CodecID(C.AV_CODEC_ID_FLIC) CodecIDFlv1 = CodecID(C.AV_CODEC_ID_FLV1) CodecIDFraps = CodecID(C.AV_CODEC_ID_FRAPS) CodecIDFrwu = CodecID(C.AV_CODEC_ID_FRWU) CodecIDG2M = CodecID(C.AV_CODEC_ID_G2M) CodecIDG2MDeprecated = CodecID(C.AV_CODEC_ID_G2M) CodecIDG7231 = CodecID(C.AV_CODEC_ID_G723_1) CodecIDG729 = CodecID(C.AV_CODEC_ID_G729) CodecIDGif = CodecID(C.AV_CODEC_ID_GIF) CodecIDGsm = CodecID(C.AV_CODEC_ID_GSM) CodecIDGsmMs = CodecID(C.AV_CODEC_ID_GSM_MS) CodecIDH261 = CodecID(C.AV_CODEC_ID_H261) CodecIDH263 = CodecID(C.AV_CODEC_ID_H263) CodecIDH263I = CodecID(C.AV_CODEC_ID_H263I) CodecIDH263P = CodecID(C.AV_CODEC_ID_H263P) CodecIDH264 = CodecID(C.AV_CODEC_ID_H264) CodecIDH265 = CodecID(C.AV_CODEC_ID_H265) CodecIDHdmvPgsSubtitle = CodecID(C.AV_CODEC_ID_HDMV_PGS_SUBTITLE) CodecIDHevc = CodecID(C.AV_CODEC_ID_HEVC) CodecIDHevcDeprecated = CodecID(C.AV_CODEC_ID_HEVC) CodecIDHnm4Video = CodecID(C.AV_CODEC_ID_HNM4_VIDEO) CodecIDHuffyuv = CodecID(C.AV_CODEC_ID_HUFFYUV) CodecIDIac = CodecID(C.AV_CODEC_ID_IAC) CodecIDIdcin = CodecID(C.AV_CODEC_ID_IDCIN) CodecIDIdf = CodecID(C.AV_CODEC_ID_IDF) CodecIDIffByterun1 = CodecID(C.AV_CODEC_ID_IFF_BYTERUN1) CodecIDIffIlbm = CodecID(C.AV_CODEC_ID_IFF_ILBM) CodecIDIlbc = CodecID(C.AV_CODEC_ID_ILBC) CodecIDImc = CodecID(C.AV_CODEC_ID_IMC) CodecIDIndeo2 = CodecID(C.AV_CODEC_ID_INDEO2) CodecIDIndeo3 = CodecID(C.AV_CODEC_ID_INDEO3) CodecIDIndeo4 = CodecID(C.AV_CODEC_ID_INDEO4) CodecIDIndeo5 = CodecID(C.AV_CODEC_ID_INDEO5) CodecIDInterplayDpcm = CodecID(C.AV_CODEC_ID_INTERPLAY_DPCM) CodecIDInterplayVideo = CodecID(C.AV_CODEC_ID_INTERPLAY_VIDEO) CodecIDJacosub = CodecID(C.AV_CODEC_ID_JACOSUB) CodecIDJpeg2000 = CodecID(C.AV_CODEC_ID_JPEG2000) CodecIDJpegls = CodecID(C.AV_CODEC_ID_JPEGLS) CodecIDJv = CodecID(C.AV_CODEC_ID_JV) CodecIDKgv1 = CodecID(C.AV_CODEC_ID_KGV1) CodecIDKmvc = CodecID(C.AV_CODEC_ID_KMVC) CodecIDLagarith = CodecID(C.AV_CODEC_ID_LAGARITH) CodecIDLjpeg = CodecID(C.AV_CODEC_ID_LJPEG) CodecIDLoco = CodecID(C.AV_CODEC_ID_LOCO) CodecIDMace3 = CodecID(C.AV_CODEC_ID_MACE3) CodecIDMace6 = CodecID(C.AV_CODEC_ID_MACE6) CodecIDMad = CodecID(C.AV_CODEC_ID_MAD) CodecIDMdec = CodecID(C.AV_CODEC_ID_MDEC) CodecIDMetasound = CodecID(C.AV_CODEC_ID_METASOUND) CodecIDMicrodvd = CodecID(C.AV_CODEC_ID_MICRODVD) CodecIDMimic = CodecID(C.AV_CODEC_ID_MIMIC) CodecIDMjpeg = CodecID(C.AV_CODEC_ID_MJPEG) CodecIDMjpegb = CodecID(C.AV_CODEC_ID_MJPEGB) CodecIDMlp = CodecID(C.AV_CODEC_ID_MLP) CodecIDMmvideo = CodecID(C.AV_CODEC_ID_MMVIDEO) CodecIDMotionpixels = CodecID(C.AV_CODEC_ID_MOTIONPIXELS) CodecIDMovText = CodecID(C.AV_CODEC_ID_MOV_TEXT) CodecIDMp1 = CodecID(C.AV_CODEC_ID_MP1) CodecIDMp2 = CodecID(C.AV_CODEC_ID_MP2) CodecIDMp3 = CodecID(C.AV_CODEC_ID_MP3) CodecIDMp3Adu = CodecID(C.AV_CODEC_ID_MP3ADU) CodecIDMp3On4 = CodecID(C.AV_CODEC_ID_MP3ON4) CodecIDMp4Als = CodecID(C.AV_CODEC_ID_MP4ALS) CodecIDMpeg1Video = CodecID(C.AV_CODEC_ID_MPEG1VIDEO) CodecIDMpeg2Ts = CodecID(C.AV_CODEC_ID_MPEG2TS) CodecIDMpeg2Video = CodecID(C.AV_CODEC_ID_MPEG2VIDEO) CodecIDMpeg4 = CodecID(C.AV_CODEC_ID_MPEG4) CodecIDMpeg4Systems = CodecID(C.AV_CODEC_ID_MPEG4SYSTEMS) CodecIDMpl2 = CodecID(C.AV_CODEC_ID_MPL2) CodecIDMsa1 = CodecID(C.AV_CODEC_ID_MSA1) CodecIDMsmpeg4V1 = CodecID(C.AV_CODEC_ID_MSMPEG4V1) CodecIDMsmpeg4V2 = CodecID(C.AV_CODEC_ID_MSMPEG4V2) CodecIDMsmpeg4V3 = CodecID(C.AV_CODEC_ID_MSMPEG4V3) CodecIDMsrle = CodecID(C.AV_CODEC_ID_MSRLE) CodecIDMss1 = CodecID(C.AV_CODEC_ID_MSS1) CodecIDMss2 = CodecID(C.AV_CODEC_ID_MSS2) CodecIDMsvideo1 = CodecID(C.AV_CODEC_ID_MSVIDEO1) CodecIDMszh = CodecID(C.AV_CODEC_ID_MSZH) CodecIDMts2 = CodecID(C.AV_CODEC_ID_MTS2) CodecIDMusepack7 = CodecID(C.AV_CODEC_ID_MUSEPACK7) CodecIDMusepack8 = CodecID(C.AV_CODEC_ID_MUSEPACK8) CodecIDMvc1 = CodecID(C.AV_CODEC_ID_MVC1) CodecIDMvc1Deprecated = CodecID(C.AV_CODEC_ID_MVC1) CodecIDMvc2 = CodecID(C.AV_CODEC_ID_MVC2) CodecIDMvc2Deprecated = CodecID(C.AV_CODEC_ID_MVC2) CodecIDMxpeg = CodecID(C.AV_CODEC_ID_MXPEG) CodecIDNellymoser = CodecID(C.AV_CODEC_ID_NELLYMOSER) CodecIDNone = CodecID(C.AV_CODEC_ID_NONE) CodecIDNuv = CodecID(C.AV_CODEC_ID_NUV) CodecIDOn2Avc = CodecID(C.AV_CODEC_ID_ON2AVC) CodecIDOpus = CodecID(C.AV_CODEC_ID_OPUS) CodecIDOpusDeprecated = CodecID(C.AV_CODEC_ID_OPUS) CodecIDOtf = CodecID(C.AV_CODEC_ID_OTF) CodecIDPafAudio = CodecID(C.AV_CODEC_ID_PAF_AUDIO) CodecIDPafAudioDeprecated = CodecID(C.AV_CODEC_ID_PAF_AUDIO) CodecIDPafVideo = CodecID(C.AV_CODEC_ID_PAF_VIDEO) CodecIDPafVideoDeprecated = CodecID(C.AV_CODEC_ID_PAF_VIDEO) CodecIDPam = CodecID(C.AV_CODEC_ID_PAM) CodecIDPbm = CodecID(C.AV_CODEC_ID_PBM) CodecIDPcmAlaw = CodecID(C.AV_CODEC_ID_PCM_ALAW) CodecIDPcmBluray = CodecID(C.AV_CODEC_ID_PCM_BLURAY) CodecIDPcmDvd = CodecID(C.AV_CODEC_ID_PCM_DVD) CodecIDPcmF32Be = CodecID(C.AV_CODEC_ID_PCM_F32BE) CodecIDPcmF32Le = CodecID(C.AV_CODEC_ID_PCM_F32LE) CodecIDPcmF64Be = CodecID(C.AV_CODEC_ID_PCM_F64BE) CodecIDPcmF64Le = CodecID(C.AV_CODEC_ID_PCM_F64LE) CodecIDPcmLxf = CodecID(C.AV_CODEC_ID_PCM_LXF) CodecIDPcmMulaw = CodecID(C.AV_CODEC_ID_PCM_MULAW) CodecIDPcmS16Be = CodecID(C.AV_CODEC_ID_PCM_S16BE) CodecIDPcmS16BePlanar = CodecID(C.AV_CODEC_ID_PCM_S16BE_PLANAR) CodecIDPcmS16Le = CodecID(C.AV_CODEC_ID_PCM_S16LE) CodecIDPcmS16LePlanar = CodecID(C.AV_CODEC_ID_PCM_S16LE_PLANAR) CodecIDPcmS24Be = CodecID(C.AV_CODEC_ID_PCM_S24BE) CodecIDPcmS24Daud = CodecID(C.AV_CODEC_ID_PCM_S24DAUD) CodecIDPcmS24Le = CodecID(C.AV_CODEC_ID_PCM_S24LE) CodecIDPcmS24LePlanar = CodecID(C.AV_CODEC_ID_PCM_S24LE_PLANAR) CodecIDPcmS24LePlanarDeprecated = CodecID(C.AV_CODEC_ID_PCM_S24LE_PLANAR) CodecIDPcmS32Be = CodecID(C.AV_CODEC_ID_PCM_S32BE) CodecIDPcmS32Le = CodecID(C.AV_CODEC_ID_PCM_S32LE) CodecIDPcmS32LePlanar = CodecID(C.AV_CODEC_ID_PCM_S32LE_PLANAR) CodecIDPcmS32LePlanarDeprecated = CodecID(C.AV_CODEC_ID_PCM_S32LE_PLANAR) CodecIDPcmS8 = CodecID(C.AV_CODEC_ID_PCM_S8) CodecIDPcmS8Planar = CodecID(C.AV_CODEC_ID_PCM_S8_PLANAR) CodecIDPcmU16Be = CodecID(C.AV_CODEC_ID_PCM_U16BE) CodecIDPcmU16Le = CodecID(C.AV_CODEC_ID_PCM_U16LE) CodecIDPcmU24Be = CodecID(C.AV_CODEC_ID_PCM_U24BE) CodecIDPcmU24Le = CodecID(C.AV_CODEC_ID_PCM_U24LE) CodecIDPcmU32Be = CodecID(C.AV_CODEC_ID_PCM_U32BE) CodecIDPcmU32Le = CodecID(C.AV_CODEC_ID_PCM_U32LE) CodecIDPcmU8 = CodecID(C.AV_CODEC_ID_PCM_U8) CodecIDPcmZork = CodecID(C.AV_CODEC_ID_PCM_ZORK) CodecIDPcx = CodecID(C.AV_CODEC_ID_PCX) CodecIDPgm = CodecID(C.AV_CODEC_ID_PGM) CodecIDPgmyuv = CodecID(C.AV_CODEC_ID_PGMYUV) CodecIDPictor = CodecID(C.AV_CODEC_ID_PICTOR) CodecIDPjs = CodecID(C.AV_CODEC_ID_PJS) CodecIDPng = CodecID(C.AV_CODEC_ID_PNG) CodecIDPpm = CodecID(C.AV_CODEC_ID_PPM) CodecIDProbe = CodecID(C.AV_CODEC_ID_PROBE) CodecIDProres = CodecID(C.AV_CODEC_ID_PRORES) CodecIDPtx = CodecID(C.AV_CODEC_ID_PTX) CodecIDQcelp = CodecID(C.AV_CODEC_ID_QCELP) CodecIDQdm2 = CodecID(C.AV_CODEC_ID_QDM2) CodecIDQdmc = CodecID(C.AV_CODEC_ID_QDMC) CodecIDQdraw = CodecID(C.AV_CODEC_ID_QDRAW) CodecIDQpeg = CodecID(C.AV_CODEC_ID_QPEG) CodecIDQtrle = CodecID(C.AV_CODEC_ID_QTRLE) CodecIDR10K = CodecID(C.AV_CODEC_ID_R10K) CodecIDR210 = CodecID(C.AV_CODEC_ID_R210) CodecIDRa144 = CodecID(C.AV_CODEC_ID_RA_144) CodecIDRa288 = CodecID(C.AV_CODEC_ID_RA_288) CodecIDRalf = CodecID(C.AV_CODEC_ID_RALF) CodecIDRawvideo = CodecID(C.AV_CODEC_ID_RAWVIDEO) CodecIDRealtext = CodecID(C.AV_CODEC_ID_REALTEXT) CodecIDRl2 = CodecID(C.AV_CODEC_ID_RL2) CodecIDRoq = CodecID(C.AV_CODEC_ID_ROQ) CodecIDRoqDpcm = CodecID(C.AV_CODEC_ID_ROQ_DPCM) CodecIDRpza = CodecID(C.AV_CODEC_ID_RPZA) CodecIDRv10 = CodecID(C.AV_CODEC_ID_RV10) CodecIDRv20 = CodecID(C.AV_CODEC_ID_RV20) CodecIDRv30 = CodecID(C.AV_CODEC_ID_RV30) CodecIDRv40 = CodecID(C.AV_CODEC_ID_RV40) CodecIDS302M = CodecID(C.AV_CODEC_ID_S302M) CodecIDSami = CodecID(C.AV_CODEC_ID_SAMI) CodecIDSanm = CodecID(C.AV_CODEC_ID_SANM) CodecIDSanmDeprecated = CodecID(C.AV_CODEC_ID_SANM) CodecIDSgi = CodecID(C.AV_CODEC_ID_SGI) CodecIDSgirle = CodecID(C.AV_CODEC_ID_SGIRLE) CodecIDSgirleDeprecated = CodecID(C.AV_CODEC_ID_SGIRLE) CodecIDShorten = CodecID(C.AV_CODEC_ID_SHORTEN) CodecIDSipr = CodecID(C.AV_CODEC_ID_SIPR) CodecIDSmackaudio = CodecID(C.AV_CODEC_ID_SMACKAUDIO) CodecIDSmackvideo = CodecID(C.AV_CODEC_ID_SMACKVIDEO) CodecIDSmc = CodecID(C.AV_CODEC_ID_SMC) CodecIDSmpteKlv = CodecID(C.AV_CODEC_ID_SMPTE_KLV) CodecIDSmv = CodecID(C.AV_CODEC_ID_SMV) CodecIDSmvjpeg = CodecID(C.AV_CODEC_ID_SMVJPEG) CodecIDSnow = CodecID(C.AV_CODEC_ID_SNOW) CodecIDSolDpcm = CodecID(C.AV_CODEC_ID_SOL_DPCM) CodecIDSonic = CodecID(C.AV_CODEC_ID_SONIC) CodecIDSonicLs = CodecID(C.AV_CODEC_ID_SONIC_LS) CodecIDSp5X = CodecID(C.AV_CODEC_ID_SP5X) CodecIDSpeex = CodecID(C.AV_CODEC_ID_SPEEX) CodecIDSrt = CodecID(C.AV_CODEC_ID_SRT) CodecIDSsa = CodecID(C.AV_CODEC_ID_SSA) CodecIDSubrip = CodecID(C.AV_CODEC_ID_SUBRIP) CodecIDSubviewer = CodecID(C.AV_CODEC_ID_SUBVIEWER) CodecIDSubviewer1 = CodecID(C.AV_CODEC_ID_SUBVIEWER1) CodecIDSunrast = CodecID(C.AV_CODEC_ID_SUNRAST) CodecIDSvq1 = CodecID(C.AV_CODEC_ID_SVQ1) CodecIDSvq3 = CodecID(C.AV_CODEC_ID_SVQ3) CodecIDTak = CodecID(C.AV_CODEC_ID_TAK) CodecIDTakDeprecated = CodecID(C.AV_CODEC_ID_TAK) CodecIDTarga = CodecID(C.AV_CODEC_ID_TARGA) CodecIDTargaY216 = CodecID(C.AV_CODEC_ID_TARGA_Y216) CodecIDText = CodecID(C.AV_CODEC_ID_TEXT) CodecIDTgq = CodecID(C.AV_CODEC_ID_TGQ) CodecIDTgv = CodecID(C.AV_CODEC_ID_TGV) CodecIDTheora = CodecID(C.AV_CODEC_ID_THEORA) CodecIDThp = CodecID(C.AV_CODEC_ID_THP) CodecIDTiertexseqvideo = CodecID(C.AV_CODEC_ID_TIERTEXSEQVIDEO) CodecIDTiff = CodecID(C.AV_CODEC_ID_TIFF) CodecIDTimedId3 = CodecID(C.AV_CODEC_ID_TIMED_ID3) CodecIDTmv = CodecID(C.AV_CODEC_ID_TMV) CodecIDTqi = CodecID(C.AV_CODEC_ID_TQI) CodecIDTruehd = CodecID(C.AV_CODEC_ID_TRUEHD) CodecIDTruemotion1 = CodecID(C.AV_CODEC_ID_TRUEMOTION1) CodecIDTruemotion2 = CodecID(C.AV_CODEC_ID_TRUEMOTION2) CodecIDTruespeech = CodecID(C.AV_CODEC_ID_TRUESPEECH) CodecIDTscc = CodecID(C.AV_CODEC_ID_TSCC) CodecIDTscc2 = CodecID(C.AV_CODEC_ID_TSCC2) CodecIDTta = CodecID(C.AV_CODEC_ID_TTA) CodecIDTtf = CodecID(C.AV_CODEC_ID_TTF) CodecIDTwinvq = CodecID(C.AV_CODEC_ID_TWINVQ) CodecIDTxd = CodecID(C.AV_CODEC_ID_TXD) CodecIDUlti = CodecID(C.AV_CODEC_ID_ULTI) CodecIDUtvideo = CodecID(C.AV_CODEC_ID_UTVIDEO) CodecIDV210 = CodecID(C.AV_CODEC_ID_V210) CodecIDV210X = CodecID(C.AV_CODEC_ID_V210X) CodecIDV308 = CodecID(C.AV_CODEC_ID_V308) CodecIDV408 = CodecID(C.AV_CODEC_ID_V408) CodecIDV410 = CodecID(C.AV_CODEC_ID_V410) CodecIDVb = CodecID(C.AV_CODEC_ID_VB) CodecIDVble = CodecID(C.AV_CODEC_ID_VBLE) CodecIDVc1 = CodecID(C.AV_CODEC_ID_VC1) CodecIDVc1Image = CodecID(C.AV_CODEC_ID_VC1IMAGE) CodecIDVcr1 = CodecID(C.AV_CODEC_ID_VCR1) CodecIDVixl = CodecID(C.AV_CODEC_ID_VIXL) CodecIDVmdaudio = CodecID(C.AV_CODEC_ID_VMDAUDIO) CodecIDVmdvideo = CodecID(C.AV_CODEC_ID_VMDVIDEO) CodecIDVmnc = CodecID(C.AV_CODEC_ID_VMNC) CodecIDVorbis = CodecID(C.AV_CODEC_ID_VORBIS) CodecIDVp3 = CodecID(C.AV_CODEC_ID_VP3) CodecIDVp5 = CodecID(C.AV_CODEC_ID_VP5) CodecIDVp6 = CodecID(C.AV_CODEC_ID_VP6) CodecIDVp6A = CodecID(C.AV_CODEC_ID_VP6A) CodecIDVp6F = CodecID(C.AV_CODEC_ID_VP6F) CodecIDVp7 = CodecID(C.AV_CODEC_ID_VP7) CodecIDVp7Deprecated = CodecID(C.AV_CODEC_ID_VP7) CodecIDVp8 = CodecID(C.AV_CODEC_ID_VP8) CodecIDVp9 = CodecID(C.AV_CODEC_ID_VP9) CodecIDVplayer = CodecID(C.AV_CODEC_ID_VPLAYER) CodecIDWavpack = CodecID(C.AV_CODEC_ID_WAVPACK) CodecIDWebp = CodecID(C.AV_CODEC_ID_WEBP) CodecIDWebpDeprecated = CodecID(C.AV_CODEC_ID_WEBP) CodecIDWebvtt = CodecID(C.AV_CODEC_ID_WEBVTT) CodecIDWestwoodSnd1 = CodecID(C.AV_CODEC_ID_WESTWOOD_SND1) CodecIDWmalossless = CodecID(C.AV_CODEC_ID_WMALOSSLESS) CodecIDWmapro = CodecID(C.AV_CODEC_ID_WMAPRO) CodecIDWmav1 = CodecID(C.AV_CODEC_ID_WMAV1) CodecIDWmav2 = CodecID(C.AV_CODEC_ID_WMAV2) CodecIDWmavoice = CodecID(C.AV_CODEC_ID_WMAVOICE) CodecIDWmv1 = CodecID(C.AV_CODEC_ID_WMV1) CodecIDWmv2 = CodecID(C.AV_CODEC_ID_WMV2) CodecIDWmv3 = CodecID(C.AV_CODEC_ID_WMV3) CodecIDWmv3Image = CodecID(C.AV_CODEC_ID_WMV3IMAGE) CodecIDWnv1 = CodecID(C.AV_CODEC_ID_WNV1) CodecIDWsVqa = CodecID(C.AV_CODEC_ID_WS_VQA) CodecIDXanDpcm = CodecID(C.AV_CODEC_ID_XAN_DPCM) CodecIDXanWc3 = CodecID(C.AV_CODEC_ID_XAN_WC3) CodecIDXanWc4 = CodecID(C.AV_CODEC_ID_XAN_WC4) CodecIDXbin = CodecID(C.AV_CODEC_ID_XBIN) CodecIDXbm = CodecID(C.AV_CODEC_ID_XBM) CodecIDXface = CodecID(C.AV_CODEC_ID_XFACE) CodecIDXsub = CodecID(C.AV_CODEC_ID_XSUB) CodecIDXwd = CodecID(C.AV_CODEC_ID_XWD) CodecIDY41P = CodecID(C.AV_CODEC_ID_Y41P) CodecIDYop = CodecID(C.AV_CODEC_ID_YOP) CodecIDYuv4 = CodecID(C.AV_CODEC_ID_YUV4) CodecIDZerocodec = CodecID(C.AV_CODEC_ID_ZEROCODEC) CodecIDZlib = CodecID(C.AV_CODEC_ID_ZLIB) CodecIDZmbv = CodecID(C.AV_CODEC_ID_ZMBV) )
const ( ColorPrimariesReserved0 = ColorPrimaries(C.AVCOL_PRI_RESERVED0) ColorPrimariesBt709 = ColorPrimaries(C.AVCOL_PRI_BT709) ColorPrimariesUnspecified = ColorPrimaries(C.AVCOL_PRI_UNSPECIFIED) ColorPrimariesReserved = ColorPrimaries(C.AVCOL_PRI_RESERVED) ColorPrimariesBt470M = ColorPrimaries(C.AVCOL_PRI_BT470M) ColorPrimariesBt470Bg = ColorPrimaries(C.AVCOL_PRI_BT470BG) ColorPrimariesSmpte170M = ColorPrimaries(C.AVCOL_PRI_SMPTE170M) ColorPrimariesSmpte240M = ColorPrimaries(C.AVCOL_PRI_SMPTE240M) ColorPrimariesFilm = ColorPrimaries(C.AVCOL_PRI_FILM) ColorPrimariesBt2020 = ColorPrimaries(C.AVCOL_PRI_BT2020) ColorPrimariesSmpte428 = ColorPrimaries(C.AVCOL_PRI_SMPTE428) ColorPrimariesSmptest4281 = ColorPrimaries(C.AVCOL_PRI_SMPTEST428_1) ColorPrimariesSmpte431 = ColorPrimaries(C.AVCOL_PRI_SMPTE431) ColorPrimariesSmpte432 = ColorPrimaries(C.AVCOL_PRI_SMPTE432) ColorPrimariesJedecP22 = ColorPrimaries(C.AVCOL_PRI_JEDEC_P22) ColorPrimariesNb = ColorPrimaries(C.AVCOL_PRI_NB) )
const ( ColorRangeUnspecified = ColorRange(C.AVCOL_RANGE_UNSPECIFIED) ColorRangeMpeg = ColorRange(C.AVCOL_RANGE_MPEG) ColorRangeJpeg = ColorRange(C.AVCOL_RANGE_JPEG) ColorRangeNb = ColorRange(C.AVCOL_RANGE_NB) )
const ( ColorSpaceRgb = ColorSpace(C.AVCOL_SPC_RGB) ColorSpaceBt709 = ColorSpace(C.AVCOL_SPC_BT709) ColorSpaceUnspecified = ColorSpace(C.AVCOL_SPC_UNSPECIFIED) ColorSpaceReserved = ColorSpace(C.AVCOL_SPC_RESERVED) ColorSpaceFcc = ColorSpace(C.AVCOL_SPC_FCC) ColorSpaceBt470Bg = ColorSpace(C.AVCOL_SPC_BT470BG) ColorSpaceSmpte170M = ColorSpace(C.AVCOL_SPC_SMPTE170M) ColorSpaceSmpte240M = ColorSpace(C.AVCOL_SPC_SMPTE240M) ColorSpaceYcgco = ColorSpace(C.AVCOL_SPC_YCGCO) ColorSpaceYcocg = ColorSpace(C.AVCOL_SPC_YCOCG) ColorSpaceBt2020Ncl = ColorSpace(C.AVCOL_SPC_BT2020_NCL) ColorSpaceBt2020Cl = ColorSpace(C.AVCOL_SPC_BT2020_CL) ColorSpaceSmpte2085 = ColorSpace(C.AVCOL_SPC_SMPTE2085) ColorSpaceChromaDerivedNcl = ColorSpace(C.AVCOL_SPC_CHROMA_DERIVED_NCL) ColorSpaceChromaDerivedCl = ColorSpace(C.AVCOL_SPC_CHROMA_DERIVED_CL) ColorSpaceIctcp = ColorSpace(C.AVCOL_SPC_ICTCP) ColorSpaceNb = ColorSpace(C.AVCOL_SPC_NB) )
const ( ColorTransferCharacteristicReserved0 = ColorTransferCharacteristic(C.AVCOL_TRC_RESERVED0) ColorTransferCharacteristicBt709 = ColorTransferCharacteristic(C.AVCOL_TRC_BT709) ColorTransferCharacteristicUnspecified = ColorTransferCharacteristic(C.AVCOL_TRC_UNSPECIFIED) ColorTransferCharacteristicReserved = ColorTransferCharacteristic(C.AVCOL_TRC_RESERVED) ColorTransferCharacteristicGamma22 = ColorTransferCharacteristic(C.AVCOL_TRC_GAMMA22) ColorTransferCharacteristicGamma28 = ColorTransferCharacteristic(C.AVCOL_TRC_GAMMA28) ColorTransferCharacteristicSmpte170M = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTE170M) ColorTransferCharacteristicSmpte240M = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTE240M) ColorTransferCharacteristicLinear = ColorTransferCharacteristic(C.AVCOL_TRC_LINEAR) ColorTransferCharacteristicLog = ColorTransferCharacteristic(C.AVCOL_TRC_LOG) ColorTransferCharacteristicLogSqrt = ColorTransferCharacteristic(C.AVCOL_TRC_LOG_SQRT) ColorTransferCharacteristicIec6196624 = ColorTransferCharacteristic(C.AVCOL_TRC_IEC61966_2_4) ColorTransferCharacteristicBt1361Ecg = ColorTransferCharacteristic(C.AVCOL_TRC_BT1361_ECG) ColorTransferCharacteristicIec6196621 = ColorTransferCharacteristic(C.AVCOL_TRC_IEC61966_2_1) ColorTransferCharacteristicBt202010 = ColorTransferCharacteristic(C.AVCOL_TRC_BT2020_10) ColorTransferCharacteristicBt202012 = ColorTransferCharacteristic(C.AVCOL_TRC_BT2020_12) ColorTransferCharacteristicSmpte2084 = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTE2084) ColorTransferCharacteristicSmptest2084 = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTEST2084) ColorTransferCharacteristicSmpte428 = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTE428) ColorTransferCharacteristicSmptest4281 = ColorTransferCharacteristic(C.AVCOL_TRC_SMPTEST428_1) ColorTransferCharacteristicAribStdB67 = ColorTransferCharacteristic(C.AVCOL_TRC_ARIB_STD_B67) ColorTransferCharacteristicNb = ColorTransferCharacteristic(C.AVCOL_TRC_NB) )
const ( DictionaryFlagMatchCase = DictionaryFlag(C.AV_DICT_MATCH_CASE) DictionaryFlagIgnoreSuffix = DictionaryFlag(C.AV_DICT_IGNORE_SUFFIX) DictionaryFlagDontStrdupKey = DictionaryFlag(C.AV_DICT_DONT_STRDUP_KEY) DictionaryFlagDontStrdupVal = DictionaryFlag(C.AV_DICT_DONT_STRDUP_VAL) DictionaryFlagDontOverwrite = DictionaryFlag(C.AV_DICT_DONT_OVERWRITE) DictionaryFlagAppend = DictionaryFlag(C.AV_DICT_APPEND) DictionaryFlagMultikey = DictionaryFlag(C.AV_DICT_MULTIKEY) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L67
const ( ErrBsfNotFound = Error(C.AVERROR_BSF_NOT_FOUND) ErrBufferTooSmall = Error(C.AVERROR_BUFFER_TOO_SMALL) ErrBug = Error(C.AVERROR_BUG) ErrBug2 = Error(C.AVERROR_BUG2) ErrDecoderNotFound = Error(C.AVERROR_DECODER_NOT_FOUND) ErrDemuxerNotFound = Error(C.AVERROR_DEMUXER_NOT_FOUND) ErrEagain = Error(-(C.EAGAIN)) ErrEio = Error(-(C.EIO)) ErrEncoderNotFound = Error(C.AVERROR_ENCODER_NOT_FOUND) ErrEof = Error(C.AVERROR_EOF) ErrEperm = Error(-(C.EPERM)) ErrEpipe = Error(-(C.EPIPE)) ErrEtimedout = Error(-(C.ETIMEDOUT)) ErrExit = Error(C.AVERROR_EXIT) ErrExperimental = Error(C.AVERROR_EXPERIMENTAL) ErrExternal = Error(C.AVERROR_EXTERNAL) ErrFilterNotFound = Error(C.AVERROR_FILTER_NOT_FOUND) ErrHttpBadRequest = Error(C.AVERROR_HTTP_BAD_REQUEST) ErrHttpForbidden = Error(C.AVERROR_HTTP_FORBIDDEN) ErrHttpNotFound = Error(C.AVERROR_HTTP_NOT_FOUND) ErrHttpOther4Xx = Error(C.AVERROR_HTTP_OTHER_4XX) ErrHttpServerError = Error(C.AVERROR_HTTP_SERVER_ERROR) ErrInputChanged = Error(C.AVERROR_INPUT_CHANGED) ErrInvaliddata = Error(C.AVERROR_INVALIDDATA) ErrMaxStringSize = Error(C.AV_ERROR_MAX_STRING_SIZE) ErrMuxerNotFound = Error(C.AVERROR_MUXER_NOT_FOUND) ErrOptionNotFound = Error(C.AVERROR_OPTION_NOT_FOUND) ErrOutputChanged = Error(C.AVERROR_OUTPUT_CHANGED) ErrPatchwelcome = Error(C.AVERROR_PATCHWELCOME) ErrProtocolNotFound = Error(C.AVERROR_PROTOCOL_NOT_FOUND) ErrStreamNotFound = Error(C.AVERROR_STREAM_NOT_FOUND) ErrUnknown = Error(C.AVERROR_UNKNOWN) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/error.h#L51
const ( FilterCommandFlagOne = FilterCommandFlag(C.AVFILTER_CMD_FLAG_ONE) FilterCommandFlagFast = FilterCommandFlag(C.AVFILTER_CMD_FLAG_FAST) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L739
const ( FormatContextCtxFlagNoHeader = FormatContextCtxFlag(C.AVFMTCTX_NOHEADER) FormatContextCtxFlagUnseekable = FormatContextCtxFlag(C.AVFMTCTX_UNSEEKABLE) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1153
const ( FormatContextFlagGenPts = FormatContextFlag(C.AVFMT_FLAG_GENPTS) FormatContextFlagIgnidx = FormatContextFlag(C.AVFMT_FLAG_IGNIDX) FormatContextFlagNonblock = FormatContextFlag(C.AVFMT_FLAG_NONBLOCK) FormatContextFlagIgnDts = FormatContextFlag(C.AVFMT_FLAG_IGNDTS) FormatContextFlagNofillin = FormatContextFlag(C.AVFMT_FLAG_NOFILLIN) FormatContextFlagNoparse = FormatContextFlag(C.AVFMT_FLAG_NOPARSE) FormatContextFlagNobuffer = FormatContextFlag(C.AVFMT_FLAG_NOBUFFER) FormatContextFlagCustomIo = FormatContextFlag(C.AVFMT_FLAG_CUSTOM_IO) FormatContextFlagDiscardCorrupt = FormatContextFlag(C.AVFMT_FLAG_DISCARD_CORRUPT) FormatContextFlagFlushPackets = FormatContextFlag(C.AVFMT_FLAG_FLUSH_PACKETS) FormatContextFlagBitexact = FormatContextFlag(C.AVFMT_FLAG_BITEXACT) FormatContextFlagSortDts = FormatContextFlag(C.AVFMT_FLAG_SORT_DTS) FormatContextFlagFastSeek = FormatContextFlag(C.AVFMT_FLAG_FAST_SEEK) FormatContextFlagShortest = FormatContextFlag(C.AVFMT_FLAG_SHORTEST) FormatContextFlagAutoBsf = FormatContextFlag(C.AVFMT_FLAG_AUTO_BSF) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321
const ( FrameSideDataTypePanscan = FrameSideDataType(C.AV_FRAME_DATA_PANSCAN) FrameSideDataTypeA53Cc = FrameSideDataType(C.AV_FRAME_DATA_A53_CC) FrameSideDataTypeStereo3D = FrameSideDataType(C.AV_FRAME_DATA_STEREO3D) FrameSideDataTypeMatrixencoding = FrameSideDataType(C.AV_FRAME_DATA_MATRIXENCODING) FrameSideDataTypeDownmixInfo = FrameSideDataType(C.AV_FRAME_DATA_DOWNMIX_INFO) FrameSideDataTypeReplaygain = FrameSideDataType(C.AV_FRAME_DATA_REPLAYGAIN) FrameSideDataTypeDisplaymatrix = FrameSideDataType(C.AV_FRAME_DATA_DISPLAYMATRIX) FrameSideDataTypeAfd = FrameSideDataType(C.AV_FRAME_DATA_AFD) FrameSideDataTypeMotionVectors = FrameSideDataType(C.AV_FRAME_DATA_MOTION_VECTORS) FrameSideDataTypeSkipSamples = FrameSideDataType(C.AV_FRAME_DATA_SKIP_SAMPLES) FrameSideDataTypeAudioServiceType = FrameSideDataType(C.AV_FRAME_DATA_AUDIO_SERVICE_TYPE) FrameSideDataTypeMasteringDisplayMetadata = FrameSideDataType(C.AV_FRAME_DATA_MASTERING_DISPLAY_METADATA) FrameSideDataTypeGopTimecode = FrameSideDataType(C.AV_FRAME_DATA_GOP_TIMECODE) FrameSideDataTypeSpherical = FrameSideDataType(C.AV_FRAME_DATA_SPHERICAL) FrameSideDataTypeContentLightLevel = FrameSideDataType(C.AV_FRAME_DATA_CONTENT_LIGHT_LEVEL) FrameSideDataTypeIccProfile = FrameSideDataType(C.AV_FRAME_DATA_ICC_PROFILE) FrameSideDataTypeS12MTimecode = FrameSideDataType(C.AV_FRAME_DATA_S12M_TIMECODE) FrameSideDataTypeDynamicHdrPlus = FrameSideDataType(C.AV_FRAME_DATA_DYNAMIC_HDR_PLUS) FrameSideDataTypeRegionsOfInterest = FrameSideDataType(C.AV_FRAME_DATA_REGIONS_OF_INTEREST) FrameSideDataTypeVideoEncParams = FrameSideDataType(C.AV_FRAME_DATA_VIDEO_ENC_PARAMS) FrameSideDataTypeSeiUnregistered = FrameSideDataType(C.AV_FRAME_DATA_SEI_UNREGISTERED) FrameSideDataTypeFilmGrainParams = FrameSideDataType(C.AV_FRAME_DATA_FILM_GRAIN_PARAMS) )
const ( HardwareDeviceTypeCUDA = HardwareDeviceType(C.AV_HWDEVICE_TYPE_CUDA) HardwareDeviceTypeD3D11VA = HardwareDeviceType(C.AV_HWDEVICE_TYPE_D3D11VA) HardwareDeviceTypeDRM = HardwareDeviceType(C.AV_HWDEVICE_TYPE_DRM) HardwareDeviceTypeDXVA2 = HardwareDeviceType(C.AV_HWDEVICE_TYPE_DXVA2) HardwareDeviceTypeMediaCodec = HardwareDeviceType(C.AV_HWDEVICE_TYPE_MEDIACODEC) HardwareDeviceTypeNone = HardwareDeviceType(C.AV_HWDEVICE_TYPE_NONE) HardwareDeviceTypeOpenCL = HardwareDeviceType(C.AV_HWDEVICE_TYPE_OPENCL) HardwareDeviceTypeQSV = HardwareDeviceType(C.AV_HWDEVICE_TYPE_QSV) HardwareDeviceTypeVAAPI = HardwareDeviceType(C.AV_HWDEVICE_TYPE_VAAPI) HardwareDeviceTypeVDPAU = HardwareDeviceType(C.AV_HWDEVICE_TYPE_VDPAU) HardwareDeviceTypeVideoToolbox = HardwareDeviceType(C.AV_HWDEVICE_TYPE_VIDEOTOOLBOX) HardwareDeviceTypeVulkan = HardwareDeviceType(C.AV_HWDEVICE_TYPE_VULKAN) )
const ( IOContextFlagRead = IOContextFlag(C.AVIO_FLAG_READ) IOContextFlagWrite = IOContextFlag(C.AVIO_FLAG_WRITE) IOContextFlagReadWrite = IOContextFlag(C.AVIO_FLAG_READ_WRITE) IOContextFlagNonBlock = IOContextFlag(C.AVIO_FLAG_NONBLOCK) IOContextFlagDirect = IOContextFlag(C.AVIO_FLAG_DIRECT) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L621
const ( IOFormatFlagNofile = IOFormatFlag(C.AVFMT_NOFILE) IOFormatFlagNeednumber = IOFormatFlag(C.AVFMT_NEEDNUMBER) IOFormatFlagShowIds = IOFormatFlag(C.AVFMT_SHOW_IDS) IOFormatFlagGlobalheader = IOFormatFlag(C.AVFMT_GLOBALHEADER) IOFormatFlagNotimestamps = IOFormatFlag(C.AVFMT_NOTIMESTAMPS) IOFormatFlagGenericIndex = IOFormatFlag(C.AVFMT_GENERIC_INDEX) IOFormatFlagTsDiscont = IOFormatFlag(C.AVFMT_TS_DISCONT) IOFormatFlagVariableFps = IOFormatFlag(C.AVFMT_VARIABLE_FPS) IOFormatFlagNodimensions = IOFormatFlag(C.AVFMT_NODIMENSIONS) IOFormatFlagNostreams = IOFormatFlag(C.AVFMT_NOSTREAMS) IOFormatFlagNobinsearch = IOFormatFlag(C.AVFMT_NOBINSEARCH) IOFormatFlagNogensearch = IOFormatFlag(C.AVFMT_NOGENSEARCH) IOFormatFlagNoByteSeek = IOFormatFlag(C.AVFMT_NO_BYTE_SEEK) IOFormatFlagAllowFlush = IOFormatFlag(C.AVFMT_ALLOW_FLUSH) IOFormatFlagTsNonstrict = IOFormatFlag(C.AVFMT_TS_NONSTRICT) IOFormatFlagTsNegative = IOFormatFlag(C.AVFMT_TS_NEGATIVE) IOFormatFlagSeekToPts = IOFormatFlag(C.AVFMT_SEEK_TO_PTS) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L464
const ( LogLevelQuiet = LogLevel(C.AV_LOG_QUIET) LogLevelPanic = LogLevel(C.AV_LOG_PANIC) LogLevelFatal = LogLevel(C.AV_LOG_FATAL) LogLevelError = LogLevel(C.AV_LOG_ERROR) LogLevelWarning = LogLevel(C.AV_LOG_WARNING) LogLevelInfo = LogLevel(C.AV_LOG_INFO) LogLevelVerbose = LogLevel(C.AV_LOG_VERBOSE) LogLevelDebug = LogLevel(C.AV_LOG_DEBUG) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/log.h#L162
const ( MediaTypeAttachment = MediaType(C.AVMEDIA_TYPE_ATTACHMENT) MediaTypeAudio = MediaType(C.AVMEDIA_TYPE_AUDIO) MediaTypeData = MediaType(C.AVMEDIA_TYPE_DATA) MediaTypeNb = MediaType(C.AVMEDIA_TYPE_NB) MediaTypeSubtitle = MediaType(C.AVMEDIA_TYPE_SUBTITLE) MediaTypeUnknown = MediaType(C.AVMEDIA_TYPE_UNKNOWN) MediaTypeVideo = MediaType(C.AVMEDIA_TYPE_VIDEO) )
const ( PacketFlagCorrupt = PacketFlag(C.AV_PKT_FLAG_CORRUPT) PacketFlagDiscard = PacketFlag(C.AV_PKT_FLAG_DISCARD) PacketFlagKey = PacketFlag(C.AV_PKT_FLAG_KEY) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L428
const ( PacketSideDataTypeA53Cc = PacketSideDataType(C.AV_PKT_DATA_A53_CC) PacketSideDataTypeAfd = PacketSideDataType(C.AV_PKT_DATA_AFD) PacketSideDataTypeAudioServiceType = PacketSideDataType(C.AV_PKT_DATA_AUDIO_SERVICE_TYPE) PacketSideDataTypeContentLightLevel = PacketSideDataType(C.AV_PKT_DATA_CONTENT_LIGHT_LEVEL) PacketSideDataTypeCpbProperties = PacketSideDataType(C.AV_PKT_DATA_CPB_PROPERTIES) PacketSideDataTypeDisplaymatrix = PacketSideDataType(C.AV_PKT_DATA_DISPLAYMATRIX) PacketSideDataTypeEncryptionInfo = PacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INFO) PacketSideDataTypeEncryptionInitInfo = PacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INIT_INFO) PacketSideDataTypeFallbackTrack = PacketSideDataType(C.AV_PKT_DATA_FALLBACK_TRACK) PacketSideDataTypeH263MbInfo = PacketSideDataType(C.AV_PKT_DATA_H263_MB_INFO) PacketSideDataTypeJpDualmono = PacketSideDataType(C.AV_PKT_DATA_JP_DUALMONO) PacketSideDataTypeMasteringDisplayMetadata = PacketSideDataType(C.AV_PKT_DATA_MASTERING_DISPLAY_METADATA) PacketSideDataTypeMatroskaBlockadditional = PacketSideDataType(C.AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL) PacketSideDataTypeMetadataUpdate = PacketSideDataType(C.AV_PKT_DATA_METADATA_UPDATE) PacketSideDataTypeMpegtsStreamId = PacketSideDataType(C.AV_PKT_DATA_MPEGTS_STREAM_ID) PacketSideDataTypeNb = PacketSideDataType(C.AV_PKT_DATA_NB) PacketSideDataTypeNewExtradata = PacketSideDataType(C.AV_PKT_DATA_NEW_EXTRADATA) PacketSideDataTypePalette = PacketSideDataType(C.AV_PKT_DATA_PALETTE) PacketSideDataTypeParamChange = PacketSideDataType(C.AV_PKT_DATA_PARAM_CHANGE) PacketSideDataTypeQualityStats = PacketSideDataType(C.AV_PKT_DATA_QUALITY_STATS) PacketSideDataTypeReplaygain = PacketSideDataType(C.AV_PKT_DATA_REPLAYGAIN) PacketSideDataTypeSkipSamples = PacketSideDataType(C.AV_PKT_DATA_SKIP_SAMPLES) PacketSideDataTypeSpherical = PacketSideDataType(C.AV_PKT_DATA_SPHERICAL) PacketSideDataTypeStereo3D = PacketSideDataType(C.AV_PKT_DATA_STEREO3D) PacketSideDataTypeStringsMetadata = PacketSideDataType(C.AV_PKT_DATA_STRINGS_METADATA) PacketSideDataTypeSubtitlePosition = PacketSideDataType(C.AV_PKT_DATA_SUBTITLE_POSITION) PacketSideDataTypeWebvttIdentifier = PacketSideDataType(C.AV_PKT_DATA_WEBVTT_IDENTIFIER) PacketSideDataTypeWebvttSettings = PacketSideDataType(C.AV_PKT_DATA_WEBVTT_SETTINGS) )
const ( PictureTypeNone = PictureType(C.AV_PICTURE_TYPE_NONE) PictureTypeI = PictureType(C.AV_PICTURE_TYPE_I) PictureTypeP = PictureType(C.AV_PICTURE_TYPE_P) PictureTypeB = PictureType(C.AV_PICTURE_TYPE_B) PictureTypeS = PictureType(C.AV_PICTURE_TYPE_S) PictureTypeSi = PictureType(C.AV_PICTURE_TYPE_SI) PictureTypeSp = PictureType(C.AV_PICTURE_TYPE_SP) PictureTypeBi = PictureType(C.AV_PICTURE_TYPE_BI) )
const ( PixelFormat0Bgr = PixelFormat(C.AV_PIX_FMT_0BGR) PixelFormat0Rgb = PixelFormat(C.AV_PIX_FMT_0RGB) PixelFormatAbgr = PixelFormat(C.AV_PIX_FMT_ABGR) PixelFormatArgb = PixelFormat(C.AV_PIX_FMT_ARGB) PixelFormatAyuv64Be = PixelFormat(C.AV_PIX_FMT_AYUV64BE) PixelFormatAyuv64Le = PixelFormat(C.AV_PIX_FMT_AYUV64LE) PixelFormatBayerBggr16Be = PixelFormat(C.AV_PIX_FMT_BAYER_BGGR16BE) PixelFormatBayerBggr16Le = PixelFormat(C.AV_PIX_FMT_BAYER_BGGR16LE) PixelFormatBayerBggr8 = PixelFormat(C.AV_PIX_FMT_BAYER_BGGR8) PixelFormatBayerGbrg16Be = PixelFormat(C.AV_PIX_FMT_BAYER_GBRG16BE) PixelFormatBayerGbrg16Le = PixelFormat(C.AV_PIX_FMT_BAYER_GBRG16LE) PixelFormatBayerGbrg8 = PixelFormat(C.AV_PIX_FMT_BAYER_GBRG8) PixelFormatBayerGrbg16Be = PixelFormat(C.AV_PIX_FMT_BAYER_GRBG16BE) PixelFormatBayerGrbg16Le = PixelFormat(C.AV_PIX_FMT_BAYER_GRBG16LE) PixelFormatBayerGrbg8 = PixelFormat(C.AV_PIX_FMT_BAYER_GRBG8) PixelFormatBayerRggb16Be = PixelFormat(C.AV_PIX_FMT_BAYER_RGGB16BE) PixelFormatBayerRggb16Le = PixelFormat(C.AV_PIX_FMT_BAYER_RGGB16LE) PixelFormatBayerRggb8 = PixelFormat(C.AV_PIX_FMT_BAYER_RGGB8) PixelFormatBgr0 = PixelFormat(C.AV_PIX_FMT_BGR0) PixelFormatBgr24 = PixelFormat(C.AV_PIX_FMT_BGR24) PixelFormatBgr4 = PixelFormat(C.AV_PIX_FMT_BGR4) PixelFormatBgr444Be = PixelFormat(C.AV_PIX_FMT_BGR444BE) PixelFormatBgr444Le = PixelFormat(C.AV_PIX_FMT_BGR444LE) PixelFormatBgr48Be = PixelFormat(C.AV_PIX_FMT_BGR48BE) PixelFormatBgr48Le = PixelFormat(C.AV_PIX_FMT_BGR48LE) PixelFormatBgr4Byte = PixelFormat(C.AV_PIX_FMT_BGR4_BYTE) PixelFormatBgr555Be = PixelFormat(C.AV_PIX_FMT_BGR555BE) PixelFormatBgr555Le = PixelFormat(C.AV_PIX_FMT_BGR555LE) PixelFormatBgr565Be = PixelFormat(C.AV_PIX_FMT_BGR565BE) PixelFormatBgr565Le = PixelFormat(C.AV_PIX_FMT_BGR565LE) PixelFormatBgr8 = PixelFormat(C.AV_PIX_FMT_BGR8) PixelFormatBgra = PixelFormat(C.AV_PIX_FMT_BGRA) PixelFormatBgra64Be = PixelFormat(C.AV_PIX_FMT_BGRA64BE) PixelFormatBgra64Le = PixelFormat(C.AV_PIX_FMT_BGRA64LE) PixelFormatCuda = PixelFormat(C.AV_PIX_FMT_CUDA) PixelFormatD3D11 = PixelFormat(C.AV_PIX_FMT_D3D11) PixelFormatD3D11VaVld = PixelFormat(C.AV_PIX_FMT_D3D11VA_VLD) PixelFormatDrmPrime = PixelFormat(C.AV_PIX_FMT_DRM_PRIME) PixelFormatDxva2Vld = PixelFormat(C.AV_PIX_FMT_DXVA2_VLD) PixelFormatGbr24P = PixelFormat(C.AV_PIX_FMT_GBR24P) PixelFormatGbrap = PixelFormat(C.AV_PIX_FMT_GBRAP) PixelFormatGbrap10Be = PixelFormat(C.AV_PIX_FMT_GBRAP10BE) PixelFormatGbrap10Le = PixelFormat(C.AV_PIX_FMT_GBRAP10LE) PixelFormatGbrap12Be = PixelFormat(C.AV_PIX_FMT_GBRAP12BE) PixelFormatGbrap12Le = PixelFormat(C.AV_PIX_FMT_GBRAP12LE) PixelFormatGbrap16Be = PixelFormat(C.AV_PIX_FMT_GBRAP16BE) PixelFormatGbrap16Le = PixelFormat(C.AV_PIX_FMT_GBRAP16LE) PixelFormatGbrapf32Be = PixelFormat(C.AV_PIX_FMT_GBRAPF32BE) PixelFormatGbrapf32Le = PixelFormat(C.AV_PIX_FMT_GBRAPF32LE) PixelFormatGbrp = PixelFormat(C.AV_PIX_FMT_GBRP) PixelFormatGbrp10Be = PixelFormat(C.AV_PIX_FMT_GBRP10BE) PixelFormatGbrp10Le = PixelFormat(C.AV_PIX_FMT_GBRP10LE) PixelFormatGbrp12Be = PixelFormat(C.AV_PIX_FMT_GBRP12BE) PixelFormatGbrp12Le = PixelFormat(C.AV_PIX_FMT_GBRP12LE) PixelFormatGbrp14Be = PixelFormat(C.AV_PIX_FMT_GBRP14BE) PixelFormatGbrp14Le = PixelFormat(C.AV_PIX_FMT_GBRP14LE) PixelFormatGbrp16Be = PixelFormat(C.AV_PIX_FMT_GBRP16BE) PixelFormatGbrp16Le = PixelFormat(C.AV_PIX_FMT_GBRP16LE) PixelFormatGbrp9Be = PixelFormat(C.AV_PIX_FMT_GBRP9BE) PixelFormatGbrp9Le = PixelFormat(C.AV_PIX_FMT_GBRP9LE) PixelFormatGbrpf32Be = PixelFormat(C.AV_PIX_FMT_GBRPF32BE) PixelFormatGbrpf32Le = PixelFormat(C.AV_PIX_FMT_GBRPF32LE) PixelFormatGray10Be = PixelFormat(C.AV_PIX_FMT_GRAY10BE) PixelFormatGray10Le = PixelFormat(C.AV_PIX_FMT_GRAY10LE) PixelFormatGray12Be = PixelFormat(C.AV_PIX_FMT_GRAY12BE) PixelFormatGray12Le = PixelFormat(C.AV_PIX_FMT_GRAY12LE) PixelFormatGray14Be = PixelFormat(C.AV_PIX_FMT_GRAY14BE) PixelFormatGray14Le = PixelFormat(C.AV_PIX_FMT_GRAY14LE) PixelFormatGray16Be = PixelFormat(C.AV_PIX_FMT_GRAY16BE) PixelFormatGray16Le = PixelFormat(C.AV_PIX_FMT_GRAY16LE) PixelFormatGray8 = PixelFormat(C.AV_PIX_FMT_GRAY8) PixelFormatGray8A = PixelFormat(C.AV_PIX_FMT_GRAY8A) PixelFormatGray9Be = PixelFormat(C.AV_PIX_FMT_GRAY9BE) PixelFormatGray9Le = PixelFormat(C.AV_PIX_FMT_GRAY9LE) PixelFormatGrayf32Be = PixelFormat(C.AV_PIX_FMT_GRAYF32BE) PixelFormatGrayf32Le = PixelFormat(C.AV_PIX_FMT_GRAYF32LE) PixelFormatMediacodec = PixelFormat(C.AV_PIX_FMT_MEDIACODEC) PixelFormatMmal = PixelFormat(C.AV_PIX_FMT_MMAL) PixelFormatMonoblack = PixelFormat(C.AV_PIX_FMT_MONOBLACK) PixelFormatMonowhite = PixelFormat(C.AV_PIX_FMT_MONOWHITE) PixelFormatNb = PixelFormat(C.AV_PIX_FMT_NB) PixelFormatNone = PixelFormat(C.AV_PIX_FMT_NONE) PixelFormatNv12 = PixelFormat(C.AV_PIX_FMT_NV12) PixelFormatNv16 = PixelFormat(C.AV_PIX_FMT_NV16) PixelFormatNv20Be = PixelFormat(C.AV_PIX_FMT_NV20BE) PixelFormatNv20Le = PixelFormat(C.AV_PIX_FMT_NV20LE) PixelFormatNv21 = PixelFormat(C.AV_PIX_FMT_NV21) PixelFormatOpencl = PixelFormat(C.AV_PIX_FMT_OPENCL) PixelFormatP010Be = PixelFormat(C.AV_PIX_FMT_P010BE) PixelFormatP010Le = PixelFormat(C.AV_PIX_FMT_P010LE) PixelFormatP016Be = PixelFormat(C.AV_PIX_FMT_P016BE) PixelFormatP016Le = PixelFormat(C.AV_PIX_FMT_P016LE) PixelFormatPal8 = PixelFormat(C.AV_PIX_FMT_PAL8) PixelFormatQsv = PixelFormat(C.AV_PIX_FMT_QSV) PixelFormatRgb0 = PixelFormat(C.AV_PIX_FMT_RGB0) PixelFormatRgb24 = PixelFormat(C.AV_PIX_FMT_RGB24) PixelFormatRgb4 = PixelFormat(C.AV_PIX_FMT_RGB4) PixelFormatRgb444Be = PixelFormat(C.AV_PIX_FMT_RGB444BE) PixelFormatRgb444Le = PixelFormat(C.AV_PIX_FMT_RGB444LE) PixelFormatRgb48Be = PixelFormat(C.AV_PIX_FMT_RGB48BE) PixelFormatRgb48Le = PixelFormat(C.AV_PIX_FMT_RGB48LE) PixelFormatRgb4Byte = PixelFormat(C.AV_PIX_FMT_RGB4_BYTE) PixelFormatRgb555Be = PixelFormat(C.AV_PIX_FMT_RGB555BE) PixelFormatRgb555Le = PixelFormat(C.AV_PIX_FMT_RGB555LE) PixelFormatRgb565Be = PixelFormat(C.AV_PIX_FMT_RGB565BE) PixelFormatRgb565Le = PixelFormat(C.AV_PIX_FMT_RGB565LE) PixelFormatRgb8 = PixelFormat(C.AV_PIX_FMT_RGB8) PixelFormatRgba = PixelFormat(C.AV_PIX_FMT_RGBA) PixelFormatRgba64Be = PixelFormat(C.AV_PIX_FMT_RGBA64BE) PixelFormatRgba64Le = PixelFormat(C.AV_PIX_FMT_RGBA64LE) PixelFormatUyvy422 = PixelFormat(C.AV_PIX_FMT_UYVY422) PixelFormatUyyvyy411 = PixelFormat(C.AV_PIX_FMT_UYYVYY411) PixelFormatVaapi = PixelFormat(C.AV_PIX_FMT_VAAPI) PixelFormatVdpau = PixelFormat(C.AV_PIX_FMT_VDPAU) PixelFormatVideotoolbox = PixelFormat(C.AV_PIX_FMT_VIDEOTOOLBOX) PixelFormatXyz12Be = PixelFormat(C.AV_PIX_FMT_XYZ12BE) PixelFormatXyz12Le = PixelFormat(C.AV_PIX_FMT_XYZ12LE) PixelFormatY400A = PixelFormat(C.AV_PIX_FMT_Y400A) PixelFormatYa16Be = PixelFormat(C.AV_PIX_FMT_YA16BE) PixelFormatYa16Le = PixelFormat(C.AV_PIX_FMT_YA16LE) PixelFormatYa8 = PixelFormat(C.AV_PIX_FMT_YA8) PixelFormatYuv410P = PixelFormat(C.AV_PIX_FMT_YUV410P) PixelFormatYuv411P = PixelFormat(C.AV_PIX_FMT_YUV411P) PixelFormatYuv420P = PixelFormat(C.AV_PIX_FMT_YUV420P) PixelFormatYuv420P10Be = PixelFormat(C.AV_PIX_FMT_YUV420P10BE) PixelFormatYuv420P10Le = PixelFormat(C.AV_PIX_FMT_YUV420P10LE) PixelFormatYuv420P12Be = PixelFormat(C.AV_PIX_FMT_YUV420P12BE) PixelFormatYuv420P12Le = PixelFormat(C.AV_PIX_FMT_YUV420P12LE) PixelFormatYuv420P14Be = PixelFormat(C.AV_PIX_FMT_YUV420P14BE) PixelFormatYuv420P14Le = PixelFormat(C.AV_PIX_FMT_YUV420P14LE) PixelFormatYuv420P16Be = PixelFormat(C.AV_PIX_FMT_YUV420P16BE) PixelFormatYuv420P16Le = PixelFormat(C.AV_PIX_FMT_YUV420P16LE) PixelFormatYuv420P9Be = PixelFormat(C.AV_PIX_FMT_YUV420P9BE) PixelFormatYuv420P9Le = PixelFormat(C.AV_PIX_FMT_YUV420P9LE) PixelFormatYuv422P = PixelFormat(C.AV_PIX_FMT_YUV422P) PixelFormatYuv422P10Be = PixelFormat(C.AV_PIX_FMT_YUV422P10BE) PixelFormatYuv422P10Le = PixelFormat(C.AV_PIX_FMT_YUV422P10LE) PixelFormatYuv422P12Be = PixelFormat(C.AV_PIX_FMT_YUV422P12BE) PixelFormatYuv422P12Le = PixelFormat(C.AV_PIX_FMT_YUV422P12LE) PixelFormatYuv422P14Be = PixelFormat(C.AV_PIX_FMT_YUV422P14BE) PixelFormatYuv422P14Le = PixelFormat(C.AV_PIX_FMT_YUV422P14LE) PixelFormatYuv422P16Be = PixelFormat(C.AV_PIX_FMT_YUV422P16BE) PixelFormatYuv422P16Le = PixelFormat(C.AV_PIX_FMT_YUV422P16LE) PixelFormatYuv422P9Be = PixelFormat(C.AV_PIX_FMT_YUV422P9BE) PixelFormatYuv422P9Le = PixelFormat(C.AV_PIX_FMT_YUV422P9LE) PixelFormatYuv440P = PixelFormat(C.AV_PIX_FMT_YUV440P) PixelFormatYuv440P10Be = PixelFormat(C.AV_PIX_FMT_YUV440P10BE) PixelFormatYuv440P10Le = PixelFormat(C.AV_PIX_FMT_YUV440P10LE) PixelFormatYuv440P12Be = PixelFormat(C.AV_PIX_FMT_YUV440P12BE) PixelFormatYuv440P12Le = PixelFormat(C.AV_PIX_FMT_YUV440P12LE) PixelFormatYuv444P = PixelFormat(C.AV_PIX_FMT_YUV444P) PixelFormatYuv444P10Be = PixelFormat(C.AV_PIX_FMT_YUV444P10BE) PixelFormatYuv444P10Le = PixelFormat(C.AV_PIX_FMT_YUV444P10LE) PixelFormatYuv444P12Be = PixelFormat(C.AV_PIX_FMT_YUV444P12BE) PixelFormatYuv444P12Le = PixelFormat(C.AV_PIX_FMT_YUV444P12LE) PixelFormatYuv444P14Be = PixelFormat(C.AV_PIX_FMT_YUV444P14BE) PixelFormatYuv444P14Le = PixelFormat(C.AV_PIX_FMT_YUV444P14LE) PixelFormatYuv444P16Be = PixelFormat(C.AV_PIX_FMT_YUV444P16BE) PixelFormatYuv444P16Le = PixelFormat(C.AV_PIX_FMT_YUV444P16LE) PixelFormatYuv444P9Be = PixelFormat(C.AV_PIX_FMT_YUV444P9BE) PixelFormatYuv444P9Le = PixelFormat(C.AV_PIX_FMT_YUV444P9LE) PixelFormatYuva420P = PixelFormat(C.AV_PIX_FMT_YUVA420P) PixelFormatYuva420P10Be = PixelFormat(C.AV_PIX_FMT_YUVA420P10BE) PixelFormatYuva420P10Le = PixelFormat(C.AV_PIX_FMT_YUVA420P10LE) PixelFormatYuva420P16Be = PixelFormat(C.AV_PIX_FMT_YUVA420P16BE) PixelFormatYuva420P16Le = PixelFormat(C.AV_PIX_FMT_YUVA420P16LE) PixelFormatYuva420P9Be = PixelFormat(C.AV_PIX_FMT_YUVA420P9BE) PixelFormatYuva420P9Le = PixelFormat(C.AV_PIX_FMT_YUVA420P9LE) PixelFormatYuva422P = PixelFormat(C.AV_PIX_FMT_YUVA422P) PixelFormatYuva422P10Be = PixelFormat(C.AV_PIX_FMT_YUVA422P10BE) PixelFormatYuva422P10Le = PixelFormat(C.AV_PIX_FMT_YUVA422P10LE) PixelFormatYuva422P16Be = PixelFormat(C.AV_PIX_FMT_YUVA422P16BE) PixelFormatYuva422P16Le = PixelFormat(C.AV_PIX_FMT_YUVA422P16LE) PixelFormatYuva422P9Be = PixelFormat(C.AV_PIX_FMT_YUVA422P9BE) PixelFormatYuva422P9Le = PixelFormat(C.AV_PIX_FMT_YUVA422P9LE) PixelFormatYuva444P = PixelFormat(C.AV_PIX_FMT_YUVA444P) PixelFormatYuva444P10Be = PixelFormat(C.AV_PIX_FMT_YUVA444P10BE) PixelFormatYuva444P10Le = PixelFormat(C.AV_PIX_FMT_YUVA444P10LE) PixelFormatYuva444P16Be = PixelFormat(C.AV_PIX_FMT_YUVA444P16BE) PixelFormatYuva444P16Le = PixelFormat(C.AV_PIX_FMT_YUVA444P16LE) PixelFormatYuva444P9Be = PixelFormat(C.AV_PIX_FMT_YUVA444P9BE) PixelFormatYuva444P9Le = PixelFormat(C.AV_PIX_FMT_YUVA444P9LE) PixelFormatYuvj411P = PixelFormat(C.AV_PIX_FMT_YUVJ411P) PixelFormatYuvj420P = PixelFormat(C.AV_PIX_FMT_YUVJ420P) PixelFormatYuvj422P = PixelFormat(C.AV_PIX_FMT_YUVJ422P) PixelFormatYuvj440P = PixelFormat(C.AV_PIX_FMT_YUVJ440P) PixelFormatYuvj444P = PixelFormat(C.AV_PIX_FMT_YUVJ444P) PixelFormatYuyv422 = PixelFormat(C.AV_PIX_FMT_YUYV422) PixelFormatYvyu422 = PixelFormat(C.AV_PIX_FMT_YVYU422) )
const ( ProfileAacEld = Profile(C.FF_PROFILE_AAC_ELD) ProfileAacHe = Profile(C.FF_PROFILE_AAC_HE) ProfileAacHeV2 = Profile(C.FF_PROFILE_AAC_HE_V2) ProfileAacLd = Profile(C.FF_PROFILE_AAC_LD) ProfileAacLow = Profile(C.FF_PROFILE_AAC_LOW) ProfileAacLtp = Profile(C.FF_PROFILE_AAC_LTP) ProfileAacMain = Profile(C.FF_PROFILE_AAC_MAIN) ProfileAacSsr = Profile(C.FF_PROFILE_AAC_SSR) ProfileAv1High = Profile(C.FF_PROFILE_AV1_HIGH) ProfileAv1Main = Profile(C.FF_PROFILE_AV1_MAIN) ProfileAv1Professional = Profile(C.FF_PROFILE_AV1_PROFESSIONAL) ProfileDnxhd = Profile(C.FF_PROFILE_DNXHD) ProfileDnxhr444 = Profile(C.FF_PROFILE_DNXHR_444) ProfileDnxhrHq = Profile(C.FF_PROFILE_DNXHR_HQ) ProfileDnxhrHqx = Profile(C.FF_PROFILE_DNXHR_HQX) ProfileDnxhrLb = Profile(C.FF_PROFILE_DNXHR_LB) ProfileDnxhrSq = Profile(C.FF_PROFILE_DNXHR_SQ) ProfileDts = Profile(C.FF_PROFILE_DTS) ProfileDts9624 = Profile(C.FF_PROFILE_DTS_96_24) ProfileDtsEs = Profile(C.FF_PROFILE_DTS_ES) ProfileDtsExpress = Profile(C.FF_PROFILE_DTS_EXPRESS) ProfileDtsHdHra = Profile(C.FF_PROFILE_DTS_HD_HRA) ProfileDtsHdMa = Profile(C.FF_PROFILE_DTS_HD_MA) ProfileH264Baseline = Profile(C.FF_PROFILE_H264_BASELINE) ProfileH264Cavlc444 = Profile(C.FF_PROFILE_H264_CAVLC_444) ProfileH264Constrained = Profile(C.FF_PROFILE_H264_CONSTRAINED) ProfileH264ConstrainedBaseline = Profile(C.FF_PROFILE_H264_CONSTRAINED_BASELINE) ProfileH264Extended = Profile(C.FF_PROFILE_H264_EXTENDED) ProfileH264High = Profile(C.FF_PROFILE_H264_HIGH) ProfileH264High10 = Profile(C.FF_PROFILE_H264_HIGH_10) ProfileH264High10Intra = Profile(C.FF_PROFILE_H264_HIGH_10_INTRA) ProfileH264High422 = Profile(C.FF_PROFILE_H264_HIGH_422) ProfileH264High422Intra = Profile(C.FF_PROFILE_H264_HIGH_422_INTRA) ProfileH264High444 = Profile(C.FF_PROFILE_H264_HIGH_444) ProfileH264High444Intra = Profile(C.FF_PROFILE_H264_HIGH_444_INTRA) ProfileH264High444Predictive = Profile(C.FF_PROFILE_H264_HIGH_444_PREDICTIVE) ProfileH264Intra = Profile(C.FF_PROFILE_H264_INTRA) ProfileH264Main = Profile(C.FF_PROFILE_H264_MAIN) ProfileH264MultiviewHigh = Profile(C.FF_PROFILE_H264_MULTIVIEW_HIGH) ProfileH264StereoHigh = Profile(C.FF_PROFILE_H264_STEREO_HIGH) ProfileHevcMain = Profile(C.FF_PROFILE_HEVC_MAIN) ProfileHevcMain10 = Profile(C.FF_PROFILE_HEVC_MAIN_10) ProfileHevcMainStillPicture = Profile(C.FF_PROFILE_HEVC_MAIN_STILL_PICTURE) ProfileHevcRext = Profile(C.FF_PROFILE_HEVC_REXT) ProfileJpeg2000CstreamNoRestriction = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION) ProfileJpeg2000CstreamRestriction0 = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0) ProfileJpeg2000CstreamRestriction1 = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1) ProfileJpeg2000Dcinema2K = Profile(C.FF_PROFILE_JPEG2000_DCINEMA_2K) ProfileJpeg2000Dcinema4K = Profile(C.FF_PROFILE_JPEG2000_DCINEMA_4K) ProfileMjpegHuffmanBaselineDct = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT) ProfileMjpegHuffmanExtendedSequentialDct = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT) ProfileMjpegHuffmanLossless = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS) ProfileMjpegHuffmanProgressiveDct = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT) ProfileMjpegJpegLs = Profile(C.FF_PROFILE_MJPEG_JPEG_LS) ProfileMpeg2422 = Profile(C.FF_PROFILE_MPEG2_422) ProfileMpeg2AacHe = Profile(C.FF_PROFILE_MPEG2_AAC_HE) ProfileMpeg2AacLow = Profile(C.FF_PROFILE_MPEG2_AAC_LOW) ProfileMpeg2High = Profile(C.FF_PROFILE_MPEG2_HIGH) ProfileMpeg2Main = Profile(C.FF_PROFILE_MPEG2_MAIN) ProfileMpeg2Simple = Profile(C.FF_PROFILE_MPEG2_SIMPLE) ProfileMpeg2SnrScalable = Profile(C.FF_PROFILE_MPEG2_SNR_SCALABLE) ProfileMpeg2Ss = Profile(C.FF_PROFILE_MPEG2_SS) ProfileMpeg4AdvancedCoding = Profile(C.FF_PROFILE_MPEG4_ADVANCED_CODING) ProfileMpeg4AdvancedCore = Profile(C.FF_PROFILE_MPEG4_ADVANCED_CORE) ProfileMpeg4AdvancedRealTime = Profile(C.FF_PROFILE_MPEG4_ADVANCED_REAL_TIME) ProfileMpeg4AdvancedScalableTexture = Profile(C.FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE) ProfileMpeg4AdvancedSimple = Profile(C.FF_PROFILE_MPEG4_ADVANCED_SIMPLE) ProfileMpeg4BasicAnimatedTexture = Profile(C.FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE) ProfileMpeg4Core = Profile(C.FF_PROFILE_MPEG4_CORE) ProfileMpeg4CoreScalable = Profile(C.FF_PROFILE_MPEG4_CORE_SCALABLE) ProfileMpeg4Hybrid = Profile(C.FF_PROFILE_MPEG4_HYBRID) ProfileMpeg4Main = Profile(C.FF_PROFILE_MPEG4_MAIN) ProfileMpeg4NBit = Profile(C.FF_PROFILE_MPEG4_N_BIT) ProfileMpeg4ScalableTexture = Profile(C.FF_PROFILE_MPEG4_SCALABLE_TEXTURE) ProfileMpeg4Simple = Profile(C.FF_PROFILE_MPEG4_SIMPLE) ProfileMpeg4SimpleFaceAnimation = Profile(C.FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION) ProfileMpeg4SimpleScalable = Profile(C.FF_PROFILE_MPEG4_SIMPLE_SCALABLE) ProfileMpeg4SimpleStudio = Profile(C.FF_PROFILE_MPEG4_SIMPLE_STUDIO) ProfileReserved = Profile(C.FF_PROFILE_RESERVED) ProfileSbcMsbc = Profile(C.FF_PROFILE_SBC_MSBC) ProfileUnknown = Profile(C.FF_PROFILE_UNKNOWN) ProfileVc1Advanced = Profile(C.FF_PROFILE_VC1_ADVANCED) ProfileVc1Complex = Profile(C.FF_PROFILE_VC1_COMPLEX) ProfileVc1Main = Profile(C.FF_PROFILE_VC1_MAIN) ProfileVc1Simple = Profile(C.FF_PROFILE_VC1_SIMPLE) ProfileVp90 = Profile(C.FF_PROFILE_VP9_0) ProfileVp91 = Profile(C.FF_PROFILE_VP9_1) ProfileVp92 = Profile(C.FF_PROFILE_VP9_2) ProfileVp93 = Profile(C.FF_PROFILE_VP9_3) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1526
const ( RoundingZero = Rounding(C.AV_ROUND_ZERO) RoundingInf = Rounding(C.AV_ROUND_INF) RoundingDown = Rounding(C.AV_ROUND_DOWN) RoundingUp = Rounding(C.AV_ROUND_UP) RoundingNearInf = Rounding(C.AV_ROUND_NEAR_INF) RoundingPassMinmax = Rounding(C.AV_ROUND_PASS_MINMAX) )
const ( SampleFormatDbl = SampleFormat(C.AV_SAMPLE_FMT_DBL) SampleFormatDblp = SampleFormat(C.AV_SAMPLE_FMT_DBLP) SampleFormatFlt = SampleFormat(C.AV_SAMPLE_FMT_FLT) SampleFormatFltp = SampleFormat(C.AV_SAMPLE_FMT_FLTP) SampleFormatNb = SampleFormat(C.AV_SAMPLE_FMT_NB) SampleFormatNone = SampleFormat(C.AV_SAMPLE_FMT_NONE) SampleFormatS16 = SampleFormat(C.AV_SAMPLE_FMT_S16) SampleFormatS16P = SampleFormat(C.AV_SAMPLE_FMT_S16P) SampleFormatS32 = SampleFormat(C.AV_SAMPLE_FMT_S32) SampleFormatS32P = SampleFormat(C.AV_SAMPLE_FMT_S32P) SampleFormatS64 = SampleFormat(C.AV_SAMPLE_FMT_S64) SampleFormatS64P = SampleFormat(C.AV_SAMPLE_FMT_S64P) SampleFormatU8 = SampleFormat(C.AV_SAMPLE_FMT_U8) SampleFormatU8P = SampleFormat(C.AV_SAMPLE_FMT_U8P) )
const ( SeekFlagAny = SeekFlag(C.AVSEEK_FLAG_ANY) SeekFlagBackward = SeekFlag(C.AVSEEK_FLAG_BACKWARD) SeekFlagByte = SeekFlag(C.AVSEEK_FLAG_BYTE) SeekFlagFrame = SeekFlag(C.AVSEEK_FLAG_FRAME) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L2277
const ( SoftwareScaleContextFlagArea = SoftwareScaleContextFlag(C.SWS_AREA) SoftwareScaleContextFlagBicubic = SoftwareScaleContextFlag(C.SWS_BICUBIC) SoftwareScaleContextFlagBicublin = SoftwareScaleContextFlag(C.SWS_BICUBLIN) SoftwareScaleContextFlagBilinear = SoftwareScaleContextFlag(C.SWS_BILINEAR) SoftwareScaleContextFlagFastBilinear = SoftwareScaleContextFlag(C.SWS_FAST_BILINEAR) SoftwareScaleContextFlagGauss = SoftwareScaleContextFlag(C.SWS_GAUSS) SoftwareScaleContextFlagLanczos = SoftwareScaleContextFlag(C.SWS_LANCZOS) SoftwareScaleContextFlagPoint = SoftwareScaleContextFlag(C.SWS_POINT) SoftwareScaleContextFlagSinc = SoftwareScaleContextFlag(C.SWS_SINC) SoftwareScaleContextFlagSpline = SoftwareScaleContextFlag(C.SWS_SPLINE) SoftwareScaleContextFlagX = SoftwareScaleContextFlag(C.SWS_X) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale.h#L59
const ( StrictStdComplianceVeryStrict = StrictStdCompliance(C.FF_COMPLIANCE_VERY_STRICT) StrictStdComplianceStrict = StrictStdCompliance(C.FF_COMPLIANCE_STRICT) StrictStdComplianceNormal = StrictStdCompliance(C.FF_COMPLIANCE_NORMAL) StrictStdComplianceUnofficial = StrictStdCompliance(C.FF_COMPLIANCE_UNOFFICIAL) StrictStdComplianceExperimental = StrictStdCompliance(C.FF_COMPLIANCE_EXPERIMENTAL) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1281
const ( ThreadTypeFrame = ThreadType(C.FF_THREAD_FRAME) ThreadTypeSlice = ThreadType(C.FF_THREAD_SLICE) ThreadTypeUndefined = ThreadType(0) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1451
const ( NoPtsValue = int64(C.AV_NOPTS_VALUE) TimeBase = int(C.AV_TIME_BASE) )
const (
FormatEventFlagMetadataUpdated = FormatEventFlag(C.AVFMT_EVENT_FLAG_METADATA_UPDATED)
)
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1519
const (
LevelUnknown = Level(C.FF_LEVEL_UNKNOWN)
)
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1652
const NumDataPointers = uint(C.AV_NUM_DATA_POINTERS)
const (
StreamEventFlagMetadataUpdated = StreamEventFlag(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
)
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1070
Variables ¶
var ( ChannelLayoutMono = newChannelLayoutFromC(C.astiavChannelLayoutMono) ChannelLayoutStereo = newChannelLayoutFromC(C.astiavChannelLayoutStereo) ChannelLayout2Point1 = newChannelLayoutFromC(C.astiavChannelLayout2Point1) ChannelLayout21 = newChannelLayoutFromC(C.astiavChannelLayout21) ChannelLayoutSurround = newChannelLayoutFromC(C.astiavChannelLayoutSurround) ChannelLayout3Point1 = newChannelLayoutFromC(C.astiavChannelLayout3Point1) ChannelLayout4Point0 = newChannelLayoutFromC(C.astiavChannelLayout4Point0) ChannelLayout4Point1 = newChannelLayoutFromC(C.astiavChannelLayout4Point1) ChannelLayout22 = newChannelLayoutFromC(C.astiavChannelLayout22) ChannelLayoutQuad = newChannelLayoutFromC(C.astiavChannelLayoutQuad) ChannelLayout5Point0 = newChannelLayoutFromC(C.astiavChannelLayout5Point0) ChannelLayout5Point1 = newChannelLayoutFromC(C.astiavChannelLayout5Point1) ChannelLayout5Point0Back = newChannelLayoutFromC(C.astiavChannelLayout5Point0Back) ChannelLayout5Point1Back = newChannelLayoutFromC(C.astiavChannelLayout5Point1Back) ChannelLayout6Point0 = newChannelLayoutFromC(C.astiavChannelLayout6Point0) ChannelLayout6Point0Front = newChannelLayoutFromC(C.astiavChannelLayout6Point0Front) ChannelLayoutHexagonal = newChannelLayoutFromC(C.astiavChannelLayoutHexagonal) ChannelLayout3Point1Point2 = newChannelLayoutFromC(C.astiavChannelLayout3Point1Point2) ChannelLayout6Point1 = newChannelLayoutFromC(C.astiavChannelLayout6Point1) ChannelLayout6Point1Back = newChannelLayoutFromC(C.astiavChannelLayout6Point1Back) ChannelLayout6Point1Front = newChannelLayoutFromC(C.astiavChannelLayout6Point1Front) ChannelLayout7Point0 = newChannelLayoutFromC(C.astiavChannelLayout7Point0) ChannelLayout7Point0Front = newChannelLayoutFromC(C.astiavChannelLayout7Point0Front) ChannelLayout7Point1 = newChannelLayoutFromC(C.astiavChannelLayout7Point1) ChannelLayout7Point1Wide = newChannelLayoutFromC(C.astiavChannelLayout7Point1Wide) ChannelLayout7Point1WideBack = newChannelLayoutFromC(C.astiavChannelLayout7Point1WideBack) ChannelLayout5Point1Point2Back = newChannelLayoutFromC(C.astiavChannelLayout5Point1Point2Back) ChannelLayoutOctagonal = newChannelLayoutFromC(C.astiavChannelLayoutOctagonal) ChannelLayoutCube = newChannelLayoutFromC(C.astiavChannelLayoutCube) ChannelLayout5Point1Point4Back = newChannelLayoutFromC(C.astiavChannelLayout5Point1Point4Back) ChannelLayout7Point1Point2 = newChannelLayoutFromC(C.astiavChannelLayout7Point1Point2) ChannelLayout7Point1Point4Back = newChannelLayoutFromC(C.astiavChannelLayout7Point1Point4Back) ChannelLayoutHexadecagonal = newChannelLayoutFromC(C.astiavChannelLayoutHexadecagonal) ChannelLayoutStereoDownmix = newChannelLayoutFromC(C.astiavChannelLayoutStereoDownmix) ChannelLayout22Point2 = newChannelLayoutFromC(C.astiavChannelLayout22Point2) ChannelLayout7Point1TopBack = newChannelLayoutFromC(C.astiavChannelLayout7Point1TopBack) )
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/channel_layout.h#L90
var (
TimeBaseQ = newRationalFromC(C.AV_TIME_BASE_Q)
)
Functions ¶
func RL32WithOffset ¶
func RegisterAllDevices ¶ added in v0.11.0
func RegisterAllDevices()
func RelativeTime ¶ added in v0.13.0
func RelativeTime() int64
func ResetLogCallback ¶
func ResetLogCallback()
func SetLogCallback ¶
func SetLogCallback(c LogCallback)
func SetLogLevel ¶
func SetLogLevel(l LogLevel)
Types ¶
type AudioFifo ¶ added in v0.19.0
type AudioFifo struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavutil/audio_fifo.c#L37
func AllocAudioFifo ¶ added in v0.19.0
func AllocAudioFifo(sampleFmt SampleFormat, channels int, nbSamples int) *AudioFifo
type BitStreamFilter ¶ added in v0.15.0
type BitStreamFilter struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/release/5.1/libavcodec/bsf.h#L111
func FindBitStreamFilterByName ¶ added in v0.15.0
func FindBitStreamFilterByName(n string) *BitStreamFilter
func (*BitStreamFilter) Name ¶ added in v0.15.0
func (bsf *BitStreamFilter) Name() string
func (*BitStreamFilter) String ¶ added in v0.15.0
func (bsf *BitStreamFilter) String() string
type BitStreamFilterContext ¶ added in v0.15.0
type BitStreamFilterContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/release/5.1/libavcodec/bsf.h#L68
func AllocBitStreamFilterContext ¶ added in v0.15.0
func AllocBitStreamFilterContext(f *BitStreamFilter) (*BitStreamFilterContext, error)
func (*BitStreamFilterContext) Class ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Class() *Class
func (*BitStreamFilterContext) Free ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Free()
func (*BitStreamFilterContext) Initialize ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Initialize() error
func (*BitStreamFilterContext) InputCodecParameters ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) InputCodecParameters() *CodecParameters
func (*BitStreamFilterContext) InputTimeBase ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) InputTimeBase() Rational
func (*BitStreamFilterContext) ReceivePacket ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) ReceivePacket(p *Packet) error
func (*BitStreamFilterContext) SendPacket ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) SendPacket(p *Packet) error
func (*BitStreamFilterContext) SetInputTimeBase ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) SetInputTimeBase(r Rational)
type BuffersinkFilterContext ¶ added in v0.24.0
type BuffersinkFilterContext struct {
// contains filtered or unexported fields
}
func (*BuffersinkFilterContext) ChannelLayout ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) ChannelLayout() ChannelLayout
func (*BuffersinkFilterContext) ColorRange ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) ColorRange() ColorRange
func (*BuffersinkFilterContext) ColorSpace ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) ColorSpace() ColorSpace
func (*BuffersinkFilterContext) FilterContext ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) FilterContext() *FilterContext
func (*BuffersinkFilterContext) FrameRate ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) FrameRate() Rational
func (*BuffersinkFilterContext) GetFrame ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) GetFrame(f *Frame, fs BuffersinkFlags) error
func (*BuffersinkFilterContext) Height ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) Height() int
func (*BuffersinkFilterContext) MediaType ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) MediaType() MediaType
func (*BuffersinkFilterContext) PixelFormat ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) PixelFormat() PixelFormat
func (*BuffersinkFilterContext) SampleAspectRatio ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) SampleAspectRatio() Rational
func (*BuffersinkFilterContext) SampleFormat ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) SampleFormat() SampleFormat
func (*BuffersinkFilterContext) SampleRate ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) SampleRate() int
func (*BuffersinkFilterContext) TimeBase ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) TimeBase() Rational
func (*BuffersinkFilterContext) Width ¶ added in v0.24.0
func (bfc *BuffersinkFilterContext) Width() int
type BuffersinkFlag ¶
type BuffersinkFlag int64
type BuffersinkFlags ¶
type BuffersinkFlags astikit.BitFlags
func NewBuffersinkFlags ¶
func NewBuffersinkFlags(fs ...BuffersinkFlag) BuffersinkFlags
func (BuffersinkFlags) Add ¶
func (fs BuffersinkFlags) Add(f BuffersinkFlag) BuffersinkFlags
func (BuffersinkFlags) Del ¶
func (fs BuffersinkFlags) Del(f BuffersinkFlag) BuffersinkFlags
func (BuffersinkFlags) Has ¶
func (fs BuffersinkFlags) Has(f BuffersinkFlag) bool
type BuffersrcFilterContext ¶ added in v0.24.0
type BuffersrcFilterContext struct {
// contains filtered or unexported fields
}
func (*BuffersrcFilterContext) AddFrame ¶ added in v0.24.0
func (bfc *BuffersrcFilterContext) AddFrame(f *Frame, fs BuffersrcFlags) error
func (*BuffersrcFilterContext) FilterContext ¶ added in v0.24.0
func (bfc *BuffersrcFilterContext) FilterContext() *FilterContext
type BuffersrcFlag ¶
type BuffersrcFlag int64
type BuffersrcFlags ¶
type BuffersrcFlags astikit.BitFlags
func NewBuffersrcFlags ¶
func NewBuffersrcFlags(fs ...BuffersrcFlag) BuffersrcFlags
func (BuffersrcFlags) Add ¶
func (fs BuffersrcFlags) Add(f BuffersrcFlag) BuffersrcFlags
func (BuffersrcFlags) Del ¶
func (fs BuffersrcFlags) Del(f BuffersrcFlag) BuffersrcFlags
func (BuffersrcFlags) Has ¶
func (fs BuffersrcFlags) Has(f BuffersrcFlag) bool
type ChannelLayout ¶
type ChannelLayout struct {
// contains filtered or unexported fields
}
func (ChannelLayout) Channels ¶ added in v0.17.0
func (l ChannelLayout) Channels() int
func (ChannelLayout) Compare ¶ added in v0.8.0
func (l ChannelLayout) Compare(l2 ChannelLayout) (equal bool, err error)
func (ChannelLayout) Describe ¶ added in v0.8.0
func (l ChannelLayout) Describe(b []byte) (int, error)
func (ChannelLayout) Equal ¶ added in v0.8.0
func (l ChannelLayout) Equal(l2 ChannelLayout) bool
func (ChannelLayout) String ¶
func (l ChannelLayout) String() string
func (ChannelLayout) Valid ¶ added in v0.8.0
func (l ChannelLayout) Valid() bool
type ChromaLocation ¶
type ChromaLocation C.enum_AVChromaLocation
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L616
type Class ¶ added in v0.13.0
type Class struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/log.h#L66
func (*Class) Category ¶ added in v0.13.0
func (c *Class) Category() ClassCategory
type ClassCategory ¶ added in v0.13.0
type ClassCategory C.AVClassCategory
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/log.h#L28
type ClonedClasser ¶ added in v0.21.0
type ClonedClasser struct {
// contains filtered or unexported fields
}
func (*ClonedClasser) Class ¶ added in v0.21.0
func (c *ClonedClasser) Class() *Class
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L202
func FindDecoder ¶
func FindDecoderByName ¶
func FindEncoder ¶
func FindEncoderByName ¶
func (*Codec) ChannelLayouts ¶
func (c *Codec) ChannelLayouts() (o []ChannelLayout)
func (*Codec) HardwareConfigs ¶ added in v0.13.0
func (c *Codec) HardwareConfigs() (configs []CodecHardwareConfig)
func (*Codec) PixelFormats ¶
func (c *Codec) PixelFormats() (o []PixelFormat)
func (*Codec) SampleFormats ¶
func (c *Codec) SampleFormats() (o []SampleFormat)
type CodecContext ¶
type CodecContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L383
func AllocCodecContext ¶
func AllocCodecContext(c *Codec) *CodecContext
func (*CodecContext) BitRate ¶
func (cc *CodecContext) BitRate() int64
func (*CodecContext) ChannelLayout ¶
func (cc *CodecContext) ChannelLayout() ChannelLayout
func (*CodecContext) ChromaLocation ¶
func (cc *CodecContext) ChromaLocation() ChromaLocation
func (*CodecContext) Class ¶ added in v0.13.0
func (cc *CodecContext) Class() *Class
func (*CodecContext) CodecID ¶
func (cc *CodecContext) CodecID() CodecID
func (*CodecContext) ColorPrimaries ¶
func (cc *CodecContext) ColorPrimaries() ColorPrimaries
func (*CodecContext) ColorRange ¶
func (cc *CodecContext) ColorRange() ColorRange
func (*CodecContext) ColorSpace ¶
func (cc *CodecContext) ColorSpace() ColorSpace
func (*CodecContext) ColorTransferCharacteristic ¶
func (cc *CodecContext) ColorTransferCharacteristic() ColorTransferCharacteristic
func (*CodecContext) ExtraData ¶ added in v0.14.0
func (cc *CodecContext) ExtraData() []byte
func (*CodecContext) ExtraHardwareFrames ¶ added in v0.14.0
func (cc *CodecContext) ExtraHardwareFrames() int
func (*CodecContext) Flags ¶
func (cc *CodecContext) Flags() CodecContextFlags
func (*CodecContext) Flags2 ¶
func (cc *CodecContext) Flags2() CodecContextFlags2
func (*CodecContext) FrameSize ¶
func (cc *CodecContext) FrameSize() int
func (*CodecContext) Framerate ¶
func (cc *CodecContext) Framerate() Rational
func (*CodecContext) Free ¶
func (cc *CodecContext) Free()
func (*CodecContext) FromCodecParameters ¶ added in v0.14.0
func (cc *CodecContext) FromCodecParameters(cp *CodecParameters) error
func (*CodecContext) GopSize ¶
func (cc *CodecContext) GopSize() int
func (*CodecContext) Height ¶
func (cc *CodecContext) Height() int
func (*CodecContext) Level ¶
func (cc *CodecContext) Level() Level
func (*CodecContext) MediaType ¶
func (cc *CodecContext) MediaType() MediaType
func (*CodecContext) Open ¶
func (cc *CodecContext) Open(c *Codec, d *Dictionary) error
func (*CodecContext) PixelFormat ¶
func (cc *CodecContext) PixelFormat() PixelFormat
func (*CodecContext) Profile ¶
func (cc *CodecContext) Profile() Profile
func (*CodecContext) Qmin ¶ added in v0.8.0
func (cc *CodecContext) Qmin() int
func (*CodecContext) ReceiveFrame ¶
func (cc *CodecContext) ReceiveFrame(f *Frame) error
func (*CodecContext) ReceivePacket ¶
func (cc *CodecContext) ReceivePacket(p *Packet) error
func (*CodecContext) SampleAspectRatio ¶
func (cc *CodecContext) SampleAspectRatio() Rational
func (*CodecContext) SampleFormat ¶
func (cc *CodecContext) SampleFormat() SampleFormat
func (*CodecContext) SampleRate ¶
func (cc *CodecContext) SampleRate() int
func (*CodecContext) SendFrame ¶
func (cc *CodecContext) SendFrame(f *Frame) error
func (*CodecContext) SendPacket ¶
func (cc *CodecContext) SendPacket(p *Packet) error
func (*CodecContext) SetBitRate ¶
func (cc *CodecContext) SetBitRate(bitRate int64)
func (*CodecContext) SetChannelLayout ¶
func (cc *CodecContext) SetChannelLayout(l ChannelLayout)
func (*CodecContext) SetExtraData ¶ added in v0.14.0
func (cc *CodecContext) SetExtraData(b []byte) error
func (*CodecContext) SetExtraHardwareFrames ¶ added in v0.14.0
func (cc *CodecContext) SetExtraHardwareFrames(n int)
func (*CodecContext) SetFlags ¶
func (cc *CodecContext) SetFlags(fs CodecContextFlags)
func (*CodecContext) SetFlags2 ¶
func (cc *CodecContext) SetFlags2(fs CodecContextFlags2)
func (*CodecContext) SetFramerate ¶
func (cc *CodecContext) SetFramerate(f Rational)
func (*CodecContext) SetGopSize ¶
func (cc *CodecContext) SetGopSize(gopSize int)
func (*CodecContext) SetHardwareDeviceContext ¶ added in v0.13.0
func (cc *CodecContext) SetHardwareDeviceContext(hdc *HardwareDeviceContext)
func (*CodecContext) SetHeight ¶
func (cc *CodecContext) SetHeight(height int)
func (*CodecContext) SetLevel ¶ added in v0.14.0
func (cc *CodecContext) SetLevel(l Level)
func (*CodecContext) SetPixelFormat ¶
func (cc *CodecContext) SetPixelFormat(pixFmt PixelFormat)
func (*CodecContext) SetPixelFormatCallback ¶ added in v0.13.0
func (cc *CodecContext) SetPixelFormatCallback(c CodecContextPixelFormatCallback)
func (*CodecContext) SetProfile ¶ added in v0.14.0
func (cc *CodecContext) SetProfile(p Profile)
func (*CodecContext) SetQmin ¶ added in v0.8.0
func (cc *CodecContext) SetQmin(qmin int)
func (*CodecContext) SetSampleAspectRatio ¶
func (cc *CodecContext) SetSampleAspectRatio(r Rational)
func (*CodecContext) SetSampleFormat ¶
func (cc *CodecContext) SetSampleFormat(f SampleFormat)
func (*CodecContext) SetSampleRate ¶
func (cc *CodecContext) SetSampleRate(sampleRate int)
func (*CodecContext) SetStrictStdCompliance ¶
func (cc *CodecContext) SetStrictStdCompliance(c StrictStdCompliance)
func (*CodecContext) SetThreadCount ¶
func (cc *CodecContext) SetThreadCount(threadCount int)
func (*CodecContext) SetThreadType ¶
func (cc *CodecContext) SetThreadType(t ThreadType)
func (*CodecContext) SetTimeBase ¶
func (cc *CodecContext) SetTimeBase(r Rational)
func (*CodecContext) SetWidth ¶
func (cc *CodecContext) SetWidth(width int)
func (*CodecContext) StrictStdCompliance ¶
func (cc *CodecContext) StrictStdCompliance() StrictStdCompliance
func (*CodecContext) String ¶
func (cc *CodecContext) String() string
func (*CodecContext) ThreadCount ¶
func (cc *CodecContext) ThreadCount() int
func (*CodecContext) ThreadType ¶
func (cc *CodecContext) ThreadType() ThreadType
func (*CodecContext) TimeBase ¶
func (cc *CodecContext) TimeBase() Rational
func (*CodecContext) ToCodecParameters ¶ added in v0.14.0
func (cc *CodecContext) ToCodecParameters(cp *CodecParameters) error
func (*CodecContext) Width ¶
func (cc *CodecContext) Width() int
type CodecContextFlag ¶
type CodecContextFlag int64
type CodecContextFlag2 ¶
type CodecContextFlag2 int64
type CodecContextFlags ¶
type CodecContextFlags astikit.BitFlags
func NewCodecContextFlags ¶
func NewCodecContextFlags(fs ...CodecContextFlag) CodecContextFlags
func (CodecContextFlags) Add ¶
func (fs CodecContextFlags) Add(f CodecContextFlag) CodecContextFlags
func (CodecContextFlags) Del ¶
func (fs CodecContextFlags) Del(f CodecContextFlag) CodecContextFlags
func (CodecContextFlags) Has ¶
func (fs CodecContextFlags) Has(f CodecContextFlag) bool
type CodecContextFlags2 ¶
type CodecContextFlags2 astikit.BitFlags
func NewCodecContextFlags2 ¶
func NewCodecContextFlags2(fs ...CodecContextFlag2) CodecContextFlags2
func (CodecContextFlags2) Add ¶
func (fs CodecContextFlags2) Add(f CodecContextFlag2) CodecContextFlags2
func (CodecContextFlags2) Del ¶
func (fs CodecContextFlags2) Del(f CodecContextFlag2) CodecContextFlags2
func (CodecContextFlags2) Has ¶
func (fs CodecContextFlags2) Has(f CodecContextFlag2) bool
type CodecContextPixelFormatCallback ¶ added in v0.13.0
type CodecContextPixelFormatCallback func(pfs []PixelFormat) PixelFormat
type CodecHardwareConfig ¶ added in v0.13.0
type CodecHardwareConfig struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L460
func (CodecHardwareConfig) HardwareDeviceType ¶ added in v0.13.0
func (chc CodecHardwareConfig) HardwareDeviceType() HardwareDeviceType
func (CodecHardwareConfig) MethodFlags ¶ added in v0.13.0
func (chc CodecHardwareConfig) MethodFlags() CodecHardwareConfigMethodFlags
func (CodecHardwareConfig) PixelFormat ¶ added in v0.13.0
func (chc CodecHardwareConfig) PixelFormat() PixelFormat
type CodecHardwareConfigMethodFlag ¶ added in v0.13.0
type CodecHardwareConfigMethodFlag int64
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L420
type CodecHardwareConfigMethodFlags ¶ added in v0.13.0
type CodecHardwareConfigMethodFlags astikit.BitFlags
func NewCodecHardwareConfigMethodFlags ¶ added in v0.13.0
func NewCodecHardwareConfigMethodFlags(fs ...CodecHardwareConfigMethodFlag) CodecHardwareConfigMethodFlags
func (CodecHardwareConfigMethodFlags) Has ¶ added in v0.13.0
func (fs CodecHardwareConfigMethodFlags) Has(f CodecHardwareConfigMethodFlag) bool
type CodecID ¶
type CodecID C.enum_AVCodecID
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec_id.h#L47
type CodecParameters ¶
type CodecParameters struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec_par.h#L52
func AllocCodecParameters ¶
func AllocCodecParameters() *CodecParameters
func (*CodecParameters) BitRate ¶
func (cp *CodecParameters) BitRate() int64
func (*CodecParameters) ChannelLayout ¶
func (cp *CodecParameters) ChannelLayout() ChannelLayout
func (*CodecParameters) ChromaLocation ¶
func (cp *CodecParameters) ChromaLocation() ChromaLocation
func (*CodecParameters) CodecID ¶
func (cp *CodecParameters) CodecID() CodecID
func (*CodecParameters) CodecTag ¶
func (cp *CodecParameters) CodecTag() CodecTag
func (*CodecParameters) CodecType ¶ added in v0.4.0
func (cp *CodecParameters) CodecType() MediaType
func (*CodecParameters) ColorPrimaries ¶
func (cp *CodecParameters) ColorPrimaries() ColorPrimaries
func (*CodecParameters) ColorRange ¶
func (cp *CodecParameters) ColorRange() ColorRange
func (*CodecParameters) ColorSpace ¶
func (cp *CodecParameters) ColorSpace() ColorSpace
func (*CodecParameters) ColorTransferCharacteristic ¶
func (cp *CodecParameters) ColorTransferCharacteristic() ColorTransferCharacteristic
func (*CodecParameters) Copy ¶
func (cp *CodecParameters) Copy(dst *CodecParameters) error
func (*CodecParameters) ExtraData ¶ added in v0.14.0
func (cp *CodecParameters) ExtraData() []byte
func (*CodecParameters) FrameSize ¶
func (cp *CodecParameters) FrameSize() int
func (*CodecParameters) Free ¶
func (cp *CodecParameters) Free()
func (*CodecParameters) FromCodecContext ¶
func (cp *CodecParameters) FromCodecContext(cc *CodecContext) error
func (*CodecParameters) Height ¶
func (cp *CodecParameters) Height() int
func (*CodecParameters) Level ¶
func (cp *CodecParameters) Level() Level
func (*CodecParameters) MediaType ¶
func (cp *CodecParameters) MediaType() MediaType
func (*CodecParameters) PixelFormat ¶
func (cp *CodecParameters) PixelFormat() PixelFormat
func (*CodecParameters) Profile ¶
func (cp *CodecParameters) Profile() Profile
func (*CodecParameters) SampleAspectRatio ¶
func (cp *CodecParameters) SampleAspectRatio() Rational
func (*CodecParameters) SampleFormat ¶
func (cp *CodecParameters) SampleFormat() SampleFormat
func (*CodecParameters) SampleRate ¶
func (cp *CodecParameters) SampleRate() int
func (*CodecParameters) SetChannelLayout ¶ added in v0.5.0
func (cp *CodecParameters) SetChannelLayout(l ChannelLayout)
func (*CodecParameters) SetCodecID ¶ added in v0.4.0
func (cp *CodecParameters) SetCodecID(i CodecID)
func (*CodecParameters) SetCodecTag ¶
func (cp *CodecParameters) SetCodecTag(t CodecTag)
func (*CodecParameters) SetCodecType ¶ added in v0.4.0
func (cp *CodecParameters) SetCodecType(t MediaType)
func (*CodecParameters) SetColorRange ¶ added in v0.14.0
func (cp *CodecParameters) SetColorRange(r ColorRange)
func (*CodecParameters) SetColorSpace ¶ added in v0.20.0
func (cp *CodecParameters) SetColorSpace(s ColorSpace)
func (*CodecParameters) SetExtraData ¶ added in v0.14.0
func (cp *CodecParameters) SetExtraData(b []byte) error
func (*CodecParameters) SetFrameSize ¶ added in v0.14.0
func (cp *CodecParameters) SetFrameSize(i int)
func (*CodecParameters) SetHeight ¶ added in v0.4.0
func (cp *CodecParameters) SetHeight(h int)
func (*CodecParameters) SetLevel ¶ added in v0.14.0
func (cp *CodecParameters) SetLevel(l Level)
func (*CodecParameters) SetMediaType ¶ added in v0.14.0
func (cp *CodecParameters) SetMediaType(t MediaType)
func (*CodecParameters) SetPixelFormat ¶ added in v0.4.0
func (cp *CodecParameters) SetPixelFormat(f PixelFormat)
func (*CodecParameters) SetProfile ¶ added in v0.14.0
func (cp *CodecParameters) SetProfile(p Profile)
func (*CodecParameters) SetSampleAspectRatio ¶ added in v0.4.0
func (cp *CodecParameters) SetSampleAspectRatio(r Rational)
func (*CodecParameters) SetSampleFormat ¶ added in v0.5.0
func (cp *CodecParameters) SetSampleFormat(f SampleFormat)
func (*CodecParameters) SetSampleRate ¶ added in v0.5.0
func (cp *CodecParameters) SetSampleRate(r int)
func (*CodecParameters) SetWidth ¶ added in v0.4.0
func (cp *CodecParameters) SetWidth(w int)
func (*CodecParameters) SideData ¶ added in v0.17.0
func (cp *CodecParameters) SideData() *PacketSideData
func (*CodecParameters) ToCodecContext ¶
func (cp *CodecParameters) ToCodecContext(cc *CodecContext) error
func (*CodecParameters) Width ¶
func (cp *CodecParameters) Width() int
type ColorPrimaries ¶
type ColorPrimaries C.enum_AVColorPrimaries
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L469
type ColorRange ¶
type ColorRange C.enum_AVColorRange
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L562
func (ColorRange) String ¶ added in v0.20.0
func (r ColorRange) String() string
type ColorSpace ¶
type ColorSpace C.enum_AVColorSpace
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L523
func (ColorSpace) String ¶ added in v0.20.0
func (s ColorSpace) String() string
type ColorTransferCharacteristic ¶
type ColorTransferCharacteristic C.enum_AVColorTransferCharacteristic
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L494
type Dictionary ¶
type Dictionary struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L84
func NewDictionary ¶
func NewDictionary() *Dictionary
func (*Dictionary) Free ¶
func (d *Dictionary) Free()
func (*Dictionary) Get ¶
func (d *Dictionary) Get(key string, prev *DictionaryEntry, flags DictionaryFlags) *DictionaryEntry
func (*Dictionary) Pack ¶
func (d *Dictionary) Pack() []byte
func (*Dictionary) ParseString ¶
func (d *Dictionary) ParseString(i, keyValSep, pairsSep string, flags DictionaryFlags) error
func (*Dictionary) Set ¶
func (d *Dictionary) Set(key, value string, flags DictionaryFlags) error
func (*Dictionary) Unpack ¶
func (d *Dictionary) Unpack(b []byte) error
type DictionaryEntry ¶
type DictionaryEntry struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L79
func (DictionaryEntry) Key ¶
func (e DictionaryEntry) Key() string
func (DictionaryEntry) Value ¶
func (e DictionaryEntry) Value() string
type DictionaryFlag ¶
type DictionaryFlag int64
type DictionaryFlags ¶
type DictionaryFlags astikit.BitFlags
func NewDictionaryFlags ¶
func NewDictionaryFlags(fs ...DictionaryFlag) DictionaryFlags
func (DictionaryFlags) Add ¶
func (fs DictionaryFlags) Add(f DictionaryFlag) DictionaryFlags
func (DictionaryFlags) Del ¶
func (fs DictionaryFlags) Del(f DictionaryFlag) DictionaryFlags
func (DictionaryFlags) Has ¶
func (fs DictionaryFlags) Has(f DictionaryFlag) bool
type DisplayMatrix ¶ added in v0.3.0
type DisplayMatrix [9]uint32
func NewDisplayMatrixFromBytes ¶ added in v0.3.0
func NewDisplayMatrixFromBytes(b []byte) (m *DisplayMatrix, err error)
func NewDisplayMatrixFromRotation ¶ added in v0.14.0
func NewDisplayMatrixFromRotation(angle float64) *DisplayMatrix
func (DisplayMatrix) Bytes ¶ added in v0.14.0
func (m DisplayMatrix) Bytes() []byte
func (DisplayMatrix) Rotation ¶ added in v0.3.0
func (m DisplayMatrix) Rotation() float64
Rotation is a clockwise angle
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L165
func FindFilterByName ¶
type FilterArgs ¶
func (FilterArgs) String ¶
func (args FilterArgs) String() string
type FilterChain ¶ added in v0.20.0
type FilterChain struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1142
func (*FilterChain) Filters ¶ added in v0.20.0
func (fc *FilterChain) Filters() (fs []*FilterParams)
func (*FilterChain) NbFilters ¶ added in v0.20.0
func (fc *FilterChain) NbFilters() int
type FilterCommandFlag ¶
type FilterCommandFlag int64
type FilterCommandFlags ¶
type FilterCommandFlags astikit.BitFlags
func NewFilterCommandFlags ¶
func NewFilterCommandFlags(fs ...FilterCommandFlag) FilterCommandFlags
func (FilterCommandFlags) Add ¶
func (fs FilterCommandFlags) Add(f FilterCommandFlag) FilterCommandFlags
func (FilterCommandFlags) Del ¶
func (fs FilterCommandFlags) Del(f FilterCommandFlag) FilterCommandFlags
func (FilterCommandFlags) Has ¶
func (fs FilterCommandFlags) Has(f FilterCommandFlag) bool
type FilterContext ¶
type FilterContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L67
func (*FilterContext) Class ¶ added in v0.13.0
func (fc *FilterContext) Class() *Class
func (*FilterContext) Free ¶
func (fc *FilterContext) Free()
type FilterGraph ¶
type FilterGraph struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L861
func AllocFilterGraph ¶
func AllocFilterGraph() *FilterGraph
func (*FilterGraph) Class ¶ added in v0.13.0
func (g *FilterGraph) Class() *Class
func (*FilterGraph) Configure ¶
func (g *FilterGraph) Configure() error
func (*FilterGraph) Free ¶
func (g *FilterGraph) Free()
func (*FilterGraph) NewBuffersinkFilterContext ¶ added in v0.24.0
func (g *FilterGraph) NewBuffersinkFilterContext(f *Filter, name string, args FilterArgs) (*BuffersinkFilterContext, error)
func (*FilterGraph) NewBuffersrcFilterContext ¶ added in v0.24.0
func (g *FilterGraph) NewBuffersrcFilterContext(f *Filter, name string, args FilterArgs) (*BuffersrcFilterContext, error)
func (*FilterGraph) NewFilterContext ¶
func (g *FilterGraph) NewFilterContext(f *Filter, name string, args FilterArgs) (*FilterContext, error)
func (*FilterGraph) Parse ¶
func (g *FilterGraph) Parse(content string, inputs, outputs *FilterInOut) error
func (*FilterGraph) ParseSegment ¶ added in v0.20.0
func (g *FilterGraph) ParseSegment(content string) (*FilterGraphSegment, error)
func (*FilterGraph) SendCommand ¶
func (g *FilterGraph) SendCommand(target, cmd, args string, f FilterCommandFlags) (response string, err error)
func (*FilterGraph) SetThreadCount ¶ added in v0.16.0
func (g *FilterGraph) SetThreadCount(threadCount int)
func (*FilterGraph) SetThreadType ¶ added in v0.16.0
func (g *FilterGraph) SetThreadType(t ThreadType)
func (*FilterGraph) String ¶
func (g *FilterGraph) String() string
func (*FilterGraph) ThreadCount ¶ added in v0.16.0
func (g *FilterGraph) ThreadCount() int
func (*FilterGraph) ThreadType ¶ added in v0.16.0
func (g *FilterGraph) ThreadType() ThreadType
type FilterGraphSegment ¶ added in v0.20.0
type FilterGraphSegment struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1156
func (*FilterGraphSegment) Chains ¶ added in v0.20.0
func (fgs *FilterGraphSegment) Chains() (cs []*FilterChain)
func (*FilterGraphSegment) Free ¶ added in v0.20.0
func (fgs *FilterGraphSegment) Free()
func (*FilterGraphSegment) NbChains ¶ added in v0.20.0
func (fgs *FilterGraphSegment) NbChains() int
type FilterInOut ¶
type FilterInOut struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L1021
func AllocFilterInOut ¶
func AllocFilterInOut() *FilterInOut
func (*FilterInOut) Free ¶
func (i *FilterInOut) Free()
func (*FilterInOut) SetFilterContext ¶
func (i *FilterInOut) SetFilterContext(c *FilterContext)
func (*FilterInOut) SetName ¶
func (i *FilterInOut) SetName(n string)
func (*FilterInOut) SetNext ¶
func (i *FilterInOut) SetNext(n *FilterInOut)
func (*FilterInOut) SetPadIdx ¶
func (i *FilterInOut) SetPadIdx(idx int)
type FilterPad ¶ added in v0.20.0
type FilterPad struct {
// contains filtered or unexported fields
}
Struct attributes are internal but there are C functions to get some of them
type FilterParams ¶ added in v0.20.0
type FilterParams struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1075
func (*FilterParams) FilterName ¶ added in v0.20.0
func (fp *FilterParams) FilterName() string
type FormatContext ¶
type FormatContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1202
func AllocFormatContext ¶
func AllocFormatContext() *FormatContext
func AllocOutputFormatContext ¶
func AllocOutputFormatContext(of *OutputFormat, formatName, filename string) (*FormatContext, error)
func (*FormatContext) BitRate ¶
func (fc *FormatContext) BitRate() int64
func (*FormatContext) Class ¶ added in v0.13.0
func (fc *FormatContext) Class() *Class
func (*FormatContext) CloseInput ¶
func (fc *FormatContext) CloseInput()
func (*FormatContext) CtxFlags ¶
func (fc *FormatContext) CtxFlags() FormatContextCtxFlags
func (*FormatContext) Duration ¶
func (fc *FormatContext) Duration() int64
func (*FormatContext) EventFlags ¶
func (fc *FormatContext) EventFlags() FormatEventFlags
func (*FormatContext) FindStreamInfo ¶
func (fc *FormatContext) FindStreamInfo(d *Dictionary) error
func (*FormatContext) Flags ¶
func (fc *FormatContext) Flags() FormatContextFlags
func (*FormatContext) Flush ¶
func (fc *FormatContext) Flush() error
func (*FormatContext) Free ¶
func (fc *FormatContext) Free()
func (*FormatContext) GuessFrameRate ¶
func (fc *FormatContext) GuessFrameRate(s *Stream, f *Frame) Rational
func (*FormatContext) GuessSampleAspectRatio ¶
func (fc *FormatContext) GuessSampleAspectRatio(s *Stream, f *Frame) Rational
func (*FormatContext) IOFlags ¶
func (fc *FormatContext) IOFlags() IOContextFlags
func (*FormatContext) InputFormat ¶
func (fc *FormatContext) InputFormat() *InputFormat
func (*FormatContext) MaxAnalyzeDuration ¶
func (fc *FormatContext) MaxAnalyzeDuration() int64
func (*FormatContext) Metadata ¶
func (fc *FormatContext) Metadata() *Dictionary
func (*FormatContext) NbPrograms ¶ added in v0.19.0
func (fc *FormatContext) NbPrograms() int
func (*FormatContext) NbStreams ¶
func (fc *FormatContext) NbStreams() int
func (*FormatContext) NewProgram ¶ added in v0.19.0
func (fc *FormatContext) NewProgram(id int) *Program
func (*FormatContext) NewStream ¶
func (fc *FormatContext) NewStream(c *Codec) *Stream
func (*FormatContext) OpenInput ¶
func (fc *FormatContext) OpenInput(url string, fmt *InputFormat, d *Dictionary) error
func (*FormatContext) OutputFormat ¶
func (fc *FormatContext) OutputFormat() *OutputFormat
func (*FormatContext) Pb ¶
func (fc *FormatContext) Pb() *IOContext
func (*FormatContext) Programs ¶ added in v0.19.0
func (fc *FormatContext) Programs() (ps []*Program)
func (*FormatContext) ReadFrame ¶
func (fc *FormatContext) ReadFrame(p *Packet) error
func (*FormatContext) SDPCreate ¶
func (fc *FormatContext) SDPCreate() (string, error)
func (*FormatContext) SeekFrame ¶
func (fc *FormatContext) SeekFrame(streamIndex int, timestamp int64, f SeekFlags) error
func (*FormatContext) SetFlags ¶ added in v0.14.0
func (fc *FormatContext) SetFlags(f FormatContextFlags)
func (*FormatContext) SetInterruptCallback ¶
func (fc *FormatContext) SetInterruptCallback() IOInterrupter
func (*FormatContext) SetMetadata ¶ added in v0.18.0
func (fc *FormatContext) SetMetadata(d *Dictionary)
func (*FormatContext) SetPb ¶
func (fc *FormatContext) SetPb(i *IOContext)
func (*FormatContext) SetStrictStdCompliance ¶
func (fc *FormatContext) SetStrictStdCompliance(strictStdCompliance StrictStdCompliance)
func (*FormatContext) StartTime ¶
func (fc *FormatContext) StartTime() int64
func (*FormatContext) Streams ¶
func (fc *FormatContext) Streams() (ss []*Stream)
func (*FormatContext) StrictStdCompliance ¶
func (fc *FormatContext) StrictStdCompliance() StrictStdCompliance
func (*FormatContext) WriteFrame ¶
func (fc *FormatContext) WriteFrame(p *Packet) error
func (*FormatContext) WriteHeader ¶
func (fc *FormatContext) WriteHeader(d *Dictionary) error
func (*FormatContext) WriteInterleavedFrame ¶
func (fc *FormatContext) WriteInterleavedFrame(p *Packet) error
func (*FormatContext) WriteTrailer ¶
func (fc *FormatContext) WriteTrailer() error
type FormatContextCtxFlag ¶
type FormatContextCtxFlag int64
type FormatContextCtxFlags ¶
type FormatContextCtxFlags astikit.BitFlags
func NewFormatContextCtxFlags ¶
func NewFormatContextCtxFlags(fs ...FormatContextCtxFlag) FormatContextCtxFlags
func (FormatContextCtxFlags) Add ¶
func (fs FormatContextCtxFlags) Add(f FormatContextCtxFlag) FormatContextCtxFlags
func (FormatContextCtxFlags) Del ¶
func (fs FormatContextCtxFlags) Del(f FormatContextCtxFlag) FormatContextCtxFlags
func (FormatContextCtxFlags) Has ¶
func (fs FormatContextCtxFlags) Has(f FormatContextCtxFlag) bool
type FormatContextFlag ¶
type FormatContextFlag int64
type FormatContextFlags ¶
type FormatContextFlags astikit.BitFlags
func NewFormatContextFlags ¶
func NewFormatContextFlags(fs ...FormatContextFlag) FormatContextFlags
func (FormatContextFlags) Add ¶
func (fs FormatContextFlags) Add(f FormatContextFlag) FormatContextFlags
func (FormatContextFlags) Del ¶
func (fs FormatContextFlags) Del(f FormatContextFlag) FormatContextFlags
func (FormatContextFlags) Has ¶
func (fs FormatContextFlags) Has(f FormatContextFlag) bool
type FormatEventFlag ¶
type FormatEventFlag int64
type FormatEventFlags ¶
type FormatEventFlags astikit.BitFlags
func NewFormatEventFlags ¶
func NewFormatEventFlags(fs ...FormatEventFlag) FormatEventFlags
func (FormatEventFlags) Add ¶
func (fs FormatEventFlags) Add(f FormatEventFlag) FormatEventFlags
func (FormatEventFlags) Del ¶
func (fs FormatEventFlags) Del(f FormatEventFlag) FormatEventFlags
func (FormatEventFlags) Has ¶
func (fs FormatEventFlags) Has(f FormatEventFlag) bool
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/frame.h#L317
func AllocFrame ¶
func AllocFrame() *Frame
func (*Frame) AllocBuffer ¶
func (*Frame) AllocImage ¶ added in v0.7.0
func (*Frame) AllocSamples ¶ added in v0.2.0
func (*Frame) ChannelLayout ¶
func (f *Frame) ChannelLayout() ChannelLayout
func (*Frame) ColorRange ¶ added in v0.9.0
func (f *Frame) ColorRange() ColorRange
func (*Frame) ColorSpace ¶ added in v0.20.0
func (f *Frame) ColorSpace() ColorSpace
func (*Frame) ImageBufferSize ¶ added in v0.12.0
func (*Frame) ImageCopyToBuffer ¶ added in v0.12.0
func (*Frame) ImageFillBlack ¶ added in v0.9.0
func (*Frame) IsWritable ¶ added in v0.22.0
func (*Frame) Linesize ¶
func (f *Frame) Linesize() [NumDataPointers]int
func (*Frame) MakeWritable ¶ added in v0.22.0
func (*Frame) NewSideData ¶ added in v0.6.0
func (f *Frame) NewSideData(t FrameSideDataType, size uint64) *FrameSideData
func (*Frame) PictureType ¶
func (f *Frame) PictureType() PictureType
func (*Frame) PixelFormat ¶
func (f *Frame) PixelFormat() PixelFormat
func (*Frame) SampleAspectRatio ¶ added in v0.10.0
func (*Frame) SampleFormat ¶
func (f *Frame) SampleFormat() SampleFormat
func (*Frame) SampleRate ¶
func (*Frame) SamplesBufferSize ¶ added in v0.24.0
func (*Frame) SamplesCopyToBuffer ¶ added in v0.24.0
func (*Frame) SamplesFillSilence ¶ added in v0.24.0
func (*Frame) SetChannelLayout ¶
func (f *Frame) SetChannelLayout(l ChannelLayout)
func (*Frame) SetColorRange ¶ added in v0.9.0
func (f *Frame) SetColorRange(r ColorRange)
func (*Frame) SetColorSpace ¶ added in v0.20.0
func (f *Frame) SetColorSpace(s ColorSpace)
func (*Frame) SetKeyFrame ¶
func (*Frame) SetNbSamples ¶
func (*Frame) SetPictureType ¶
func (f *Frame) SetPictureType(t PictureType)
func (*Frame) SetPixelFormat ¶
func (f *Frame) SetPixelFormat(pf PixelFormat)
func (*Frame) SetSampleAspectRatio ¶ added in v0.10.0
func (*Frame) SetSampleFormat ¶
func (f *Frame) SetSampleFormat(sf SampleFormat)
func (*Frame) SetSampleRate ¶
func (*Frame) SideData ¶ added in v0.6.0
func (f *Frame) SideData(t FrameSideDataType) *FrameSideData
func (*Frame) TransferHardwareData ¶ added in v0.13.0
func (*Frame) UnsafePointer ¶ added in v0.14.0
type FrameData ¶ added in v0.12.0
type FrameData struct {
// contains filtered or unexported fields
}
func (*FrameData) FromImage ¶ added in v0.22.0
It's the developer's responsibility to handle frame's writability
func (*FrameData) GuessImageFormat ¶ added in v0.13.0
Always returns non-premultiplied formats when dealing with alpha channels, however this might not always be accurate. In this case, use your own format in .ToImage()
type FrameSideData ¶ added in v0.6.0
type FrameSideData struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/frame.h#L223
func (*FrameSideData) Data ¶ added in v0.6.0
func (d *FrameSideData) Data() []byte
func (*FrameSideData) SetData ¶ added in v0.6.0
func (d *FrameSideData) SetData(b []byte)
func (*FrameSideData) Type ¶ added in v0.6.0
func (d *FrameSideData) Type() FrameSideDataType
type FrameSideDataType ¶ added in v0.6.0
type FrameSideDataType C.enum_AVFrameSideDataType
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/frame.h#L48
type HardwareDeviceContext ¶ added in v0.13.0
type HardwareDeviceContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/hwcontext.h#L61
func CreateHardwareDeviceContext ¶ added in v0.13.0
func CreateHardwareDeviceContext(t HardwareDeviceType, device string, options *Dictionary) (*HardwareDeviceContext, error)
type HardwareDeviceType ¶ added in v0.13.0
type HardwareDeviceType C.enum_AVHWDeviceType
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/hwcontext.h#L27
func FindHardwareDeviceTypeByName ¶ added in v0.13.0
func FindHardwareDeviceTypeByName(n string) HardwareDeviceType
func (HardwareDeviceType) String ¶ added in v0.13.0
func (t HardwareDeviceType) String() string
type IOContext ¶
type IOContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L161
func AllocIOContext ¶ added in v0.14.0
func AllocIOContext(bufferSize int, writable bool, readFunc IOContextReadFunc, seekFunc IOContextSeekFunc, writeFunc IOContextWriteFunc) (ic *IOContext, err error)
func OpenIOContext ¶ added in v0.13.0
func OpenIOContext(filename string, flags IOContextFlags) (*IOContext, error)
type IOContextFlag ¶
type IOContextFlag int64
type IOContextFlags ¶
type IOContextFlags astikit.BitFlags
func NewIOContextFlags ¶
func NewIOContextFlags(fs ...IOContextFlag) IOContextFlags
func (IOContextFlags) Add ¶
func (fs IOContextFlags) Add(f IOContextFlag) IOContextFlags
func (IOContextFlags) Del ¶
func (fs IOContextFlags) Del(f IOContextFlag) IOContextFlags
func (IOContextFlags) Has ¶
func (fs IOContextFlags) Has(f IOContextFlag) bool
type IOContextReadFunc ¶ added in v0.14.0
type IOContextSeekFunc ¶ added in v0.14.0
type IOContextWriteFunc ¶ added in v0.14.0
type IOFormatFlag ¶
type IOFormatFlag int64
type IOFormatFlags ¶
type IOFormatFlags astikit.BitFlags
func NewIOFormatFlags ¶
func NewIOFormatFlags(fs ...IOFormatFlag) IOFormatFlags
func (IOFormatFlags) Add ¶
func (fs IOFormatFlags) Add(f IOFormatFlag) IOFormatFlags
func (IOFormatFlags) Del ¶
func (fs IOFormatFlags) Del(f IOFormatFlag) IOFormatFlags
func (IOFormatFlags) Has ¶
func (fs IOFormatFlags) Has(f IOFormatFlag) bool
type IOInterrupter ¶ added in v0.13.0
type IOInterrupter interface { Interrupt() Resume() }
type InputFormat ¶
type InputFormat struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L650
func FindInputFormat ¶ added in v0.11.0
func FindInputFormat(name string) *InputFormat
func (*InputFormat) Flags ¶
func (f *InputFormat) Flags() IOFormatFlags
func (*InputFormat) LongName ¶ added in v0.11.0
func (f *InputFormat) LongName() string
LongName Description of the format, meant to be more human-readable than Name.
func (*InputFormat) Name ¶ added in v0.11.0
func (f *InputFormat) Name() string
func (*InputFormat) String ¶ added in v0.11.0
func (f *InputFormat) String() string
type LogCallback ¶
type MediaType ¶
type MediaType C.enum_AVMediaType
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/avutil.h#L199
type OutputFormat ¶
type OutputFormat struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L503
func FindOutputFormat ¶ added in v0.14.0
func FindOutputFormat(name string) *OutputFormat
func (*OutputFormat) Flags ¶
func (f *OutputFormat) Flags() IOFormatFlags
func (*OutputFormat) LongName ¶ added in v0.14.0
func (f *OutputFormat) LongName() string
LongName Description of the format, meant to be more human-readable than Name.
func (*OutputFormat) Name ¶ added in v0.14.0
func (f *OutputFormat) Name() string
func (*OutputFormat) String ¶ added in v0.14.0
func (f *OutputFormat) String() string
type Packet ¶
type Packet struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L350
func AllocPacket ¶
func AllocPacket() *Packet
func (*Packet) AllocPayload ¶
func (*Packet) Flags ¶
func (p *Packet) Flags() PacketFlags
func (*Packet) SetDuration ¶
func (*Packet) SetFlags ¶
func (p *Packet) SetFlags(f PacketFlags)
func (*Packet) SetStreamIndex ¶
func (*Packet) SideData ¶
func (p *Packet) SideData() *PacketSideData
func (*Packet) StreamIndex ¶
type PacketFlag ¶
type PacketFlag int64
type PacketFlags ¶
type PacketFlags astikit.BitFlags
func NewPacketFlags ¶
func NewPacketFlags(fs ...PacketFlag) PacketFlags
func (PacketFlags) Add ¶
func (fs PacketFlags) Add(f PacketFlag) PacketFlags
func (PacketFlags) Del ¶
func (fs PacketFlags) Del(f PacketFlag) PacketFlags
func (PacketFlags) Has ¶
func (fs PacketFlags) Has(f PacketFlag) bool
type PacketSideData ¶ added in v0.17.0
type PacketSideData struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavcodec/packet.h#L342
func (*PacketSideData) Add ¶ added in v0.17.0
func (d *PacketSideData) Add(t PacketSideDataType, b []byte) error
func (*PacketSideData) Get ¶ added in v0.17.0
func (d *PacketSideData) Get(t PacketSideDataType) []byte
type PacketSideDataType ¶
type PacketSideDataType C.enum_AVPacketSideDataType
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L40
func (PacketSideDataType) Name ¶ added in v0.17.0
func (t PacketSideDataType) Name() string
func (PacketSideDataType) String ¶ added in v0.17.0
func (t PacketSideDataType) String() string
type PictureType ¶
type PictureType C.enum_AVPictureType
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/avutil.h#L272
func (PictureType) String ¶
func (t PictureType) String() string
type PixelFormat ¶
type PixelFormat C.enum_AVPixelFormat
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L64
func FindPixelFormatByName ¶ added in v0.2.0
func FindPixelFormatByName(name string) PixelFormat
func (PixelFormat) Name ¶
func (f PixelFormat) Name() string
func (PixelFormat) String ¶
func (f PixelFormat) String() string
type Program ¶ added in v0.19.0
type Program struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavformat/avformat.h#L1181
type Rational ¶
type Rational struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/rational.h#L58
func NewRational ¶
type Rounding ¶
type Rounding C.enum_AVRounding
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/mathematics.h#L79
type SampleFormat ¶
type SampleFormat C.enum_AVSampleFormat
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/samplefmt.h#L58
func (SampleFormat) Name ¶
func (f SampleFormat) Name() string
func (SampleFormat) String ¶
func (f SampleFormat) String() string
type SoftwareScaleContext ¶ added in v0.13.0
type SoftwareScaleContext struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale_internal.h#L300
func CreateSoftwareScaleContext ¶ added in v0.13.0
func CreateSoftwareScaleContext(srcW, srcH int, srcFormat PixelFormat, dstW, dstH int, dstFormat PixelFormat, flags SoftwareScaleContextFlags) (*SoftwareScaleContext, error)
func (*SoftwareScaleContext) Class ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Class() *Class
func (*SoftwareScaleContext) DestinationHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationHeight() int
func (*SoftwareScaleContext) DestinationPixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationPixelFormat() PixelFormat
func (*SoftwareScaleContext) DestinationResolution ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationResolution() (width int, height int)
func (*SoftwareScaleContext) DestinationWidth ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationWidth() int
func (*SoftwareScaleContext) Flags ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Flags() SoftwareScaleContextFlags
func (*SoftwareScaleContext) Free ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Free()
func (*SoftwareScaleContext) ScaleFrame ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) ScaleFrame(src, dst *Frame) error
func (*SoftwareScaleContext) SetDestinationHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationHeight(i int) error
func (*SoftwareScaleContext) SetDestinationPixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationPixelFormat(p PixelFormat) error
func (*SoftwareScaleContext) SetDestinationResolution ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationResolution(w int, h int) error
func (*SoftwareScaleContext) SetDestinationWidth ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationWidth(i int) error
func (*SoftwareScaleContext) SetFlags ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetFlags(swscf SoftwareScaleContextFlags) error
func (*SoftwareScaleContext) SetSourceHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourceHeight(i int) error
func (*SoftwareScaleContext) SetSourcePixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourcePixelFormat(p PixelFormat) error
func (*SoftwareScaleContext) SetSourceResolution ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourceResolution(w int, h int) error
func (*SoftwareScaleContext) SetSourceWidth ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourceWidth(i int) error
func (*SoftwareScaleContext) SourceHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourceHeight() int
func (*SoftwareScaleContext) SourcePixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourcePixelFormat() PixelFormat
func (*SoftwareScaleContext) SourceResolution ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourceResolution() (int, int)
func (*SoftwareScaleContext) SourceWidth ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourceWidth() int
type SoftwareScaleContextFlag ¶ added in v0.13.0
type SoftwareScaleContextFlag int64
type SoftwareScaleContextFlags ¶ added in v0.13.0
type SoftwareScaleContextFlags astikit.BitFlags
func NewSoftwareScaleContextFlags ¶ added in v0.13.0
func NewSoftwareScaleContextFlags(fs ...SoftwareScaleContextFlag) SoftwareScaleContextFlags
func (SoftwareScaleContextFlags) Add ¶ added in v0.13.0
func (fs SoftwareScaleContextFlags) Add(f SoftwareScaleContextFlag) SoftwareScaleContextFlags
func (SoftwareScaleContextFlags) Del ¶ added in v0.13.0
func (fs SoftwareScaleContextFlags) Del(f SoftwareScaleContextFlag) SoftwareScaleContextFlags
func (SoftwareScaleContextFlags) Has ¶ added in v0.13.0
func (fs SoftwareScaleContextFlags) Has(f SoftwareScaleContextFlag) bool
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L937
func (*Stream) AvgFrameRate ¶
func (*Stream) CodecParameters ¶
func (s *Stream) CodecParameters() *CodecParameters
func (*Stream) EventFlags ¶
func (s *Stream) EventFlags() StreamEventFlags
func (*Stream) Metadata ¶
func (s *Stream) Metadata() *Dictionary
func (*Stream) RFrameRate ¶
func (*Stream) SampleAspectRatio ¶
func (*Stream) SetAvgFrameRate ¶ added in v0.14.0
func (*Stream) SetRFrameRate ¶ added in v0.14.0
func (*Stream) SetSampleAspectRatio ¶ added in v0.14.0
func (*Stream) SetTimeBase ¶
type StreamEventFlag ¶
type StreamEventFlag int64
type StreamEventFlags ¶
type StreamEventFlags astikit.BitFlags
func NewStreamEventFlags ¶
func NewStreamEventFlags(fs ...StreamEventFlag) StreamEventFlags
func (StreamEventFlags) Add ¶
func (fs StreamEventFlags) Add(f StreamEventFlag) StreamEventFlags
func (StreamEventFlags) Del ¶
func (fs StreamEventFlags) Del(f StreamEventFlag) StreamEventFlags
func (StreamEventFlags) Has ¶
func (fs StreamEventFlags) Has(f StreamEventFlag) bool
type StrictStdCompliance ¶
type StrictStdCompliance int
type ThreadType ¶
type ThreadType int
type UnknownClasser ¶ added in v0.13.0
type UnknownClasser struct {
// contains filtered or unexported fields
}
func (*UnknownClasser) Class ¶ added in v0.13.0
func (c *UnknownClasser) Class() *Class
Source Files ¶
- astiav.go
- audio_fifo.go
- bit_stream_filter.go
- bit_stream_filter_context.go
- buffersink_flag.go
- buffersrc_flag.go
- bytes.go
- channel_layout.go
- chroma_location.go
- class.go
- class_category.go
- codec.go
- codec_context.go
- codec_context_flag.go
- codec_hardware_config.go
- codec_hardware_config_method_flag.go
- codec_id.go
- codec_parameters.go
- codec_tag.go
- color_primaries.go
- color_range.go
- color_space.go
- color_transfer_characteristic.go
- device.go
- dictionary.go
- dictionary_entry.go
- dictionary_flag.go
- display_matrix.go
- error.go
- filter.go
- filter_chain.go
- filter_command_flag.go
- filter_context.go
- filter_graph.go
- filter_graph_segment.go
- filter_in_out.go
- filter_pad.go
- filter_params.go
- flags.go
- format_context.go
- format_context_ctx_flag.go
- format_context_flag.go
- format_event_flag.go
- frame.go
- frame_data.go
- frame_side_data.go
- frame_side_data_type.go
- hardware_device_context.go
- hardware_device_type.go
- input_format.go
- int_read_write.go
- io_context.go
- io_context_flag.go
- io_format_flag.go
- io_interrupter.go
- level.go
- log.go
- mathematics.go
- media_type.go
- output_format.go
- packet.go
- packet_flag.go
- packet_side_data.go
- packet_side_data_type.go
- picture_type.go
- pixel_format.go
- profile.go
- program.go
- rational.go
- rounding.go
- sample_format.go
- seek_flag.go
- software_scale_context.go
- software_scale_context_flag.go
- stream.go
- stream_event_flag.go
- strict_std_compliance.go
- thread_type.go
- time.go