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 BuffersrcFilterContextParameters
- func (bfcp *BuffersrcFilterContextParameters) ChannelLayout() ChannelLayout
- func (bfcp *BuffersrcFilterContextParameters) ColorRange() ColorRange
- func (bfcp *BuffersrcFilterContextParameters) ColorSpace() ColorSpace
- func (bfcp *BuffersrcFilterContextParameters) Framerate() Rational
- func (bfcp *BuffersrcFilterContextParameters) Free()
- func (bfcp *BuffersrcFilterContextParameters) Height() int
- func (bfcp *BuffersrcFilterContextParameters) PixelFormat() PixelFormat
- func (bfcp *BuffersrcFilterContextParameters) SampleAspectRatio() Rational
- func (bfcp *BuffersrcFilterContextParameters) SampleFormat() SampleFormat
- func (bfcp *BuffersrcFilterContextParameters) SampleRate() int
- func (bfcp *BuffersrcFilterContextParameters) SetChannelLayout(l ChannelLayout)
- func (bfcp *BuffersrcFilterContextParameters) SetColorRange(r ColorRange)
- func (bfcp *BuffersrcFilterContextParameters) SetColorSpace(s ColorSpace)
- func (bfcp *BuffersrcFilterContextParameters) SetFramerate(f Rational)
- func (bfcp *BuffersrcFilterContextParameters) SetHardwareFrameContext(hfc *HardwareFrameContext)
- func (bfcp *BuffersrcFilterContextParameters) SetHeight(height int)
- func (bfcp *BuffersrcFilterContextParameters) SetPixelFormat(f PixelFormat)
- func (bfcp *BuffersrcFilterContextParameters) SetSampleAspectRatio(r Rational)
- func (bfcp *BuffersrcFilterContextParameters) SetSampleFormat(f SampleFormat)
- func (bfcp *BuffersrcFilterContextParameters) SetSampleRate(sampleRate int)
- func (bfcp *BuffersrcFilterContextParameters) SetTimeBase(r Rational)
- func (bfcp *BuffersrcFilterContextParameters) SetWidth(width int)
- func (bfcp *BuffersrcFilterContextParameters) TimeBase() Rational
- func (bfcp *BuffersrcFilterContextParameters) Width() int
- 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) HardwareFrameContext() *HardwareFrameContext
- func (cc *CodecContext) Height() int
- func (cc *CodecContext) Level() Level
- func (cc *CodecContext) MaxBFrames() int
- func (cc *CodecContext) MediaType() MediaType
- func (cc *CodecContext) Open(c *Codec, d *Dictionary) error
- func (cc *CodecContext) PixelFormat() PixelFormat
- func (cc *CodecContext) PrivateData() *PrivateData
- func (cc *CodecContext) Profile() Profile
- func (cc *CodecContext) Qmin() int
- func (cc *CodecContext) RateControlBufferSize() int
- func (cc *CodecContext) RateControlMaxRate() int64
- func (cc *CodecContext) RateControlMinRate() int64
- 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) SetHardwareFrameContext(hfc *HardwareFrameContext)
- func (cc *CodecContext) SetHeight(height int)
- func (cc *CodecContext) SetLevel(l Level)
- func (cc *CodecContext) SetMaxBFrames(n int)
- 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) SetRateControlBufferSize(n int)
- func (cc *CodecContext) SetRateControlMaxRate(n int64)
- func (cc *CodecContext) SetRateControlMinRate(n int64)
- 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) UnsafePointer() unsafe.Pointer
- 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) 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) 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 CompareTimestampsResult
- 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 Discard
- type DisplayMatrix
- type Error
- type Filter
- 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) (*BuffersinkFilterContext, error)
- func (g *FilterGraph) NewBuffersrcFilterContext(f *Filter, name string) (*BuffersrcFilterContext, 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) Dump(streamIndex int, url string, isOutput bool)
- func (fc *FormatContext) Duration() int64
- func (fc *FormatContext) EventFlags() FormatEventFlags
- func (fc *FormatContext) FindBestStream(mt MediaType, wantedStreamIndex, relatedStreamIndex int) (*Stream, *Codec, error)
- 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) PrivateData() *PrivateData
- 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) SetIOInterrupter(i *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) AllocHardwareBuffer(hfc *HardwareFrameContext) 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 HardwareFrameContext
- func (hfc *HardwareFrameContext) Free()
- func (hfc *HardwareFrameContext) Initialize() error
- func (hfc *HardwareFrameContext) SetHardwarePixelFormat(format PixelFormat)
- func (hfc *HardwareFrameContext) SetHeight(height int)
- func (hfc *HardwareFrameContext) SetInitialPoolSize(initialPoolSize int)
- func (hfc *HardwareFrameContext) SetSoftwarePixelFormat(swFormat PixelFormat)
- func (hfc *HardwareFrameContext) SetWidth(width int)
- 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 Option
- type OptionSearchFlag
- type OptionSearchFlags
- type Options
- 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 PrivateData
- type Profile
- type Program
- func (p *Program) AddStream(s *Stream)
- func (p *Program) Discard() Discard
- func (p *Program) EndTime() int64
- func (p *Program) ID() int
- func (p *Program) Metadata() *Dictionary
- func (p *Program) NbStreams() int
- func (p *Program) PcrPid() int
- func (p *Program) PmtPid() int
- func (p *Program) ProgramNumber() int
- func (p *Program) PtsWrapBehavior() int
- func (p *Program) PtsWrapReference() int64
- func (p *Program) SetDiscard(d Discard)
- func (p *Program) SetID(i int)
- func (p *Program) SetMetadata(d *Dictionary)
- func (p *Program) SetPcrPid(n int)
- func (p *Program) SetPmtPid(n int)
- func (p *Program) SetProgramNumber(n int)
- func (p *Program) StartTime() int64
- func (p *Program) Streams() (ss []*Stream)
- type Rational
- type Rounding
- type SampleFormat
- type SeekFlag
- type SeekFlags
- type SoftwareResampleContext
- 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) Class() *Class
- func (s *Stream) CodecParameters() *CodecParameters
- func (s *Stream) Discard() Discard
- 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) SetDiscard(d Discard)
- 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) )
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) )
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) )
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://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga1a6a486e686ab6c581ffffcb88cb31b3
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) )
const ( DiscardNone = Discard(C.AVDISCARD_NONE) DiscardDefault = Discard(C.AVDISCARD_DEFAULT) DiscardNonRef = Discard(C.AVDISCARD_NONREF) DiscardBidirectional = Discard(C.AVDISCARD_BIDIR) DiscardNonIntra = Discard(C.AVDISCARD_NONINTRA) DiscardNonKey = Discard(C.AVDISCARD_NONKEY) DiscardAll = Discard(C.AVDISCARD_ALL) )
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) )
const ( FilterCommandFlagOne = FilterCommandFlag(C.AVFILTER_CMD_FLAG_ONE) FilterCommandFlagFast = FilterCommandFlag(C.AVFILTER_CMD_FLAG_FAST) )
const ( FormatContextCtxFlagNoHeader = FormatContextCtxFlag(C.AVFMTCTX_NOHEADER) FormatContextCtxFlagUnseekable = FormatContextCtxFlag(C.AVFMTCTX_UNSEEKABLE) )
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) )
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) )
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) )
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) )
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 ( OptionSearchFlagChildren = CodecContextFlag(C.AV_OPT_SEARCH_CHILDREN) OptionSearchFlagFakeObject = CodecContextFlag(C.AV_OPT_SEARCH_FAKE_OBJ) )
const ( PacketFlagCorrupt = PacketFlag(C.AV_PKT_FLAG_CORRUPT) PacketFlagDiscard = PacketFlag(C.AV_PKT_FLAG_DISCARD) PacketFlagKey = PacketFlag(C.AV_PKT_FLAG_KEY) )
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) )
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) )
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) )
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) )
const ( ThreadTypeFrame = ThreadType(C.FF_THREAD_FRAME) ThreadTypeSlice = ThreadType(C.FF_THREAD_SLICE) ThreadTypeUndefined = ThreadType(0) )
const ( // https://ffmpeg.org/doxygen/7.0/group__lavu__time.html#ga2eaefe702f95f619ea6f2d08afa01be1 NoPtsValue = int64(C.AV_NOPTS_VALUE) // https://ffmpeg.org/doxygen/7.0/group__lavu__time.html#gaa11ed202b70e1f52bac809811a910e2a TimeBase = int(C.AV_TIME_BASE) )
const (
FormatEventFlagMetadataUpdated = FormatEventFlag(C.AVFMT_EVENT_FLAG_METADATA_UPDATED)
)
const (
LevelUnknown = Level(C.FF_LEVEL_UNKNOWN)
)
const NumDataPointers = uint(C.AV_NUM_DATA_POINTERS)
https://ffmpeg.org/doxygen/7.0/frame_8h.html#add80189702cf0f5ea82718576fb43201
const (
StreamEventFlagMetadataUpdated = StreamEventFlag(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
)
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://ffmpeg.org/doxygen/7.0/group__lavu__audio__channels.html#ga855bb7dede67971e95bd09d8fcca7293
var ( // https://ffmpeg.org/doxygen/7.0/group__lavu__time.html#gafd07a13a4ddaa6015275cad6022d9ee3 TimeBaseQ = newRationalFromC(C.AV_TIME_BASE_Q) )
Functions ¶
func RL32 ¶
https://ffmpeg.org/doxygen/7.0/avr32_2intreadwrite_8h.html#ace46e41b9bd6cac88fb7109ffd657f9a
func RL32WithOffset ¶
https://ffmpeg.org/doxygen/7.0/avr32_2intreadwrite_8h.html#ace46e41b9bd6cac88fb7109ffd657f9a
func RegisterAllDevices ¶ added in v0.11.0
func RegisterAllDevices()
https://ffmpeg.org/doxygen/7.0/group__lavd.html#ga7c90a3585267b55941ae2f7388c006b6
func RelativeTime ¶ added in v0.13.0
func RelativeTime() int64
https://ffmpeg.org/doxygen/7.0/time_8c.html#adf0e36df54426fa167e3cc5a3406f3b7
func RescaleQ ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__math.html#gaf02994a8bbeaa91d4757df179cbe567f
func RescaleQRnd ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__math.html#gab706bfec9bf56534e02ca9564cb968f6
func ResetLogCallback ¶
func ResetLogCallback()
https://ffmpeg.org/doxygen/7.0/group__lavu__log.html#ga5bd132d2e4ac6f9843ef6d8e3c05050a
func SetLogCallback ¶
func SetLogCallback(c LogCallback)
https://ffmpeg.org/doxygen/7.0/group__lavu__log.html#ga14034761faf581a8b9ed6ef19b313708
func SetLogLevel ¶
func SetLogLevel(l LogLevel)
https://ffmpeg.org/doxygen/7.0/group__lavu__log.html#ga1fd32c74db581e3e2e7f35d277bb1e24
Types ¶
type AudioFifo ¶ added in v0.19.0
type AudioFifo struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVAudioFifo.html
func AllocAudioFifo ¶ added in v0.19.0
func AllocAudioFifo(sampleFmt SampleFormat, channels int, nbSamples int) *AudioFifo
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#ga9d792394f0615a329aec47847f8f8784
func (*AudioFifo) Free ¶ added in v0.19.0
func (a *AudioFifo) Free()
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#ga74e029e47f7aa99217ad1f315c434875
func (*AudioFifo) Read ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#ga5e2c87bbeefba0d229b4109b4b755529
func (*AudioFifo) Realloc ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#ga27c1e16e5f09940d6016b1971c0b5742
func (*AudioFifo) Size ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#gaa0a4742ecac52a999e8b4478d27f3b9b
func (*AudioFifo) Space ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/group__lavu__audiofifo.html#ga2bed2f01fe34228ee8a73617b3177d00
type BitStreamFilter ¶ added in v0.15.0
type BitStreamFilter struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVBitStreamFilter.html
func FindBitStreamFilterByName ¶ added in v0.15.0
func FindBitStreamFilterByName(n string) *BitStreamFilter
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#gae491493190b45698ebd43db28c4e8fe9
func (*BitStreamFilter) Name ¶ added in v0.15.0
func (bsf *BitStreamFilter) Name() string
https://ffmpeg.org/doxygen/7.0/structAVBitStreamFilter.html#a33c3cb51bd13060da35481655b41e4e5
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://ffmpeg.org/doxygen/7.0/structAVBSFContext.html
func AllocBitStreamFilterContext ¶ added in v0.15.0
func AllocBitStreamFilterContext(f *BitStreamFilter) (*BitStreamFilterContext, error)
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#ga7da65af303e20c9546e15ec266b182c1
func (*BitStreamFilterContext) Class ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structAVBSFContext.html#aa5d5018816daac804414c459ec8a1c5c
func (*BitStreamFilterContext) Free ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Free()
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#ga08d53431e76355f88e27763b1940df4f
func (*BitStreamFilterContext) Initialize ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) Initialize() error
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#ga242529d54013acf87e94273d298a5ff2
func (*BitStreamFilterContext) InputCodecParameters ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) InputCodecParameters() *CodecParameters
https://ffmpeg.org/doxygen/7.0/structAVBSFContext.html#a702ace639b8193475cf0a12ebdebd738
func (*BitStreamFilterContext) InputTimeBase ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) InputTimeBase() Rational
https://ffmpeg.org/doxygen/7.0/structAVBSFContext.html#ad75adf988c00f89202099c87ea39f0db
func (*BitStreamFilterContext) ReceivePacket ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) ReceivePacket(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#ga7fffb6c87b91250956e7a2367af56b38
func (*BitStreamFilterContext) SendPacket ¶ added in v0.15.0
func (bsfc *BitStreamFilterContext) SendPacket(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavc__bsf.html#gaada9ea8f08d3dcf23c14564dbc88992c
func (*BitStreamFilterContext) SetInputTimeBase ¶ added in v0.16.0
func (bsfc *BitStreamFilterContext) SetInputTimeBase(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVBSFContext.html#ad75adf988c00f89202099c87ea39f0db
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
https://ffmpeg.org/doxygen/7.0/group__lavfi__buffersink.html#ga71ae9c529c8da51681e12faa37d1a395
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
https://ffmpeg.org/doxygen/7.0/group__lavfi__buffersink.html#ga9453fc0e81d30237080b51575da0f0d8
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
https://ffmpeg.org/doxygen/7.0/group__lavfi__buffersrc.html#ga73ed90c3c3407f36e54d65f91faaaed9
func (*BuffersrcFilterContext) FilterContext ¶ added in v0.24.0
func (bfc *BuffersrcFilterContext) FilterContext() *FilterContext
func (*BuffersrcFilterContext) Initialize ¶ added in v0.29.0
func (bfc *BuffersrcFilterContext) Initialize() error
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga8c15af28902395399fe455f6f8236848
func (*BuffersrcFilterContext) SetParameters ¶ added in v0.25.0
func (bfc *BuffersrcFilterContext) SetParameters(bfcp *BuffersrcFilterContextParameters) error
https://ffmpeg.org/doxygen/7.0/group__lavfi__buffersrc.html#ga398cd2a84f8b4a588197ab9d90135048
type BuffersrcFilterContextParameters ¶ added in v0.25.0
type BuffersrcFilterContextParameters struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html
func AllocBuffersrcFilterContextParameters ¶ added in v0.25.0
func AllocBuffersrcFilterContextParameters() *BuffersrcFilterContextParameters
https://ffmpeg.org/doxygen/7.0/group__lavfi__buffersrc.html#gaae82d4f8a69757ce01421dd3167861a5
func (*BuffersrcFilterContextParameters) ChannelLayout ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) ChannelLayout() ChannelLayout
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a5267368bf88b4f2a65a5e06ac3f9ecd4
func (*BuffersrcFilterContextParameters) ColorRange ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) ColorRange() ColorRange
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a442add2b039f416dd7c92ccf1ccd0d3b
func (*BuffersrcFilterContextParameters) ColorSpace ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) ColorSpace() ColorSpace
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a700226626af70f787c930d7506554757
func (*BuffersrcFilterContextParameters) Framerate ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) Framerate() Rational
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a032a202496206e18449c66233058647a
func (*BuffersrcFilterContextParameters) Free ¶ added in v0.25.0
func (bfcp *BuffersrcFilterContextParameters) Free()
func (*BuffersrcFilterContextParameters) Height ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) Height() int
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a89783d603b84908fb1998bbbea981b70
func (*BuffersrcFilterContextParameters) PixelFormat ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) PixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a56f28f81f1a86cecc39a8d61674912b8
func (*BuffersrcFilterContextParameters) SampleAspectRatio ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SampleAspectRatio() Rational
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#ae47c141ea7a7770351613242229f951a
func (*BuffersrcFilterContextParameters) SampleFormat ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SampleFormat() SampleFormat
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a56f28f81f1a86cecc39a8d61674912b8
func (*BuffersrcFilterContextParameters) SampleRate ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SampleRate() int
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a34a1613f1e80f8520c159fac59e29834
func (*BuffersrcFilterContextParameters) SetChannelLayout ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetChannelLayout(l ChannelLayout)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a5267368bf88b4f2a65a5e06ac3f9ecd4
func (*BuffersrcFilterContextParameters) SetColorRange ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetColorRange(r ColorRange)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a442add2b039f416dd7c92ccf1ccd0d3b
func (*BuffersrcFilterContextParameters) SetColorSpace ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetColorSpace(s ColorSpace)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a700226626af70f787c930d7506554757
func (*BuffersrcFilterContextParameters) SetFramerate ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetFramerate(f Rational)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a032a202496206e18449c66233058647a
func (*BuffersrcFilterContextParameters) SetHardwareFrameContext ¶ added in v0.25.0
func (bfcp *BuffersrcFilterContextParameters) SetHardwareFrameContext(hfc *HardwareFrameContext)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a86c49b4202433037c9e2b0b6ae541534
func (*BuffersrcFilterContextParameters) SetHeight ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetHeight(height int)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a89783d603b84908fb1998bbbea981b70
func (*BuffersrcFilterContextParameters) SetPixelFormat ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetPixelFormat(f PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a56f28f81f1a86cecc39a8d61674912b8
func (*BuffersrcFilterContextParameters) SetSampleAspectRatio ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetSampleAspectRatio(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#ae47c141ea7a7770351613242229f951a
func (*BuffersrcFilterContextParameters) SetSampleFormat ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetSampleFormat(f SampleFormat)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a56f28f81f1a86cecc39a8d61674912b8
func (*BuffersrcFilterContextParameters) SetSampleRate ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetSampleRate(sampleRate int)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a34a1613f1e80f8520c159fac59e29834
func (*BuffersrcFilterContextParameters) SetTimeBase ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetTimeBase(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a7767325c1259942a33586f05c90e38b0
func (*BuffersrcFilterContextParameters) SetWidth ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) SetWidth(width int)
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a6c6f3d9ed8b427070e9055e7ac61263f
func (*BuffersrcFilterContextParameters) TimeBase ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) TimeBase() Rational
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a7767325c1259942a33586f05c90e38b0
func (*BuffersrcFilterContextParameters) Width ¶ added in v0.29.0
func (bfcp *BuffersrcFilterContextParameters) Width() int
https://ffmpeg.org/doxygen/7.0/structAVBufferSrcParameters.html#a6c6f3d9ed8b427070e9055e7ac61263f
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
}
https://ffmpeg.org/doxygen/7.0/structAVChannelLayout.html
func (ChannelLayout) Channels ¶ added in v0.17.0
func (l ChannelLayout) Channels() int
https://ffmpeg.org/doxygen/7.0/structAVChannelLayout.html#adfd3f460a8ea1575baa32852d9248d3c
func (ChannelLayout) Compare ¶ added in v0.8.0
func (l ChannelLayout) Compare(l2 ChannelLayout) (equal bool, err error)
https://ffmpeg.org/doxygen/7.0/group__lavu__audio__channels.html#ga5da99475fc07b778522974a2e0a1f58c
func (ChannelLayout) Describe ¶ added in v0.8.0
func (l ChannelLayout) Describe(b []byte) (int, error)
https://ffmpeg.org/doxygen/7.0/group__lavu__audio__channels.html#gacc7d7d1a280248aafb8f9196c9d4e24f
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
https://ffmpeg.org/doxygen/7.0/group__lavu__audio__channels.html#gad15a6bf80ee8551ee4a4789d970ccbea
type ChromaLocation ¶
type ChromaLocation C.enum_AVChromaLocation
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#a1f86ed1b6a420faccacf77c98db6c1ff
type Class ¶ added in v0.13.0
type Class struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVClass.html
func (*Class) Category ¶ added in v0.13.0
func (c *Class) Category() ClassCategory
https://ffmpeg.org/doxygen/7.0/structAVClass.html#a5fc161d93a0d65a608819da20b7203ba
func (*Class) ItemName ¶ added in v0.13.0
https://ffmpeg.org/doxygen/7.0/structAVClass.html#ad763b2e6a0846234a165e74574a550bd
func (*Class) Name ¶ added in v0.13.0
https://ffmpeg.org/doxygen/7.0/structAVClass.html#aa8883e113a3f2965abd008f7667db7eb
func (*Class) Parent ¶ added in v0.13.0
https://ffmpeg.org/doxygen/7.0/structAVClass.html#a88948c8a7c6515181771615a54a808bf
type ClassCategory ¶ added in v0.13.0
type ClassCategory C.AVClassCategory
https://ffmpeg.org/doxygen/7.0/log_8h.html#aeb1c06cc3e47a029ca6afeac782ac8f9
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://ffmpeg.org/doxygen/7.0/structAVCodec.html
func Codecs ¶ added in v0.13.0
func Codecs() (cs []*Codec)
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga7cd040fcc147340186deb0c54dc996b0
func FindDecoder ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga51e35d01da2b3833b3afa839212c58fa
func FindDecoderByName ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#gad4e08a758f3560006145db074d16cb47
func FindEncoder ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga68e4b5f31de5e5fc25d5781a1be22331
func FindEncoderByName ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga9fa02c1eae54a2ec67beb789c2688d6e
func (*Codec) ChannelLayouts ¶
func (c *Codec) ChannelLayouts() (o []ChannelLayout)
https://ffmpeg.org/doxygen/7.0/structAVCodec.html#a710e3bd3081124ef3364b0c520379dd8
func (*Codec) HardwareConfigs ¶ added in v0.13.0
func (c *Codec) HardwareConfigs() (configs []CodecHardwareConfig)
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga4f80582a2ea9c0e141de5d6f6152008f
func (*Codec) ID ¶ added in v0.13.0
https://ffmpeg.org/doxygen/7.0/structAVCodec.html#a01a53d07936f4c7ee280444793b6967b
func (*Codec) IsDecoder ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga6dc18eef1afca3610644a52565cf8a31
func (*Codec) IsEncoder ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga2b665824e4d9144f8d4f6c01e3e85aa3
func (*Codec) Name ¶
https://ffmpeg.org/doxygen/7.0/structAVCodec.html#ad3daa3e729850b573c139a83be8938ca
func (*Codec) PixelFormats ¶
func (c *Codec) PixelFormats() (o []PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodec.html#ac2b97bd3c19686025e1b7d577329c250
func (*Codec) SampleFormats ¶
func (c *Codec) SampleFormats() (o []SampleFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodec.html#aac19f4c45370f715412ad5c7b78daacf
type CodecContext ¶
type CodecContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html
func AllocCodecContext ¶
func AllocCodecContext(c *Codec) *CodecContext
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#gae80afec6f26df6607eaacf39b561c315
func (*CodecContext) BitRate ¶
func (cc *CodecContext) BitRate() int64
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a6b53fda85ad61baa345edbd96cb8a33c
func (*CodecContext) ChannelLayout ¶
func (cc *CodecContext) ChannelLayout() ChannelLayout
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a167ff73c67960acf2d5ca73d93e13f64
func (*CodecContext) ChromaLocation ¶
func (cc *CodecContext) ChromaLocation() ChromaLocation
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ac60a0209642b5d74068cab0ac35a78b2
func (*CodecContext) Class ¶ added in v0.13.0
func (cc *CodecContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a90622d3af2a9abba986a1c9f7ca21b16
func (*CodecContext) CodecID ¶
func (cc *CodecContext) CodecID() CodecID
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#adc5f65d6099fd8339c1580c091777223
func (*CodecContext) ColorPrimaries ¶
func (cc *CodecContext) ColorPrimaries() ColorPrimaries
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3a41b3e5bde23b877799f6e72dac8ef3
func (*CodecContext) ColorRange ¶
func (cc *CodecContext) ColorRange() ColorRange
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a255bf7100a4ba6dcb6ee5d87740a4f35
func (*CodecContext) ColorSpace ¶
func (cc *CodecContext) ColorSpace() ColorSpace
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a8cd8caa7d40319324ce3d879a2edbd9f
func (*CodecContext) ColorTransferCharacteristic ¶
func (cc *CodecContext) ColorTransferCharacteristic() ColorTransferCharacteristic
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ab649e8c599f5a0e2a30448e67a36deb6
func (*CodecContext) ExtraData ¶ added in v0.14.0
func (cc *CodecContext) ExtraData() []byte
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#abe964316aaaa61967b012efdcced79c4
func (*CodecContext) ExtraHardwareFrames ¶ added in v0.14.0
func (cc *CodecContext) ExtraHardwareFrames() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ad2f772bd948d8f3be4d674a3a52ee00e
func (*CodecContext) Flags ¶
func (cc *CodecContext) Flags() CodecContextFlags
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#abb01e291550fa3fb96188af4d494587e
func (*CodecContext) Flags2 ¶
func (cc *CodecContext) Flags2() CodecContextFlags2
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a1944f9a4f8f2e123c087e1fe7613d571
func (*CodecContext) FrameSize ¶
func (cc *CodecContext) FrameSize() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#aec57f0d859a6df8b479cd93ca3a44a33
func (*CodecContext) Framerate ¶
func (cc *CodecContext) Framerate() Rational
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a4d08b297e97eefd66c714df4fff493c8
func (*CodecContext) Free ¶
func (cc *CodecContext) Free()
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#gaf869d0829ed607cec3a4a02a1c7026b3
func (*CodecContext) FromCodecParameters ¶ added in v0.14.0
func (cc *CodecContext) FromCodecParameters(cp *CodecParameters) error
func (*CodecContext) GopSize ¶
func (cc *CodecContext) GopSize() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a9b6b3f1fcbdcc2ad9f4dbb4370496e38
func (*CodecContext) HardwareFrameContext ¶ added in v0.25.0
func (cc *CodecContext) HardwareFrameContext() *HardwareFrameContext
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3bac44bb0b016ab838780cc19ac277d6
func (*CodecContext) Height ¶
func (cc *CodecContext) Height() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0449afd803eb107bd4dbc8b5ea22e363
func (*CodecContext) Level ¶
func (cc *CodecContext) Level() Level
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a6927dc652ae6241f1dfdbad4e12d3a40
func (*CodecContext) MaxBFrames ¶ added in v0.29.0
func (cc *CodecContext) MaxBFrames() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3e5334a611a3e2a6a653805bb9e2d4d4
func (*CodecContext) MediaType ¶
func (cc *CodecContext) MediaType() MediaType
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3f99ca3115c44e6d7772c9384faf15e6
func (*CodecContext) Open ¶
func (cc *CodecContext) Open(c *Codec, d *Dictionary) error
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga11f785a188d7d9df71621001465b0f1d
func (*CodecContext) PixelFormat ¶
func (cc *CodecContext) PixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0425c77b3d06d71e5db88b1d7e1b37f2
func (*CodecContext) PrivateData ¶ added in v0.25.0
func (cc *CodecContext) PrivateData() *PrivateData
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#af3379123060ad8cc9c321c29af4f8360
func (*CodecContext) Profile ¶
func (cc *CodecContext) Profile() Profile
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a7abe7095de73df98df4895bf9e25fc6b
func (*CodecContext) Qmin ¶ added in v0.8.0
func (cc *CodecContext) Qmin() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3f63bc9141e25bf7f1cda0cef7cd4a60
func (*CodecContext) RateControlBufferSize ¶ added in v0.29.0
func (cc *CodecContext) RateControlBufferSize() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a15000607a7e2371162348bb35b0184c1
func (*CodecContext) RateControlMaxRate ¶ added in v0.29.0
func (cc *CodecContext) RateControlMaxRate() int64
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#aa2b5582f1a360534310b686cc3f7c668
func (*CodecContext) RateControlMinRate ¶ added in v0.29.0
func (cc *CodecContext) RateControlMinRate() int64
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ac265c70b89e87455ec05eb2978def81b
func (*CodecContext) ReceiveFrame ¶
func (cc *CodecContext) ReceiveFrame(f *Frame) error
https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga11e6542c4e66d3028668788a1a74217c
func (*CodecContext) ReceivePacket ¶
func (cc *CodecContext) ReceivePacket(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga5b8eff59cf259747cf0b31563e38ded6
func (*CodecContext) SampleAspectRatio ¶
func (cc *CodecContext) SampleAspectRatio() Rational
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a5252d34fbce300228d4dbda19a8c3293
func (*CodecContext) SampleFormat ¶
func (cc *CodecContext) SampleFormat() SampleFormat
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a1bdba69ea111e2a9d03fdaa7a46a4c45
func (*CodecContext) SampleRate ¶
func (cc *CodecContext) SampleRate() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a8ff0b000c463361e234af48d03aadfc0
func (*CodecContext) SendFrame ¶
func (cc *CodecContext) SendFrame(f *Frame) error
https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga9395cb802a5febf1f00df31497779169
func (*CodecContext) SendPacket ¶
func (cc *CodecContext) SendPacket(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga58bc4bf1e0ac59e27362597e467efff3
func (*CodecContext) SetBitRate ¶
func (cc *CodecContext) SetBitRate(bitRate int64)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a6b53fda85ad61baa345edbd96cb8a33c
func (*CodecContext) SetChannelLayout ¶
func (cc *CodecContext) SetChannelLayout(l ChannelLayout)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a167ff73c67960acf2d5ca73d93e13f64
func (*CodecContext) SetExtraData ¶ added in v0.14.0
func (cc *CodecContext) SetExtraData(b []byte) error
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#abe964316aaaa61967b012efdcced79c4
func (*CodecContext) SetExtraHardwareFrames ¶ added in v0.14.0
func (cc *CodecContext) SetExtraHardwareFrames(n int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ad2f772bd948d8f3be4d674a3a52ee00e
func (*CodecContext) SetFlags ¶
func (cc *CodecContext) SetFlags(fs CodecContextFlags)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#abb01e291550fa3fb96188af4d494587e
func (*CodecContext) SetFlags2 ¶
func (cc *CodecContext) SetFlags2(fs CodecContextFlags2)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a1944f9a4f8f2e123c087e1fe7613d571
func (*CodecContext) SetFramerate ¶
func (cc *CodecContext) SetFramerate(f Rational)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a4d08b297e97eefd66c714df4fff493c8
func (*CodecContext) SetGopSize ¶
func (cc *CodecContext) SetGopSize(gopSize int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a9b6b3f1fcbdcc2ad9f4dbb4370496e38
func (*CodecContext) SetHardwareDeviceContext ¶ added in v0.13.0
func (cc *CodecContext) SetHardwareDeviceContext(hdc *HardwareDeviceContext)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#acf8113e490f9e7b57465e65af9c0c75c
func (*CodecContext) SetHardwareFrameContext ¶ added in v0.25.0
func (cc *CodecContext) SetHardwareFrameContext(hfc *HardwareFrameContext)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3bac44bb0b016ab838780cc19ac277d6
func (*CodecContext) SetHeight ¶
func (cc *CodecContext) SetHeight(height int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0449afd803eb107bd4dbc8b5ea22e363
func (*CodecContext) SetLevel ¶ added in v0.14.0
func (cc *CodecContext) SetLevel(l Level)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a6927dc652ae6241f1dfdbad4e12d3a40
func (*CodecContext) SetMaxBFrames ¶ added in v0.29.0
func (cc *CodecContext) SetMaxBFrames(n int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3e5334a611a3e2a6a653805bb9e2d4d4
func (*CodecContext) SetPixelFormat ¶
func (cc *CodecContext) SetPixelFormat(pixFmt PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0425c77b3d06d71e5db88b1d7e1b37f2
func (*CodecContext) SetPixelFormatCallback ¶ added in v0.13.0
func (cc *CodecContext) SetPixelFormatCallback(c CodecContextPixelFormatCallback)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a360a2b8508a67c4234d97f4c13ba1bb5
func (*CodecContext) SetProfile ¶ added in v0.14.0
func (cc *CodecContext) SetProfile(p Profile)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a7abe7095de73df98df4895bf9e25fc6b
func (*CodecContext) SetQmin ¶ added in v0.8.0
func (cc *CodecContext) SetQmin(qmin int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3f63bc9141e25bf7f1cda0cef7cd4a60
func (*CodecContext) SetRateControlBufferSize ¶ added in v0.29.0
func (cc *CodecContext) SetRateControlBufferSize(n int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a15000607a7e2371162348bb35b0184c1
func (*CodecContext) SetRateControlMaxRate ¶ added in v0.29.0
func (cc *CodecContext) SetRateControlMaxRate(n int64)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#aa2b5582f1a360534310b686cc3f7c668
func (*CodecContext) SetRateControlMinRate ¶ added in v0.29.0
func (cc *CodecContext) SetRateControlMinRate(n int64)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ac265c70b89e87455ec05eb2978def81b
func (*CodecContext) SetSampleAspectRatio ¶
func (cc *CodecContext) SetSampleAspectRatio(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a5252d34fbce300228d4dbda19a8c3293
func (*CodecContext) SetSampleFormat ¶
func (cc *CodecContext) SetSampleFormat(f SampleFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a1bdba69ea111e2a9d03fdaa7a46a4c45
func (*CodecContext) SetSampleRate ¶
func (cc *CodecContext) SetSampleRate(sampleRate int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a8ff0b000c463361e234af48d03aadfc0
func (*CodecContext) SetStrictStdCompliance ¶
func (cc *CodecContext) SetStrictStdCompliance(c StrictStdCompliance)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3090804569341ca235e3adbdc03318d2
func (*CodecContext) SetThreadCount ¶
func (cc *CodecContext) SetThreadCount(threadCount int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#aa852b6227d0778b62e9cc4034ad3720c
func (*CodecContext) SetThreadType ¶
func (cc *CodecContext) SetThreadType(t ThreadType)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a7651614f4309122981d70e06a4b42fcb
func (*CodecContext) SetTimeBase ¶
func (cc *CodecContext) SetTimeBase(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ab7bfeb9fa5840aac090e2b0bd0ef7589
func (*CodecContext) SetWidth ¶
func (cc *CodecContext) SetWidth(width int)
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0d8f46461754e8abea0847dcbc41b956
func (*CodecContext) StrictStdCompliance ¶
func (cc *CodecContext) StrictStdCompliance() StrictStdCompliance
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a3090804569341ca235e3adbdc03318d2
func (*CodecContext) String ¶
func (cc *CodecContext) String() string
func (*CodecContext) ThreadCount ¶
func (cc *CodecContext) ThreadCount() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#aa852b6227d0778b62e9cc4034ad3720c
func (*CodecContext) ThreadType ¶
func (cc *CodecContext) ThreadType() ThreadType
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a7651614f4309122981d70e06a4b42fcb
func (*CodecContext) TimeBase ¶
func (cc *CodecContext) TimeBase() Rational
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#ab7bfeb9fa5840aac090e2b0bd0ef7589
func (*CodecContext) ToCodecParameters ¶ added in v0.14.0
func (cc *CodecContext) ToCodecParameters(cp *CodecParameters) error
func (*CodecContext) UnsafePointer ¶ added in v0.25.0
func (cc *CodecContext) UnsafePointer() unsafe.Pointer
func (*CodecContext) Width ¶
func (cc *CodecContext) Width() int
https://ffmpeg.org/doxygen/7.0/structAVCodecContext.html#a0d8f46461754e8abea0847dcbc41b956
type CodecContextFlag ¶
type CodecContextFlag int64
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#gaa52d62f5dbfc4529388f0454ae671359
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://ffmpeg.org/doxygen/7.0/structAVCodecHWConfig.html
func (CodecHardwareConfig) HardwareDeviceType ¶ added in v0.13.0
func (chc CodecHardwareConfig) HardwareDeviceType() HardwareDeviceType
https://ffmpeg.org/doxygen/7.0/structAVCodecHWConfig.html#a1474cb73c1f41e377dc5070ae373ac40
func (CodecHardwareConfig) MethodFlags ¶ added in v0.13.0
func (chc CodecHardwareConfig) MethodFlags() CodecHardwareConfigMethodFlags
https://ffmpeg.org/doxygen/7.0/structAVCodecHWConfig.html#a208c924c3f626b01bf2020eef9eb4905
func (CodecHardwareConfig) PixelFormat ¶ added in v0.13.0
func (chc CodecHardwareConfig) PixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structAVCodecHWConfig.html#a9352b11d6d6b315fe3c61b65447d5174
type CodecHardwareConfigMethodFlag ¶ added in v0.13.0
type CodecHardwareConfigMethodFlag int64
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://ffmpeg.org/doxygen/7.0/group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce
type CodecParameters ¶
type CodecParameters struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html
func AllocCodecParameters ¶
func AllocCodecParameters() *CodecParameters
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga647755ab2252e93221bb345f3d5e414f
func (*CodecParameters) BitRate ¶
func (cp *CodecParameters) BitRate() int64
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a5268fcf4ae8ed27edef54f836b926d93
func (*CodecParameters) ChannelLayout ¶
func (cp *CodecParameters) ChannelLayout() ChannelLayout
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a4d581c205b18108a4f00e8fb3a2b26f9
func (*CodecParameters) ChromaLocation ¶
func (cp *CodecParameters) ChromaLocation() ChromaLocation
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#ae4c7ac718a75adb31b5f2076a02fdedf
func (*CodecParameters) CodecID ¶
func (cp *CodecParameters) CodecID() CodecID
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9f76f2475ef24ff4c9771dd53072d040
func (*CodecParameters) CodecTag ¶
func (cp *CodecParameters) CodecTag() CodecTag
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9b6f7d220d100ba73defab295623356b
func (*CodecParameters) ColorPrimaries ¶
func (cp *CodecParameters) ColorPrimaries() ColorPrimaries
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#aa884cae3fd16b30c61201a686664f96b
func (*CodecParameters) ColorRange ¶
func (cp *CodecParameters) ColorRange() ColorRange
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#afa6744d9b8766db47a5ff7bddf0f2404
func (*CodecParameters) ColorSpace ¶
func (cp *CodecParameters) ColorSpace() ColorSpace
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a020398a4963e932853cefc169d90456d
func (*CodecParameters) ColorTransferCharacteristic ¶
func (cp *CodecParameters) ColorTransferCharacteristic() ColorTransferCharacteristic
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#ac25ed8394e1efdbbcf28932ff0020893
func (*CodecParameters) Copy ¶
func (cp *CodecParameters) Copy(dst *CodecParameters) error
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga6d02e640ccc12c783841ce51d09b9fa7
func (*CodecParameters) ExtraData ¶ added in v0.14.0
func (cp *CodecParameters) ExtraData() []byte
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9befe0b86412646017afb0051d144d13
func (*CodecParameters) FrameSize ¶
func (cp *CodecParameters) FrameSize() int
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a0ce9631123719789e4c7b0c23c66d534
func (*CodecParameters) Free ¶
func (cp *CodecParameters) Free()
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga950c8da55b8112077e640b6a0cb8cf36
func (*CodecParameters) FromCodecContext ¶
func (cp *CodecParameters) FromCodecContext(cc *CodecContext) error
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga506c1c185ac48bb0086c61e267fc085c
func (*CodecParameters) Height ¶
func (cp *CodecParameters) Height() int
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a1ec57ee84f19cf65d00eaa4d2a2253ce
func (*CodecParameters) Level ¶
func (cp *CodecParameters) Level() Level
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a26ae48eeaf8b315eca03b207e11edc7c
func (*CodecParameters) MediaType ¶
func (cp *CodecParameters) MediaType() MediaType
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a58369c3a8a986935b572df5aa6361ce2
func (*CodecParameters) PixelFormat ¶
func (cp *CodecParameters) PixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abee943e65d98f9763fa6602a356e774f
func (*CodecParameters) Profile ¶
func (cp *CodecParameters) Profile() Profile
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a6b13b8a226ed923085718cd1323bfcb5
func (*CodecParameters) SampleAspectRatio ¶
func (cp *CodecParameters) SampleAspectRatio() Rational
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a7d6ef91120ffe80040c699e747a1ad68
func (*CodecParameters) SampleFormat ¶
func (cp *CodecParameters) SampleFormat() SampleFormat
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abee943e65d98f9763fa6602a356e774f
func (*CodecParameters) SampleRate ¶
func (cp *CodecParameters) SampleRate() int
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abfc9b0aa975206f7e77a125e6b78536e
func (*CodecParameters) SetChannelLayout ¶ added in v0.5.0
func (cp *CodecParameters) SetChannelLayout(l ChannelLayout)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a4d581c205b18108a4f00e8fb3a2b26f9
func (*CodecParameters) SetCodecID ¶ added in v0.4.0
func (cp *CodecParameters) SetCodecID(i CodecID)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9f76f2475ef24ff4c9771dd53072d040
func (*CodecParameters) SetCodecTag ¶
func (cp *CodecParameters) SetCodecTag(t CodecTag)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9b6f7d220d100ba73defab295623356b
func (*CodecParameters) SetColorRange ¶ added in v0.14.0
func (cp *CodecParameters) SetColorRange(r ColorRange)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#afa6744d9b8766db47a5ff7bddf0f2404
func (*CodecParameters) SetColorSpace ¶ added in v0.20.0
func (cp *CodecParameters) SetColorSpace(s ColorSpace)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a020398a4963e932853cefc169d90456d
func (*CodecParameters) SetExtraData ¶ added in v0.14.0
func (cp *CodecParameters) SetExtraData(b []byte) error
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a9befe0b86412646017afb0051d144d13
func (*CodecParameters) SetFrameSize ¶ added in v0.14.0
func (cp *CodecParameters) SetFrameSize(i int)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a0ce9631123719789e4c7b0c23c66d534
func (*CodecParameters) SetHeight ¶ added in v0.4.0
func (cp *CodecParameters) SetHeight(h int)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a1ec57ee84f19cf65d00eaa4d2a2253ce
func (*CodecParameters) SetLevel ¶ added in v0.14.0
func (cp *CodecParameters) SetLevel(l Level)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a26ae48eeaf8b315eca03b207e11edc7c
func (*CodecParameters) SetMediaType ¶ added in v0.14.0
func (cp *CodecParameters) SetMediaType(t MediaType)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a58369c3a8a986935b572df5aa6361ce2
func (*CodecParameters) SetPixelFormat ¶ added in v0.4.0
func (cp *CodecParameters) SetPixelFormat(f PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abee943e65d98f9763fa6602a356e774f
func (*CodecParameters) SetProfile ¶ added in v0.14.0
func (cp *CodecParameters) SetProfile(p Profile)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a6b13b8a226ed923085718cd1323bfcb5
func (*CodecParameters) SetSampleAspectRatio ¶ added in v0.4.0
func (cp *CodecParameters) SetSampleAspectRatio(r Rational)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a7d6ef91120ffe80040c699e747a1ad68
func (*CodecParameters) SetSampleFormat ¶ added in v0.5.0
func (cp *CodecParameters) SetSampleFormat(f SampleFormat)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abee943e65d98f9763fa6602a356e774f
func (*CodecParameters) SetSampleRate ¶ added in v0.5.0
func (cp *CodecParameters) SetSampleRate(r int)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#abfc9b0aa975206f7e77a125e6b78536e
func (*CodecParameters) SetWidth ¶ added in v0.4.0
func (cp *CodecParameters) SetWidth(w int)
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a51639f88aef9f4f283f538a0c033fbb8
func (*CodecParameters) SideData ¶ added in v0.17.0
func (cp *CodecParameters) SideData() *PacketSideData
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#ad54da9241deabb3601e6e0e8fa832c19
func (*CodecParameters) ToCodecContext ¶
func (cp *CodecParameters) ToCodecContext(cc *CodecContext) error
https://ffmpeg.org/doxygen/7.0/group__lavc__core.html#ga8a4998c9d1695abb01d379539d313227
func (*CodecParameters) Width ¶
func (cp *CodecParameters) Width() int
https://ffmpeg.org/doxygen/7.0/structAVCodecParameters.html#a51639f88aef9f4f283f538a0c033fbb8
type ColorPrimaries ¶
type ColorPrimaries C.enum_AVColorPrimaries
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#ad384ee5a840bafd73daef08e6d9cafe7
type ColorRange ¶
type ColorRange C.enum_AVColorRange
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#a3da0bf691418bc22c4bcbe6583ad589a
func (ColorRange) Name ¶ added in v0.25.0
func (r ColorRange) Name() string
https://ffmpeg.org/doxygen/7.0/pixdesc_8c.html#a590decf389632dd3af095f3096a92caf
func (ColorRange) String ¶ added in v0.20.0
func (r ColorRange) String() string
type ColorSpace ¶
type ColorSpace C.enum_AVColorSpace
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#aff71a069509a1ad3ff54d53a1c894c85
func (ColorSpace) Name ¶ added in v0.25.0
func (s ColorSpace) Name() string
https://ffmpeg.org/doxygen/7.0/pixdesc_8c.html#a7a5b3f4d128f0a0112b4a91f75055339
func (ColorSpace) String ¶ added in v0.20.0
func (s ColorSpace) String() string
type ColorTransferCharacteristic ¶
type ColorTransferCharacteristic C.enum_AVColorTransferCharacteristic
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#ad4791ea14975f098b649db7fcd731ce6
type CompareTimestampsResult ¶ added in v0.25.0
type CompareTimestampsResult uint8
const ( CompareTimestampsResultUndefined CompareTimestampsResult = iota CompareTimestampsResultAEqualB CompareTimestampsResultABeforeB CompareTimestampsResultAAfterB )
func CompareTimestamps ¶ added in v0.25.0
func CompareTimestamps(a, b int64, timeBaseA, timeBaseB Rational) CompareTimestampsResult
https://ffmpeg.org/doxygen/7.0/group__lavu__math.html#ga151744358fff630942b926e67e67c415
type Dictionary ¶
type Dictionary struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVDictionary.html
func NewDictionary ¶
func NewDictionary() *Dictionary
func (*Dictionary) Free ¶
func (d *Dictionary) Free()
https://ffmpeg.org/doxygen/7.0/group__lavu__dict.html#ga1bafd682b1fbb90e48a4cc3814b820f7
func (*Dictionary) Get ¶
func (d *Dictionary) Get(key string, prev *DictionaryEntry, flags DictionaryFlags) *DictionaryEntry
https://ffmpeg.org/doxygen/7.0/group__lavu__dict.html#gae67f143237b2cb2936c9b147aa6dfde3
func (*Dictionary) Pack ¶
func (d *Dictionary) Pack() []byte
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga2d2c8e143a2c98cf0aa31b072c286186
func (*Dictionary) ParseString ¶
func (d *Dictionary) ParseString(i, keyValSep, pairsSep string, flags DictionaryFlags) error
https://ffmpeg.org/doxygen/7.0/group__lavu__dict.html#gaca5ff7c251e60bd13164d13c82f21b79
func (*Dictionary) Set ¶
func (d *Dictionary) Set(key, value string, flags DictionaryFlags) error
https://ffmpeg.org/doxygen/7.0/group__lavu__dict.html#ga8d9c2de72b310cef8e6a28c9cd3acbbe
func (*Dictionary) Unpack ¶
func (d *Dictionary) Unpack(b []byte) error
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gaae45c29cb3a29dc80b0b8f4ee9724492
type DictionaryEntry ¶
type DictionaryEntry struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVDictionaryEntry.html
func (DictionaryEntry) Key ¶
func (e DictionaryEntry) Key() string
https://ffmpeg.org/doxygen/7.0/structAVDictionaryEntry.html#a38fc80176f8f839282bb61c03392e194
func (DictionaryEntry) Value ¶
func (e DictionaryEntry) Value() string
https://ffmpeg.org/doxygen/7.0/structAVDictionaryEntry.html#aa38678f2cad36f120d42e56449c5edb4
type DictionaryFlag ¶
type DictionaryFlag int64
https://ffmpeg.org/doxygen/7.0/group__lavu__dict.html#gad9cbc53cec515b72ae7caa2e194c6bc0
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 Discard ¶ added in v0.28.0
type Discard C.enum_AVDiscard
https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga352363bce7d3ed82c101b3bc001d1c16
type DisplayMatrix ¶ added in v0.3.0
type DisplayMatrix [9]uint32
https://ffmpeg.org/doxygen/7.0/group__lavu__video__display.html
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
https://ffmpeg.org/doxygen/7.0/group__lavu__video__display.html#ga5964303bfe085ad33683bc2454768d4a
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 https://ffmpeg.org/doxygen/7.0/group__lavu__video__display.html#gaac2ea94d3f66496c758349450b5b0217
type Error ¶
type Error int
https://ffmpeg.org/doxygen/7.0/group__lavu__error.html#ga586e134e9dad8f57a218b2cd8734b601
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFilter.html
func FindFilterByName ¶
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gadd774ec49e50edf00158248e1bfe4ae6
func (*Filter) Inputs ¶ added in v0.20.0
https://ffmpeg.org/doxygen/7.0/structAVFilter.html#ad311151fe6e8c87a89f895bef7c8b98b
func (*Filter) Name ¶
https://ffmpeg.org/doxygen/7.0/structAVFilter.html#a28a4776f344f91055f42a4c2a1b15c0c
func (*Filter) NbInputs ¶ added in v0.20.0
https://ffmpeg.org/doxygen/7.0/structAVFilter.html#a04e408702054370fbe35c8d5b49f68cb
func (*Filter) NbOutputs ¶ added in v0.20.0
https://ffmpeg.org/doxygen/7.0/structAVFilter.html#abb166cb2c9349de54d24aefb879608f4
func (*Filter) Outputs ¶ added in v0.20.0
https://ffmpeg.org/doxygen/7.0/structAVFilter.html#ad0608786fa3e1ca6e4cc4b67039f77d7
type FilterChain ¶ added in v0.20.0
type FilterChain struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFilterChain.html
func (*FilterChain) Filters ¶ added in v0.20.0
func (fc *FilterChain) Filters() (fs []*FilterParams)
https://ffmpeg.org/doxygen/7.0/structAVFilterChain.html#aedebb337fac024e27b499fb3a0321f3e
func (*FilterChain) NbFilters ¶ added in v0.20.0
func (fc *FilterChain) NbFilters() int
https://ffmpeg.org/doxygen/7.0/structAVFilterChain.html#abacf5280bd6db0d37a304b0dd0b6c54d
type FilterCommandFlag ¶
type FilterCommandFlag int64
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gace41bae000b621fc8804a93ce9f2d6e9
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://ffmpeg.org/doxygen/7.0/structAVFilterContext.html
func (*FilterContext) Class ¶ added in v0.13.0
func (fc *FilterContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structAVFilterContext.html#a00ac82b13bb720349c138310f98874ca
func (*FilterContext) Free ¶
func (fc *FilterContext) Free()
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga0ea7664a3ce6bb677a830698d358a179
type FilterGraph ¶
type FilterGraph struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html
func AllocFilterGraph ¶
func AllocFilterGraph() *FilterGraph
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga6c778454b86f845805ffd814b4ce51d4
func (*FilterGraph) Class ¶ added in v0.13.0
func (g *FilterGraph) Class() *Class
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html#af00925dd69b474fac48887efc0e1ac94
func (*FilterGraph) Configure ¶
func (g *FilterGraph) Configure() error
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga1896c46b7bc6ff1bdb1a4815faa9ad07
func (*FilterGraph) Free ¶
func (g *FilterGraph) Free()
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga871684449dac05050df238a18d0d493b
func (*FilterGraph) NewBuffersinkFilterContext ¶ added in v0.24.0
func (g *FilterGraph) NewBuffersinkFilterContext(f *Filter, name string) (*BuffersinkFilterContext, error)
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gac0788a9ab6966dba9318b5d5c7524fea
func (*FilterGraph) NewBuffersrcFilterContext ¶ added in v0.24.0
func (g *FilterGraph) NewBuffersrcFilterContext(f *Filter, name string) (*BuffersrcFilterContext, error)
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gaa9af17ecf4c5c87307b57cf08411088b
func (*FilterGraph) Parse ¶
func (g *FilterGraph) Parse(content string, inputs, outputs *FilterInOut) error
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga34f4ff420bd58da6747a3ff1fbedd001
func (*FilterGraph) ParseSegment ¶ added in v0.20.0
func (g *FilterGraph) ParseSegment(content string) (*FilterGraphSegment, error)
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga2ecfd3667219b6cd1e37b7047cc0ef2b
func (*FilterGraph) SendCommand ¶
func (g *FilterGraph) SendCommand(target, cmd, args string, f FilterCommandFlags) (response string, err error)
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gaaad7850fb5fe26d35e5d371ca75b79e1
func (*FilterGraph) SetThreadCount ¶ added in v0.16.0
func (g *FilterGraph) SetThreadCount(threadCount int)
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html#ac28dcbf76e6fdd800295a2738d41660e
func (*FilterGraph) SetThreadType ¶ added in v0.16.0
func (g *FilterGraph) SetThreadType(t ThreadType)
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html#a7fd96bbd6d1a3b730681dc0bf5107a5e
func (*FilterGraph) String ¶
func (g *FilterGraph) String() string
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#gadb442aca4e5a8c3ba740f6049f0a288b
func (*FilterGraph) ThreadCount ¶ added in v0.16.0
func (g *FilterGraph) ThreadCount() int
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html#ac28dcbf76e6fdd800295a2738d41660e
func (*FilterGraph) ThreadType ¶ added in v0.16.0
func (g *FilterGraph) ThreadType() ThreadType
https://ffmpeg.org/doxygen/7.0/structAVFilterGraph.html#a7fd96bbd6d1a3b730681dc0bf5107a5e
type FilterGraphSegment ¶ added in v0.20.0
type FilterGraphSegment struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFilterGraphSegment.html
func (*FilterGraphSegment) Chains ¶ added in v0.20.0
func (fgs *FilterGraphSegment) Chains() (cs []*FilterChain)
https://ffmpeg.org/doxygen/7.0/structAVFilterGraphSegment.html#ad5a2779af221d1520490fe2719f9e39a
func (*FilterGraphSegment) Free ¶ added in v0.20.0
func (fgs *FilterGraphSegment) Free()
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga51283edd8f3685e1f33239f360e14ae8
func (*FilterGraphSegment) NbChains ¶ added in v0.20.0
func (fgs *FilterGraphSegment) NbChains() int
https://ffmpeg.org/doxygen/7.0/structAVFilterGraphSegment.html#ab7563eca151d89e693f6258de5ce0214
type FilterInOut ¶
type FilterInOut struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFilterInOut.html
func AllocFilterInOut ¶
func AllocFilterInOut() *FilterInOut
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga6e1c2931e15eb4283c59c6ccc8b83919
func (*FilterInOut) Free ¶
func (i *FilterInOut) Free()
https://ffmpeg.org/doxygen/7.0/group__lavfi.html#ga294500a9856260eb1552354fd9d9a6c4
func (*FilterInOut) SetFilterContext ¶
func (i *FilterInOut) SetFilterContext(c *FilterContext)
https://ffmpeg.org/doxygen/7.0/structAVFilterInOut.html#a3227857d0b955b639f4950d13e4e6f40
func (*FilterInOut) SetName ¶
func (i *FilterInOut) SetName(n string)
https://ffmpeg.org/doxygen/7.0/structAVFilterInOut.html#a88afecac258f51aab7e9a9db9e7a4d58
func (*FilterInOut) SetNext ¶
func (i *FilterInOut) SetNext(n *FilterInOut)
https://ffmpeg.org/doxygen/7.0/structAVFilterInOut.html#af8c8cf9ffb650974d19e791f5bb7cf33
func (*FilterInOut) SetPadIdx ¶
func (i *FilterInOut) SetPadIdx(idx int)
https://ffmpeg.org/doxygen/7.0/structAVFilterInOut.html#a386ff90d40aa22f5612dd5eca734ed48
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://ffmpeg.org/doxygen/7.0/structAVFilterParams.html
func (*FilterParams) FilterName ¶ added in v0.20.0
func (fp *FilterParams) FilterName() string
https://ffmpeg.org/doxygen/7.0/structAVFilterParams.html#a90edb3817b62f2ca70ea70001b84d001
type FormatContext ¶
type FormatContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html
func AllocFormatContext ¶
func AllocFormatContext() *FormatContext
https://ffmpeg.org/doxygen/7.0/group__lavf__core.html#gac7a91abf2f59648d995894711f070f62
func AllocOutputFormatContext ¶
func AllocOutputFormatContext(of *OutputFormat, formatName, filename string) (*FormatContext, error)
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#af5930942120e38a4766dc0bb9e4cae74
func (*FormatContext) BitRate ¶
func (fc *FormatContext) BitRate() int64
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a972a02b9e3b542a426e323a8f8e3ea41
func (*FormatContext) Class ¶ added in v0.13.0
func (fc *FormatContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a0c396740b9a2487aa57d4352d2dc1687
func (*FormatContext) CloseInput ¶
func (fc *FormatContext) CloseInput()
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#gae804b99aec044690162b8b9b110236a4
func (*FormatContext) CtxFlags ¶
func (fc *FormatContext) CtxFlags() FormatContextCtxFlags
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a4e6076343df1ffc2e16cedbba3f3f397
func (*FormatContext) Dump ¶ added in v0.25.0
func (fc *FormatContext) Dump(streamIndex int, url string, isOutput bool)
https://ffmpeg.org/doxygen/7.0/group__lavf__misc.html#gae2645941f2dc779c307eb6314fd39f10
func (*FormatContext) Duration ¶
func (fc *FormatContext) Duration() int64
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#ad0ea78ac48f5bb0a15a15c1c472744d9
func (*FormatContext) EventFlags ¶
func (fc *FormatContext) EventFlags() FormatEventFlags
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a0302506d4b3434da77b8b3db43821aa0
func (*FormatContext) FindBestStream ¶ added in v0.25.0
func (fc *FormatContext) FindBestStream(mt MediaType, wantedStreamIndex, relatedStreamIndex int) (*Stream, *Codec, error)
https://ffmpeg.org/doxygen/7.0/avformat_8c.html#a8d4609a8f685ad894c1503ffd1b610b4
func (*FormatContext) FindStreamInfo ¶
func (fc *FormatContext) FindStreamInfo(d *Dictionary) error
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#gad42172e27cddafb81096939783b157bb
func (*FormatContext) Flags ¶
func (fc *FormatContext) Flags() FormatContextFlags
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a32379cc371463b235d54235d4af06a15
func (*FormatContext) Flush ¶
func (fc *FormatContext) Flush() error
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#gaa03a82c5fd4fe3af312d229ca94cd6f3
func (*FormatContext) Free ¶
func (fc *FormatContext) Free()
https://ffmpeg.org/doxygen/7.0/group__lavf__core.html#gac2990b13b68e831a408fce8e1d0d6445
func (*FormatContext) GuessFrameRate ¶
func (fc *FormatContext) GuessFrameRate(s *Stream, f *Frame) Rational
https://ffmpeg.org/doxygen/7.0/group__lavf__misc.html#ga698e6aa73caa9616851092e2be15875d
func (*FormatContext) GuessSampleAspectRatio ¶
func (fc *FormatContext) GuessSampleAspectRatio(s *Stream, f *Frame) Rational
https://ffmpeg.org/doxygen/7.0/group__lavf__misc.html#gafa6fbfe5c1bf6792fd6e33475b6056bd
func (*FormatContext) IOFlags ¶
func (fc *FormatContext) IOFlags() IOContextFlags
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a5e6814c9de3c272396f07e2ff18c7b27
func (*FormatContext) InputFormat ¶
func (fc *FormatContext) InputFormat() *InputFormat
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a6c01f25ef062e0398b0b55dd337246ed
func (*FormatContext) MaxAnalyzeDuration ¶
func (fc *FormatContext) MaxAnalyzeDuration() int64
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a4d860662c014f88277c8f20e238fa694
func (*FormatContext) Metadata ¶
func (fc *FormatContext) Metadata() *Dictionary
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a3019a56080ed2e3297ff25bc2ff88adf
func (*FormatContext) NbPrograms ¶ added in v0.19.0
func (fc *FormatContext) NbPrograms() int
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a58c8c4d0ea974e0fcb0ce06fb1174f9f
func (*FormatContext) NbStreams ¶
func (fc *FormatContext) NbStreams() int
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a0b748d924898b08b89ff4974afd17285
func (*FormatContext) NewProgram ¶ added in v0.19.0
func (fc *FormatContext) NewProgram(id int) *Program
https://ffmpeg.org/doxygen/7.0/group__lavf__core.html#gab31f7c7c99dcadead38e8e83e0fdb828
func (*FormatContext) NewStream ¶
func (fc *FormatContext) NewStream(c *Codec) *Stream
https://ffmpeg.org/doxygen/7.0/group__lavf__core.html#gaf2c94216a6a19144e86cac843a0a4409
func (*FormatContext) OpenInput ¶
func (fc *FormatContext) OpenInput(url string, fmt *InputFormat, d *Dictionary) error
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#gac05d61a2b492ae3985c658f34622c19d
func (*FormatContext) OutputFormat ¶
func (fc *FormatContext) OutputFormat() *OutputFormat
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a37ba86cd5630097cdae01afbc2b40743
func (*FormatContext) Pb ¶
func (fc *FormatContext) Pb() *IOContext
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a1e7324262b6b78522e52064daaa7bc87
func (*FormatContext) PrivateData ¶ added in v0.25.0
func (fc *FormatContext) PrivateData() *PrivateData
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#ac4c0777e54085af2f3f1b27130e2b21b
func (*FormatContext) Programs ¶ added in v0.19.0
func (fc *FormatContext) Programs() (ps []*Program)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a4c2c5a4c758966349ff513e95154d062
func (*FormatContext) ReadFrame ¶
func (fc *FormatContext) ReadFrame(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#ga4fdb3084415a82e3810de6ee60e46a61
func (*FormatContext) SDPCreate ¶
func (fc *FormatContext) SDPCreate() (string, error)
https://ffmpeg.org/doxygen/7.0/group__lavf__misc.html#gaa2a7353a6bb0c8726797abd56b176af0
func (*FormatContext) SeekFrame ¶
func (fc *FormatContext) SeekFrame(streamIndex int, timestamp int64, f SeekFlags) error
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#gaa23f7619d8d4ea0857065d9979c75ac8
func (*FormatContext) SetFlags ¶ added in v0.14.0
func (fc *FormatContext) SetFlags(f FormatContextFlags)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a32379cc371463b235d54235d4af06a15
func (*FormatContext) SetIOInterrupter ¶ added in v0.25.0
func (fc *FormatContext) SetIOInterrupter(i *IOInterrupter)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a5b37acfe4024d92ee510064e80920b40
func (*FormatContext) SetMetadata ¶ added in v0.18.0
func (fc *FormatContext) SetMetadata(d *Dictionary)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a3019a56080ed2e3297ff25bc2ff88adf
func (*FormatContext) SetPb ¶
func (fc *FormatContext) SetPb(i *IOContext)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a1e7324262b6b78522e52064daaa7bc87
func (*FormatContext) SetStrictStdCompliance ¶
func (fc *FormatContext) SetStrictStdCompliance(strictStdCompliance StrictStdCompliance)
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a5017684cf0a84c990f60c8d50adec144
func (*FormatContext) StartTime ¶
func (fc *FormatContext) StartTime() int64
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a2590129e00adfa726ab2033a10e905e9
func (*FormatContext) Streams ¶
func (fc *FormatContext) Streams() (ss []*Stream)
func (*FormatContext) StrictStdCompliance ¶
func (fc *FormatContext) StrictStdCompliance() StrictStdCompliance
https://ffmpeg.org/doxygen/7.0/structAVFormatContext.html#a5017684cf0a84c990f60c8d50adec144
func (*FormatContext) WriteFrame ¶
func (fc *FormatContext) WriteFrame(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavf__encoding.html#gaa85cc1774f18f306cd20a40fc50d0b36
func (*FormatContext) WriteHeader ¶
func (fc *FormatContext) WriteHeader(d *Dictionary) error
https://ffmpeg.org/doxygen/7.0/group__lavf__encoding.html#ga18b7b10bb5b94c4842de18166bc677cb
func (*FormatContext) WriteInterleavedFrame ¶
func (fc *FormatContext) WriteInterleavedFrame(p *Packet) error
https://ffmpeg.org/doxygen/7.0/group__lavf__encoding.html#ga37352ed2c63493c38219d935e71db6c1
func (*FormatContext) WriteTrailer ¶
func (fc *FormatContext) WriteTrailer() error
https://ffmpeg.org/doxygen/7.0/group__lavf__encoding.html#ga7f14007e7dc8f481f054b21614dfec13
type FormatContextCtxFlag ¶
type FormatContextCtxFlag int64
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#a42e3c3d72e561fdc501613962fccc4aa
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
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#a69e2c8bc119c0245ff6092f9db4d12ae
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
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#a19485b8b52e579db560875e9a1e44e7a
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://ffmpeg.org/doxygen/7.0/structAVFrame.html
func AllocFrame ¶
func AllocFrame() *Frame
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gac700017c5270c79c1e1befdeeb008b2f
func (*Frame) AllocBuffer ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gac700017c5270c79c1e1befdeeb008b2f
func (*Frame) AllocHardwareBuffer ¶ added in v0.25.0
func (f *Frame) AllocHardwareBuffer(hfc *HardwareFrameContext) error
https://ffmpeg.org/doxygen/7.0/hwcontext_8c.html#adfa5aaa3a4f69b163ea30cadc6d663dc
func (*Frame) AllocImage ¶ added in v0.7.0
https://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#ga841e0a89a642e24141af1918a2c10448
func (*Frame) AllocSamples ¶ added in v0.2.0
https://ffmpeg.org/doxygen/7.0/group__lavu__sampmanip.html#ga4db4c77f928d32c7d8854732f50b8c04
func (*Frame) ChannelLayout ¶
func (f *Frame) ChannelLayout() ChannelLayout
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#ae291cdec7758599e765bc9e3edbb3065
func (*Frame) Clone ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga46d6d32f6482a3e9c19203db5877105b
func (*Frame) ColorRange ¶ added in v0.9.0
func (f *Frame) ColorRange() ColorRange
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a853afbad220bbc58549b4860732a3aa5
func (*Frame) ColorSpace ¶ added in v0.20.0
func (f *Frame) ColorSpace() ColorSpace
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a9262c231f1f64869439b4fe587fe1710
func (*Frame) Data ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a1d0f65014a8d1bf78cec8cbed2304992
func (*Frame) Free ¶
func (f *Frame) Free()
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga979d73f3228814aee56aeca0636e37cc
func (*Frame) Height ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a3f89733f429c98ba5bc64373fb0a3f13
func (*Frame) ImageBufferSize ¶ added in v0.12.0
https://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#ga24a67963c3ae0054a2a4bab35930e694
func (*Frame) ImageCopyToBuffer ¶ added in v0.12.0
https://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#ga6f8576f1ef0c2d9a9f7c5ac7f9a28c52
func (*Frame) ImageFillBlack ¶ added in v0.9.0
https://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#ga3fa8e484cc214e8c7b9026825b5f4078
func (*Frame) IsWritable ¶ added in v0.22.0
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga3ba755bada5c3c8883361ef43fb5fb7a
func (*Frame) KeyFrame ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#afe0345882416bbb9d3a86720dcaa9252
func (*Frame) Linesize ¶
func (f *Frame) Linesize() [NumDataPointers]int
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aa52bfc6605f6a3059a0c3226cc0f6567
func (*Frame) MakeWritable ¶ added in v0.22.0
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gadd5417c06f5a6b419b0dbd8f0ff363fd
func (*Frame) MoveRef ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga709e62bc2917ffd84c5c0f4e1dfc48f7
func (*Frame) NbSamples ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a02f45ab8191aea1660159f1e464237ea
func (*Frame) NewSideData ¶ added in v0.6.0
func (f *Frame) NewSideData(t FrameSideDataType, size uint64) *FrameSideData
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gae05843b941b79e56b955674e581a8262
func (*Frame) PictureType ¶
func (f *Frame) PictureType() PictureType
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#af9920fc3fbfa347b8943ae461b50d18b
func (*Frame) PixelFormat ¶
func (f *Frame) PixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aed14fa772ce46881020fd1545c86432c
func (*Frame) PktDts ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aa52951f35ec9e303d3dfeb4b3e44248a
func (*Frame) Pts ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a0452833e3ab6ddd7acbf82817a7818a4
func (*Frame) Ref ¶
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga88b0ecbc4eb3453eef3fbefa3bddeb7c
func (*Frame) SampleAspectRatio ¶ added in v0.10.0
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a62f9c20541a83d37db7072126ff0060d
func (*Frame) SampleFormat ¶
func (f *Frame) SampleFormat() SampleFormat
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aed14fa772ce46881020fd1545c86432c
func (*Frame) SampleRate ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#ac85daa1316e1f47e78da0ca19b7c60e6
func (*Frame) SamplesBufferSize ¶ added in v0.24.0
https://ffmpeg.org/doxygen/7.0/group__lavu__sampfmts.html#gaa7368bc4e3a366b688e81938ed55eb06
func (*Frame) SamplesCopyToBuffer ¶ added in v0.24.0
func (*Frame) SamplesFillSilence ¶ added in v0.24.0
https://ffmpeg.org/doxygen/7.0/group__lavu__sampmanip.html#gabcb166e22938c7d93c2d609529c458bb
func (*Frame) SetChannelLayout ¶
func (f *Frame) SetChannelLayout(l ChannelLayout)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#ae291cdec7758599e765bc9e3edbb3065
func (*Frame) SetColorRange ¶ added in v0.9.0
func (f *Frame) SetColorRange(r ColorRange)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a853afbad220bbc58549b4860732a3aa5
func (*Frame) SetColorSpace ¶ added in v0.20.0
func (f *Frame) SetColorSpace(s ColorSpace)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a9262c231f1f64869439b4fe587fe1710
func (*Frame) SetHeight ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a3f89733f429c98ba5bc64373fb0a3f13
func (*Frame) SetKeyFrame ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#afe0345882416bbb9d3a86720dcaa9252
func (*Frame) SetNbSamples ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a02f45ab8191aea1660159f1e464237ea
func (*Frame) SetPictureType ¶
func (f *Frame) SetPictureType(t PictureType)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#af9920fc3fbfa347b8943ae461b50d18b
func (*Frame) SetPixelFormat ¶
func (f *Frame) SetPixelFormat(pf PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aed14fa772ce46881020fd1545c86432c
func (*Frame) SetPts ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a0452833e3ab6ddd7acbf82817a7818a4
func (*Frame) SetSampleAspectRatio ¶ added in v0.10.0
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a62f9c20541a83d37db7072126ff0060d
func (*Frame) SetSampleFormat ¶
func (f *Frame) SetSampleFormat(sf SampleFormat)
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#aed14fa772ce46881020fd1545c86432c
func (*Frame) SetSampleRate ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#ac85daa1316e1f47e78da0ca19b7c60e6
func (*Frame) SetWidth ¶
https://ffmpeg.org/doxygen/7.0/structAVFrame.html#a1e71ce60cedd5f3b6811714a9f7f9e0a
func (*Frame) SideData ¶ added in v0.6.0
func (f *Frame) SideData(t FrameSideDataType) *FrameSideData
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gadec0efb470b1eead6a979333d9deca0c
func (*Frame) TransferHardwareData ¶ added in v0.13.0
https://ffmpeg.org/doxygen/7.0/hwcontext_8c.html#abf1b1664b8239d953ae2cac8b643815a
func (*Frame) Unref ¶
func (f *Frame) Unref()
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#ga0a2b687f9c1c5ed0089b01fd61227108
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://ffmpeg.org/doxygen/7.0/structAVFrameSideData.html
func (*FrameSideData) Data ¶ added in v0.6.0
func (d *FrameSideData) Data() []byte
https://ffmpeg.org/doxygen/7.0/structAVFrameSideData.html#a76937ad48652a5a0cc4bff65fc6c886e
func (*FrameSideData) SetData ¶ added in v0.6.0
func (d *FrameSideData) SetData(b []byte)
https://ffmpeg.org/doxygen/7.0/structAVFrameSideData.html#a76937ad48652a5a0cc4bff65fc6c886e
func (*FrameSideData) Type ¶ added in v0.6.0
func (d *FrameSideData) Type() FrameSideDataType
https://ffmpeg.org/doxygen/7.0/structAVFrameSideData.html#a07ff3499827c124591ff4bae6f68eec0
type FrameSideDataType ¶ added in v0.6.0
type FrameSideDataType C.enum_AVFrameSideDataType
https://ffmpeg.org/doxygen/7.0/group__lavu__frame.html#gae01fa7e427274293aacdf2adc17076bc
type HardwareDeviceContext ¶ added in v0.13.0
type HardwareDeviceContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVHWDeviceContext.html
func CreateHardwareDeviceContext ¶ added in v0.13.0
func CreateHardwareDeviceContext(t HardwareDeviceType, device string, options *Dictionary, flags int) (*HardwareDeviceContext, error)
https://ffmpeg.org/doxygen/7.0/hwcontext_8c.html#a21fbd088225e4e25c4d9a01b3f5e8c51
func (*HardwareDeviceContext) Free ¶ added in v0.25.0
func (hdc *HardwareDeviceContext) Free()
type HardwareDeviceType ¶ added in v0.13.0
type HardwareDeviceType C.enum_AVHWDeviceType
https://ffmpeg.org/doxygen/7.0/hwcontext_8h.html#acf25724be4b066a51ad86aa9214b0d34
func FindHardwareDeviceTypeByName ¶ added in v0.13.0
func FindHardwareDeviceTypeByName(n string) HardwareDeviceType
https://ffmpeg.org/doxygen/7.0/hwcontext_8h.html#a541943ddced791765349645a30adfa4d
func (HardwareDeviceType) Name ¶ added in v0.25.0
func (t HardwareDeviceType) Name() string
https://ffmpeg.org/doxygen/7.0/hwcontext_8h.html#afb2b99a15f3fdde25a2fd19353ac5a67
func (HardwareDeviceType) String ¶ added in v0.13.0
func (t HardwareDeviceType) String() string
type HardwareFrameContext ¶ added in v0.25.0
type HardwareFrameContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html
func AllocHardwareFrameContext ¶ added in v0.25.0
func AllocHardwareFrameContext(hdc *HardwareDeviceContext) *HardwareFrameContext
https://ffmpeg.org/doxygen/7.0/hwcontext_8c.html#ac45a7c039eb4e084b692f69ff5f2e217
func (*HardwareFrameContext) Free ¶ added in v0.25.0
func (hfc *HardwareFrameContext) Free()
func (*HardwareFrameContext) Initialize ¶ added in v0.25.0
func (hfc *HardwareFrameContext) Initialize() error
https://ffmpeg.org/doxygen/7.0/hwcontext_8c.html#a66a7e1ebc7e459ce07d3de6639ac7e38
func (*HardwareFrameContext) SetHardwarePixelFormat ¶ added in v0.25.0
func (hfc *HardwareFrameContext) SetHardwarePixelFormat(format PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html#a045bc1713932804f6ceef170a5578e0e
func (*HardwareFrameContext) SetHeight ¶ added in v0.25.0
func (hfc *HardwareFrameContext) SetHeight(height int)
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html#ae61bbe1d8645a0c573085e29f1d0a58f
func (*HardwareFrameContext) SetInitialPoolSize ¶ added in v0.25.0
func (hfc *HardwareFrameContext) SetInitialPoolSize(initialPoolSize int)
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html#a9c3a94dcd9c96e19059b56a6bae9c764
func (*HardwareFrameContext) SetSoftwarePixelFormat ¶ added in v0.25.0
func (hfc *HardwareFrameContext) SetSoftwarePixelFormat(swFormat PixelFormat)
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html#a663a9aceca97aa7b2426c9aba6543e4a
func (*HardwareFrameContext) SetWidth ¶ added in v0.25.0
func (hfc *HardwareFrameContext) SetWidth(width int)
https://ffmpeg.org/doxygen/7.0/structAVHWFramesContext.html#a9e6f29d0f744930cdd0e8bdff8771520
type IOContext ¶
type IOContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVIOContext.html
func AllocIOContext ¶ added in v0.14.0
func AllocIOContext(bufferSize int, writable bool, readFunc IOContextReadFunc, seekFunc IOContextSeekFunc, writeFunc IOContextWriteFunc) (ic *IOContext, err error)
https://ffmpeg.org/doxygen/7.0/avio_8h.html#a50c588d3c44707784f3afde39e1c181c
func OpenIOContext ¶ added in v0.13.0
func OpenIOContext(filename string, flags IOContextFlags, ii *IOInterrupter, d *Dictionary) (*IOContext, error)
https://ffmpeg.org/doxygen/7.0/avio_8c.html#ae8589aae955d16ca228b6b9d66ced33d
func (*IOContext) Close ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/avio_8c.html#ae118a1f37f1e48617609ead9910aac15
func (*IOContext) Flush ¶ added in v0.14.0
func (ic *IOContext) Flush()
https://ffmpeg.org/doxygen/7.0/avio_8h.html#ad88b866a118c17c95663f7782b2e8946
func (*IOContext) Free ¶ added in v0.14.0
func (ic *IOContext) Free()
https://ffmpeg.org/doxygen/7.0/avio_8h.html#ad1baf8cd6711f05a45d0339cafe2d21d
func (*IOContext) Read ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/avio_8h.html#a53843d2cbe6282d994fcf59c03d59294
func (*IOContext) Seek ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/avio_8h.html#a03e23bf0144030961c34e803c71f614f
type IOContextFlag ¶
type IOContextFlag int64
https://ffmpeg.org/doxygen/7.0/avio_8h.html#a21e61cb486bd1588eb7f775998cf8c77
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
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#a752cce390d480521919aa5d8be24ac0b
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 struct {
// contains filtered or unexported fields
}
func NewIOInterrupter ¶ added in v0.25.0
func NewIOInterrupter() *IOInterrupter
func (*IOInterrupter) Free ¶ added in v0.27.0
func (i *IOInterrupter) Free()
func (*IOInterrupter) Interrupt ¶ added in v0.13.0
func (i *IOInterrupter) Interrupt()
func (*IOInterrupter) Interrupted ¶ added in v0.25.0
func (i *IOInterrupter) Interrupted() bool
func (*IOInterrupter) Resume ¶ added in v0.14.0
func (i *IOInterrupter) Resume()
type InputFormat ¶
type InputFormat struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVInputFormat.html
func FindInputFormat ¶ added in v0.11.0
func FindInputFormat(name string) *InputFormat
https://ffmpeg.org/doxygen/7.0/group__lavf__decoding.html#ga40034b6d64d372e1c989e16dde4b459a
func (*InputFormat) Flags ¶
func (f *InputFormat) Flags() IOFormatFlags
https://ffmpeg.org/doxygen/7.0/structAVInputFormat.html#a1b30f6647d0c2faf38ba8786d7c3a838
func (*InputFormat) LongName ¶ added in v0.11.0
func (f *InputFormat) LongName() string
https://ffmpeg.org/doxygen/7.0/structAVInputFormat.html#a1f67064a527941944017f1dfe65d3aa9
func (*InputFormat) Name ¶ added in v0.11.0
func (f *InputFormat) Name() string
https://ffmpeg.org/doxygen/7.0/structAVInputFormat.html#a850db3eb225e22b64f3304d72134ca0c
func (*InputFormat) String ¶ added in v0.11.0
func (f *InputFormat) String() string
type Level ¶
type Level int
https://ffmpeg.org/doxygen/7.0/avcodec_8h.html#a84a993ea19afa2cbda45b3283a598fe6
type LogCallback ¶
type LogLevel ¶
type LogLevel int
https://ffmpeg.org/doxygen/7.0/group__lavu__log__constants.html#ga11e329935b59b83ca722b66674f37fd4
func GetLogLevel ¶ added in v0.13.0
func GetLogLevel() LogLevel
https://ffmpeg.org/doxygen/7.0/group__lavu__log.html#gae8ada5cc5722548d8698650b05207904
type MediaType ¶
type MediaType C.enum_AVMediaType
https://ffmpeg.org/doxygen/7.0/group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48
type Option ¶ added in v0.25.0
type Option struct {
// contains filtered or unexported fields
}
https://www.ffmpeg.org/doxygen/7.0/structAVOption.html
func (*Option) Name ¶ added in v0.25.0
https://www.ffmpeg.org/doxygen/7.0/structAVOption.html#a87e81c6e58d6a94d97a98ad15a4e507c
type OptionSearchFlag ¶ added in v0.25.0
type OptionSearchFlag int64
https://ffmpeg.org/doxygen/7.0/group__opt__mng.html#ga25801ba4fc9b5313eb33ec84e082dd72
type OptionSearchFlags ¶ added in v0.25.0
type OptionSearchFlags astikit.BitFlags
func NewOptionSearchFlags ¶ added in v0.25.0
func NewOptionSearchFlags(fs ...OptionSearchFlag) OptionSearchFlags
func (OptionSearchFlags) Add ¶ added in v0.25.0
func (fs OptionSearchFlags) Add(f OptionSearchFlag) OptionSearchFlags
func (OptionSearchFlags) Del ¶ added in v0.25.0
func (fs OptionSearchFlags) Del(f OptionSearchFlag) OptionSearchFlags
func (OptionSearchFlags) Has ¶ added in v0.25.0
func (fs OptionSearchFlags) Has(f OptionSearchFlag) bool
type Options ¶ added in v0.25.0
type Options struct {
// contains filtered or unexported fields
}
func (*Options) Get ¶ added in v0.25.0
func (os *Options) Get(name string, f OptionSearchFlags) (string, error)
https://www.ffmpeg.org/doxygen/7.0/group__opt__get__funcs.html#gaf31144e60f9ce89dbe8cbea57a0b232c
func (*Options) List ¶ added in v0.25.0
https://www.ffmpeg.org/doxygen/7.0/group__opt__mng.html#gabc75970cd87d1bf47a4ff449470e9225
func (*Options) Set ¶ added in v0.25.0
func (os *Options) Set(name, value string, f OptionSearchFlags) error
https://www.ffmpeg.org/doxygen/7.0/group__opt__set__funcs.html#ga5fd4b92bdf4f392a2847f711676a7537
type OutputFormat ¶
type OutputFormat struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVOutputFormat.html
func FindOutputFormat ¶ added in v0.14.0
func FindOutputFormat(name string) *OutputFormat
https://ffmpeg.org/doxygen/7.0/group__lavf__encoding.html#ga00bceb049f2b20716e2f36ebc990a350
func (*OutputFormat) Flags ¶
func (f *OutputFormat) Flags() IOFormatFlags
https://ffmpeg.org/doxygen/7.0/structAVOutputFormat.html#aad55a00e728a020c1dcfaaf695320445
func (*OutputFormat) LongName ¶ added in v0.14.0
func (f *OutputFormat) LongName() string
https://ffmpeg.org/doxygen/7.0/structAVOutputFormat.html#a4ff98d90aac0047a204a35a758a363fc
func (*OutputFormat) Name ¶ added in v0.14.0
func (f *OutputFormat) Name() string
https://ffmpeg.org/doxygen/7.0/structAVOutputFormat.html#ac3abc5f47f3465b6b7eec89c9476351c
func (*OutputFormat) String ¶ added in v0.14.0
func (f *OutputFormat) String() string
type Packet ¶
type Packet struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVPacket.html
func AllocPacket ¶
func AllocPacket() *Packet
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gaaf85aa950695631e0217a16062289b66
func (*Packet) AllocPayload ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gadfa708660b85a56749c753124de2da7d
func (*Packet) Clone ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gacbe3e51cf411a7003d706127dc48cbb1
func (*Packet) Data ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#aaf4fe58dfcc7c232c1f2268b539d8367
func (*Packet) Dts ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a85dbbd306b44b02390cd91c45e6a0f76
func (*Packet) Duration ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a622e758be29fd500aed0ffdc069550f7
func (*Packet) Flags ¶
func (p *Packet) Flags() PacketFlags
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a437be96a9da675f12caa228a9c81bd82
func (*Packet) Free ¶
func (p *Packet) Free()
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga1066464e7cdd1f215df6940db94e5d8e
func (*Packet) FromData ¶ added in v0.4.0
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga7ca877e1f0ded89a27199b65e9a077dc
func (*Packet) MoveRef ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga91dbb1359f99547adb544ee96a406b21
func (*Packet) Pos ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#ab5793d8195cf4789dfb3913b7a693903
func (*Packet) Pts ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a73bde0a37f3b1efc839f11295bfbf42a
func (*Packet) Ref ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gadb05d71fa2ea7b7fd3e8cfc6d9065a47
func (*Packet) RescaleTs ¶
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#gae5c86e4d93f6e7aa62ef2c60763ea67e
func (*Packet) SetDts ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a85dbbd306b44b02390cd91c45e6a0f76
func (*Packet) SetDuration ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a622e758be29fd500aed0ffdc069550f7
func (*Packet) SetFlags ¶
func (p *Packet) SetFlags(f PacketFlags)
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a437be96a9da675f12caa228a9c81bd82
func (*Packet) SetPos ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#ab5793d8195cf4789dfb3913b7a693903
func (*Packet) SetPts ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a73bde0a37f3b1efc839f11295bfbf42a
func (*Packet) SetSize ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a4d1ea19f63eb107111fd650ca514d1f4
func (*Packet) SetStreamIndex ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a0d1cb9b5a32b00fb6edc81ea3aae2a49
func (*Packet) SideData ¶
func (p *Packet) SideData() *PacketSideData
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#ac55bfef91c33f02704ba76518d0f294c
func (*Packet) Size ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a4d1ea19f63eb107111fd650ca514d1f4
func (*Packet) StreamIndex ¶
https://ffmpeg.org/doxygen/7.0/structAVPacket.html#a0d1cb9b5a32b00fb6edc81ea3aae2a49
func (*Packet) Unref ¶
func (p *Packet) Unref()
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga63d5a489b419bd5d45cfd09091cbcbc2
type PacketFlag ¶
type PacketFlag int64
https://ffmpeg.org/doxygen/7.0/group__lavc__packet.html#ga75603d7c2b8adf5829f4fd2fb860168f
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://ffmpeg.org/doxygen/7.0/structAVPacketSideData.html
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
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://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#gae6cbcab1f70d8e476757f1c1f5a0a78e
func (PictureType) String ¶
func (t PictureType) String() string
https://ffmpeg.org/doxygen/7.0/group__lavu__picture.html#gacbf2ea8b2b89924c890ef8ec10a3d922
type PixelFormat ¶
type PixelFormat C.enum_AVPixelFormat
https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5
func FindPixelFormatByName ¶ added in v0.2.0
func FindPixelFormatByName(name string) PixelFormat
https://ffmpeg.org/doxygen/7.0/pixdesc_8c.html#a925ef18d69c24c3be8c53d5a7dc0660e
func (PixelFormat) Name ¶
func (f PixelFormat) Name() string
https://ffmpeg.org/doxygen/7.0/pixdesc_8c.html#ab92e2a8a9b58c982560c49df9f01e47e
func (PixelFormat) String ¶
func (f PixelFormat) String() string
type PrivateData ¶ added in v0.25.0
type PrivateData struct {
// contains filtered or unexported fields
}
func (*PrivateData) Options ¶ added in v0.25.0
func (pd *PrivateData) Options() *Options
type Profile ¶
type Profile int
https://ffmpeg.org/doxygen/7.0/avcodec_8h.html#a1d8d03f5be975b8a728574cbdb00c896
type Program ¶ added in v0.19.0
type Program struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVProgram.html
func (*Program) AddStream ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/avformat_8c.html#ae1eb83cf16060217c805e61f0f62fa4e
func (*Program) Discard ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a9c7a07c08a1f960aaa49f3f47633af5c
func (*Program) EndTime ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a5a7795c918153d0f64d68a838e172db4
func (*Program) ID ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a10cc799a98b37335e820b0bdb386eb95
func (*Program) Metadata ¶ added in v0.28.0
func (p *Program) Metadata() *Dictionary
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#ae9dab38d4694e3da9cba0f882f4e43d3
func (*Program) NbStreams ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a136cf29d2aa5b0e4c6d743406c5e39d1
func (*Program) PcrPid ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a7e026323df87e84a72ec5e5c8ce341a5
func (*Program) PmtPid ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a02011963a63c291c6dc6d4eefa56cd69
func (*Program) ProgramNumber ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a4c1539ea3c98da979b95a59a3ea163cb
func (*Program) PtsWrapBehavior ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#aa3f8af78093a910ff766ac5af381758b
func (*Program) PtsWrapReference ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a7e539e286876577e158039f6e7678452
func (*Program) SetDiscard ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a9c7a07c08a1f960aaa49f3f47633af5c
func (*Program) SetID ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a10cc799a98b37335e820b0bdb386eb95
func (*Program) SetMetadata ¶ added in v0.28.0
func (p *Program) SetMetadata(d *Dictionary)
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#ae9dab38d4694e3da9cba0f882f4e43d3
func (*Program) SetPcrPid ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a7e026323df87e84a72ec5e5c8ce341a5
func (*Program) SetPmtPid ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a02011963a63c291c6dc6d4eefa56cd69
func (*Program) SetProgramNumber ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a4c1539ea3c98da979b95a59a3ea163cb
func (*Program) StartTime ¶ added in v0.28.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a2276db4d51695120664d527f20b7c532
func (*Program) Streams ¶ added in v0.19.0
https://ffmpeg.org/doxygen/7.0/structAVProgram.html#a7967d41af4812ed61a28762e988c7a02
type Rational ¶
type Rational struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structAVRational.html
func NewRational ¶
type Rounding ¶
type Rounding C.enum_AVRounding
https://ffmpeg.org/doxygen/7.0/group__lavu__math.html#ga921d656eaf2c4d6800a734a13af021d0
type SampleFormat ¶
type SampleFormat C.enum_AVSampleFormat
https://ffmpeg.org/doxygen/7.0/group__lavu__sampfmts.html#gaf9a51ca15301871723577c730b5865c5
func (SampleFormat) Name ¶
func (f SampleFormat) Name() string
https://ffmpeg.org/doxygen/7.0/group__lavu__sampfmts.html#ga31b9d149b2de9821a65f4f5612970838
func (SampleFormat) String ¶
func (f SampleFormat) String() string
type SeekFlag ¶
type SeekFlag int64
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#ac736f8f4afc930ca1cda0b43638cc678
type SoftwareResampleContext ¶ added in v0.25.0
type SoftwareResampleContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structSwrContext.html
func AllocSoftwareResampleContext ¶ added in v0.25.0
func AllocSoftwareResampleContext() *SoftwareResampleContext
https://ffmpeg.org/doxygen/7.0/group__lswr.html#gaf58c4ff10f73d74bdab8e5aa7193147c
func (*SoftwareResampleContext) Class ¶ added in v0.25.0
func (src *SoftwareResampleContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structSwrContext.html#a7e13adcdcbc11bcc933cb7d0b9f839a0
func (*SoftwareResampleContext) ConvertFrame ¶ added in v0.25.0
func (src_ *SoftwareResampleContext) ConvertFrame(src, dst *Frame) error
https://ffmpeg.org/doxygen/7.0/group__lswr.html#gac482028c01d95580106183aa84b0930c
func (*SoftwareResampleContext) Delay ¶ added in v0.25.0
func (src_ *SoftwareResampleContext) Delay(base int64) int64
https://ffmpeg.org/doxygen/7.0/group__lswr.html#ga5121a5a7890a2d23b72dc871dd0ebb06
func (*SoftwareResampleContext) Free ¶ added in v0.25.0
func (src *SoftwareResampleContext) Free()
https://ffmpeg.org/doxygen/7.0/group__lswr.html#ga818f7d78b1ad7d8d5b70de374b668c34
type SoftwareScaleContext ¶ added in v0.13.0
type SoftwareScaleContext struct {
// contains filtered or unexported fields
}
https://ffmpeg.org/doxygen/7.0/structSwsContext.html
func CreateSoftwareScaleContext ¶ added in v0.13.0
func CreateSoftwareScaleContext(srcW, srcH int, srcFormat PixelFormat, dstW, dstH int, dstFormat PixelFormat, flags SoftwareScaleContextFlags) (*SoftwareScaleContext, error)
https://ffmpeg.org/doxygen/7.0/group__libsws.html#gaf360d1a9e0e60f906f74d7d44f9abfdd
func (*SoftwareScaleContext) Class ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Class() *Class
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a6866f52574bc730833d2580abc806261
func (*SoftwareScaleContext) DestinationHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationHeight() int
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
func (*SoftwareScaleContext) DestinationPixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) DestinationPixelFormat() PixelFormat
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a66adb1238b56e3539ad1145c146348e2
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
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a0bf831c04c58c12ea7aef32e0ffb2f6d
func (*SoftwareScaleContext) Flags ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Flags() SoftwareScaleContextFlags
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a4bad42bdd38e916f045956efe81039bf
func (*SoftwareScaleContext) Free ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) Free()
https://ffmpeg.org/doxygen/7.0/group__libsws.html#gad3af0ca76f071dbe0173444db9882932
func (*SoftwareScaleContext) ScaleFrame ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) ScaleFrame(src, dst *Frame) error
https://ffmpeg.org/doxygen/7.0/group__libsws.html#ga1c72fcf83bd57aea72cf3dadfcf02541
func (*SoftwareScaleContext) SetDestinationHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationHeight(i int) error
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
func (*SoftwareScaleContext) SetDestinationPixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetDestinationPixelFormat(p PixelFormat) error
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a66adb1238b56e3539ad1145c146348e2
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
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a0bf831c04c58c12ea7aef32e0ffb2f6d
func (*SoftwareScaleContext) SetFlags ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetFlags(swscf SoftwareScaleContextFlags) error
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a4bad42bdd38e916f045956efe81039bf
func (*SoftwareScaleContext) SetSourceHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourceHeight(i int) error
https://ffmpeg.org/doxygensrcH/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
func (*SoftwareScaleContext) SetSourcePixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SetSourcePixelFormat(p PixelFormat) error
https://ffmpeg.org/doxygensrcH/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
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
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a1e1455f5d751e9ca639bf8afbda25646
func (*SoftwareScaleContext) SourceHeight ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourceHeight() int
https://ffmpeg.org/doxygensrcH/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
func (*SoftwareScaleContext) SourcePixelFormat ¶ added in v0.13.0
func (ssc *SoftwareScaleContext) SourcePixelFormat() PixelFormat
https://ffmpeg.org/doxygensrcH/7.0/structSwsContext.html#a195564564eff11e1ee181999c13b9a22
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
https://ffmpeg.org/doxygen/7.0/structSwsContext.html#a1e1455f5d751e9ca639bf8afbda25646
type SoftwareScaleContextFlag ¶ added in v0.13.0
type SoftwareScaleContextFlag int64
https://ffmpeg.org/doxygen/7.0/group__libsws.html#ga6110064d9edfbec77ca5c3279cb75c31
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://ffmpeg.org/doxygen/7.0/structAVStream.html
func (*Stream) AvgFrameRate ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a946e1e9b89eeeae4cab8a833b482c1ad
func (*Stream) Class ¶ added in v0.25.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a4737d8b012827558f55a6f559b253496
func (*Stream) CodecParameters ¶
func (s *Stream) CodecParameters() *CodecParameters
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a12826d21779289356722971d362c583c
func (*Stream) Discard ¶ added in v0.29.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a492fcecc45dbbd8da51edd0124e9dd30
func (*Stream) Duration ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a4e04af7a5a4d8298649850df798dd0bc
func (*Stream) EventFlags ¶
func (s *Stream) EventFlags() StreamEventFlags
https://ffmpeg.org/doxygen/7.0/structAVStream.html#ab76e176c2a1d1ff09ec9c0bb88dc25e9
func (*Stream) ID ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a6873ed62f196c24e8bf282609231786f
func (*Stream) Index ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a6ca823054632821e085377f7d371a2d1
func (*Stream) Metadata ¶
func (s *Stream) Metadata() *Dictionary
func (*Stream) NbFrames ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a4382c3064df1c9eb232ac198dec067f9
func (*Stream) RFrameRate ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#ad63fb11cc1415e278e09ddc676e8a1ad
func (*Stream) SampleAspectRatio ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a3f19c60ac6da237cd10e4d97150c118e
func (*Stream) SetAvgFrameRate ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a946e1e9b89eeeae4cab8a833b482c1ad
func (*Stream) SetDiscard ¶ added in v0.29.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a492fcecc45dbbd8da51edd0124e9dd30
func (*Stream) SetID ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a6873ed62f196c24e8bf282609231786f
func (*Stream) SetIndex ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a6ca823054632821e085377f7d371a2d1
func (*Stream) SetRFrameRate ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#ad63fb11cc1415e278e09ddc676e8a1ad
func (*Stream) SetSampleAspectRatio ¶ added in v0.14.0
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a3f19c60ac6da237cd10e4d97150c118e
func (*Stream) SetTimeBase ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a9db755451f14e2bf590d4b85d82b32e6
func (*Stream) StartTime ¶
https://ffmpeg.org/doxygen/7.0/structAVStream.html#a7c67ae70632c91df8b0f721658ec5377
type StreamEventFlag ¶
type StreamEventFlag int64
https://ffmpeg.org/doxygen/7.0/avformat_8h.html#ab3a5958310f614671f5030ed10753ba9
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
https://ffmpeg.org/doxygen/7.0/defs_8h.html#a96808e3862c53c7edb4ace1b2f3e544f
type ThreadType ¶
type ThreadType int
https://ffmpeg.org/doxygen/7.0/avcodec_8h.html#a116c7fb56ac57ccca3e08b80467b2a40
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_filter_context.go
- buffersink_flag.go
- buffersrc_filter_context.go
- buffersrc_filter_context_parameters.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
- discard.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
- hardware_frame_context.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
- option.go
- option_search_flag.go
- output_format.go
- packet.go
- packet_flag.go
- packet_side_data.go
- packet_side_data_type.go
- picture_type.go
- pixel_format.go
- private_data.go
- profile.go
- program.go
- rational.go
- rounding.go
- sample_format.go
- seek_flag.go
- software_resample_context.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