astiav

package module
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 12 Imported by: 0

README

thanks for asticode/go-astiav

it's a fork of asticode/go-astiav with ffmpeg 8.0 version

Documentation

Overview

Code generated by astiav. DO NOT EDIT.

Index

Constants

View Source
const (
	BuffersinkFlagPeek      = BuffersinkFlag(C.AV_BUFFERSINK_FLAG_PEEK)
	BuffersinkFlagNoRequest = BuffersinkFlag(C.AV_BUFFERSINK_FLAG_NO_REQUEST)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
const (
	CodecContextFlagUnaligned     = CodecContextFlag(C.AV_CODEC_FLAG_UNALIGNED)
	CodecContextFlagQscale        = CodecContextFlag(C.AV_CODEC_FLAG_QSCALE)
	CodecContextFlag4Mv           = CodecContextFlag(C.AV_CODEC_FLAG_4MV)
	CodecContextFlagOutputCorrupt = CodecContextFlag(C.AV_CODEC_FLAG_OUTPUT_CORRUPT)
	CodecContextFlagQpel          = CodecContextFlag(C.AV_CODEC_FLAG_QPEL)
	CodecContextFlagPass1         = CodecContextFlag(C.AV_CODEC_FLAG_PASS1)
	CodecContextFlagPass2         = CodecContextFlag(C.AV_CODEC_FLAG_PASS2)
	CodecContextFlagLoopFilter    = CodecContextFlag(C.AV_CODEC_FLAG_LOOP_FILTER)
	CodecContextFlagGray          = CodecContextFlag(C.AV_CODEC_FLAG_GRAY)
	CodecContextFlagPsnr          = CodecContextFlag(C.AV_CODEC_FLAG_PSNR)
	CodecContextFlagInterlacedDct = CodecContextFlag(C.AV_CODEC_FLAG_INTERLACED_DCT)
	CodecContextFlagLowDelay      = CodecContextFlag(C.AV_CODEC_FLAG_LOW_DELAY)
	CodecContextFlagGlobalHeader  = CodecContextFlag(C.AV_CODEC_FLAG_GLOBAL_HEADER)
	CodecContextFlagBitexact      = CodecContextFlag(C.AV_CODEC_FLAG_BITEXACT)
	CodecContextFlagAcPred        = CodecContextFlag(C.AV_CODEC_FLAG_AC_PRED)
	CodecContextFlagInterlacedMe  = CodecContextFlag(C.AV_CODEC_FLAG_INTERLACED_ME)
	CodecContextFlagClosedGop     = CodecContextFlag(C.AV_CODEC_FLAG_CLOSED_GOP)
)

https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga1a6a486e686ab6c581ffffcb88cb31b3

View Source
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)
)
View Source
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)
	CodecIDAv1                      = CodecID(C.AV_CODEC_ID_AV1)
	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)
	CodecIDDvdNav                   = CodecID(C.AV_CODEC_ID_DVD_NAV)
	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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
const (
	DispositionFlagDefault         = DispositionFlag(C.AV_DISPOSITION_DEFAULT)
	DispositionFlagDub             = DispositionFlag(C.AV_DISPOSITION_DUB)
	DispositionFlagOriginal        = DispositionFlag(C.AV_DISPOSITION_ORIGINAL)
	DispositionFlagComment         = DispositionFlag(C.AV_DISPOSITION_COMMENT)
	DispositionFlagLyrics          = DispositionFlag(C.AV_DISPOSITION_LYRICS)
	DispositionFlagKaraoke         = DispositionFlag(C.AV_DISPOSITION_KARAOKE)
	DispositionFlagForced          = DispositionFlag(C.AV_DISPOSITION_FORCED)
	DispositionFlagHearingImpaired = DispositionFlag(C.AV_DISPOSITION_HEARING_IMPAIRED)
	DispositionFlagVisualImpaired  = DispositionFlag(C.AV_DISPOSITION_VISUAL_IMPAIRED)
	DispositionFlagCleanEffects    = DispositionFlag(C.AV_DISPOSITION_CLEAN_EFFECTS)
	DispositionFlagAttachedPic     = DispositionFlag(C.AV_DISPOSITION_ATTACHED_PIC)
	DispositionFlagTimedThumbnails = DispositionFlag(C.AV_DISPOSITION_TIMED_THUMBNAILS)
	DispositionFlagNonDiegetic     = DispositionFlag(C.AV_DISPOSITION_NON_DIEGETIC)
	DispositionFlagCaptions        = DispositionFlag(C.AV_DISPOSITION_CAPTIONS)
	DispositionFlagDescriptions    = DispositionFlag(C.AV_DISPOSITION_DESCRIPTIONS)
	DispositionFlagMetadata        = DispositionFlag(C.AV_DISPOSITION_METADATA)
	DispositionFlagDependent       = DispositionFlag(C.AV_DISPOSITION_DEPENDENT)
	DispositionFlagStillImage      = DispositionFlag(C.AV_DISPOSITION_STILL_IMAGE)
)
View Source
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)
	ErrHttpUnauthorized = Error(C.AVERROR_HTTP_UNAUTHORIZED)
	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)
)
View Source
const (
	FilterCommandFlagOne  = FilterCommandFlag(C.AVFILTER_CMD_FLAG_ONE)
	FilterCommandFlagFast = FilterCommandFlag(C.AVFILTER_CMD_FLAG_FAST)
)
View Source
const (
	FilterFlagDynamicInputs           = FilterFlag(C.AVFILTER_FLAG_DYNAMIC_INPUTS)
	FilterFlagDynamicOutputs          = FilterFlag(C.AVFILTER_FLAG_DYNAMIC_OUTPUTS)
	FilterFlagSliceThreads            = FilterFlag(C.AVFILTER_FLAG_SLICE_THREADS)
	FilterFlagMetadataOnly            = FilterFlag(C.AVFILTER_FLAG_METADATA_ONLY)
	FilterFlagHardwareDevice          = FilterFlag(C.AVFILTER_FLAG_HWDEVICE)
	FilterFlagSupportTimelineGeneric  = FilterFlag(C.AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC)
	FilterFlagSupportTimelineInternal = FilterFlag(C.AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL)
	FilterFlagSupportTimeline         = FilterFlag(C.AVFILTER_FLAG_SUPPORT_TIMELINE)
)
View Source
const (
	FormatContextCtxFlagNoHeader   = FormatContextCtxFlag(C.AVFMTCTX_NOHEADER)
	FormatContextCtxFlagUnseekable = FormatContextCtxFlag(C.AVFMTCTX_UNSEEKABLE)
)
View Source
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 removed in FFmpeg 8.0 - AVFMT_FLAG_SHORTEST deprecated and removed
	FormatContextFlagAutoBsf = FormatContextFlag(C.AVFMT_FLAG_AUTO_BSF)
)
View Source
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)
)
View Source
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)
)
View Source
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 removed in FFmpeg 8.0 - AVFMT_ALLOW_FLUSH deprecated and removed
	IOFormatFlagTsNonstrict = IOFormatFlag(C.AVFMT_TS_NONSTRICT)
	IOFormatFlagTsNegative  = IOFormatFlag(C.AVFMT_TS_NEGATIVE)
	IOFormatFlagSeekToPts   = IOFormatFlag(C.AVFMT_SEEK_TO_PTS)
)
View Source
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)
)
View Source
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)
)
View Source
const (
	OptionSearchFlagChildren   = OptionSearchFlag(C.AV_OPT_SEARCH_CHILDREN)
	OptionSearchFlagFakeObject = OptionSearchFlag(C.AV_OPT_SEARCH_FAKE_OBJ)
)
View Source
const (
	PacketFlagCorrupt = PacketFlag(C.AV_PKT_FLAG_CORRUPT)
	PacketFlagDiscard = PacketFlag(C.AV_PKT_FLAG_DISCARD)
	PacketFlagKey     = PacketFlag(C.AV_PKT_FLAG_KEY)
)
View Source
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)
)
View Source
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)
)
View Source
const (
	PixelFormatDescriptorFlagBe        = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_BE)
	PixelFormatDescriptorFlagPal       = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_PAL)
	PixelFormatDescriptorFlagBitStream = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_BITSTREAM)
	PixelFormatDescriptorFlagHwAccel   = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_HWACCEL)
	PixelFormatDescriptorFlagPlanar    = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_PLANAR)
	PixelFormatDescriptorFlagRgb       = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_RGB)
	PixelFormatDescriptorFlagAlpha     = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_ALPHA)
	PixelFormatDescriptorFlagBayer     = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_BAYER)
	PixelFormatDescriptorFlagFloat     = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_FLOAT)
	PixelFormatDescriptorFlagXyz       = PixelFormatDescriptorFlag(C.AV_PIX_FMT_FLAG_XYZ)
)
View Source
const (
	ProfileAacEld                            = Profile(C.AV_PROFILE_AAC_ELD)
	ProfileAacHe                             = Profile(C.AV_PROFILE_AAC_HE)
	ProfileAacHeV2                           = Profile(C.AV_PROFILE_AAC_HE_V2)
	ProfileAacLd                             = Profile(C.AV_PROFILE_AAC_LD)
	ProfileAacLow                            = Profile(C.AV_PROFILE_AAC_LOW)
	ProfileAacLtp                            = Profile(C.AV_PROFILE_AAC_LTP)
	ProfileAacMain                           = Profile(C.AV_PROFILE_AAC_MAIN)
	ProfileAacSsr                            = Profile(C.AV_PROFILE_AAC_SSR)
	ProfileAv1High                           = Profile(C.AV_PROFILE_AV1_HIGH)
	ProfileAv1Main                           = Profile(C.AV_PROFILE_AV1_MAIN)
	ProfileAv1Professional                   = Profile(C.AV_PROFILE_AV1_PROFESSIONAL)
	ProfileDnxhd                             = Profile(C.AV_PROFILE_DNXHD)
	ProfileDnxhr444                          = Profile(C.AV_PROFILE_DNXHR_444)
	ProfileDnxhrHq                           = Profile(C.AV_PROFILE_DNXHR_HQ)
	ProfileDnxhrHqx                          = Profile(C.AV_PROFILE_DNXHR_HQX)
	ProfileDnxhrLb                           = Profile(C.AV_PROFILE_DNXHR_LB)
	ProfileDnxhrSq                           = Profile(C.AV_PROFILE_DNXHR_SQ)
	ProfileDts                               = Profile(C.AV_PROFILE_DTS)
	ProfileDts9624                           = Profile(C.AV_PROFILE_DTS_96_24)
	ProfileDtsEs                             = Profile(C.AV_PROFILE_DTS_ES)
	ProfileDtsExpress                        = Profile(C.AV_PROFILE_DTS_EXPRESS)
	ProfileDtsHdHra                          = Profile(C.AV_PROFILE_DTS_HD_HRA)
	ProfileDtsHdMa                           = Profile(C.AV_PROFILE_DTS_HD_MA)
	ProfileH264Baseline                      = Profile(C.AV_PROFILE_H264_BASELINE)
	ProfileH264Cavlc444                      = Profile(C.AV_PROFILE_H264_CAVLC_444)
	ProfileH264Constrained                   = Profile(C.AV_PROFILE_H264_CONSTRAINED)
	ProfileH264ConstrainedBaseline           = Profile(C.AV_PROFILE_H264_CONSTRAINED_BASELINE)
	ProfileH264Extended                      = Profile(C.AV_PROFILE_H264_EXTENDED)
	ProfileH264High                          = Profile(C.AV_PROFILE_H264_HIGH)
	ProfileH264High10                        = Profile(C.AV_PROFILE_H264_HIGH_10)
	ProfileH264High10Intra                   = Profile(C.AV_PROFILE_H264_HIGH_10_INTRA)
	ProfileH264High422                       = Profile(C.AV_PROFILE_H264_HIGH_422)
	ProfileH264High422Intra                  = Profile(C.AV_PROFILE_H264_HIGH_422_INTRA)
	ProfileH264High444                       = Profile(C.AV_PROFILE_H264_HIGH_444)
	ProfileH264High444Intra                  = Profile(C.AV_PROFILE_H264_HIGH_444_INTRA)
	ProfileH264High444Predictive             = Profile(C.AV_PROFILE_H264_HIGH_444_PREDICTIVE)
	ProfileH264Intra                         = Profile(C.AV_PROFILE_H264_INTRA)
	ProfileH264Main                          = Profile(C.AV_PROFILE_H264_MAIN)
	ProfileH264MultiviewHigh                 = Profile(C.AV_PROFILE_H264_MULTIVIEW_HIGH)
	ProfileH264StereoHigh                    = Profile(C.AV_PROFILE_H264_STEREO_HIGH)
	ProfileHevcMain                          = Profile(C.AV_PROFILE_HEVC_MAIN)
	ProfileHevcMain10                        = Profile(C.AV_PROFILE_HEVC_MAIN_10)
	ProfileHevcMainStillPicture              = Profile(C.AV_PROFILE_HEVC_MAIN_STILL_PICTURE)
	ProfileHevcRext                          = Profile(C.AV_PROFILE_HEVC_REXT)
	ProfileJpeg2000CstreamNoRestriction      = Profile(C.AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION)
	ProfileJpeg2000CstreamRestriction0       = Profile(C.AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0)
	ProfileJpeg2000CstreamRestriction1       = Profile(C.AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1)
	ProfileJpeg2000Dcinema2K                 = Profile(C.AV_PROFILE_JPEG2000_DCINEMA_2K)
	ProfileJpeg2000Dcinema4K                 = Profile(C.AV_PROFILE_JPEG2000_DCINEMA_4K)
	ProfileMjpegHuffmanBaselineDct           = Profile(C.AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT)
	ProfileMjpegHuffmanExtendedSequentialDct = Profile(C.AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT)
	ProfileMjpegHuffmanLossless              = Profile(C.AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS)
	ProfileMjpegHuffmanProgressiveDct        = Profile(C.AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT)
	ProfileMjpegJpegLs                       = Profile(C.AV_PROFILE_MJPEG_JPEG_LS)
	ProfileMpeg2422                          = Profile(C.AV_PROFILE_MPEG2_422)
	ProfileMpeg2AacHe                        = Profile(C.AV_PROFILE_MPEG2_AAC_HE)
	ProfileMpeg2AacLow                       = Profile(C.AV_PROFILE_MPEG2_AAC_LOW)
	ProfileMpeg2High                         = Profile(C.AV_PROFILE_MPEG2_HIGH)
	ProfileMpeg2Main                         = Profile(C.AV_PROFILE_MPEG2_MAIN)
	ProfileMpeg2Simple                       = Profile(C.AV_PROFILE_MPEG2_SIMPLE)
	ProfileMpeg2SnrScalable                  = Profile(C.AV_PROFILE_MPEG2_SNR_SCALABLE)
	ProfileMpeg2Ss                           = Profile(C.AV_PROFILE_MPEG2_SS)
	ProfileMpeg4AdvancedCoding               = Profile(C.AV_PROFILE_MPEG4_ADVANCED_CODING)
	ProfileMpeg4AdvancedCore                 = Profile(C.AV_PROFILE_MPEG4_ADVANCED_CORE)
	ProfileMpeg4AdvancedRealTime             = Profile(C.AV_PROFILE_MPEG4_ADVANCED_REAL_TIME)
	ProfileMpeg4AdvancedScalableTexture      = Profile(C.AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE)
	ProfileMpeg4AdvancedSimple               = Profile(C.AV_PROFILE_MPEG4_ADVANCED_SIMPLE)
	ProfileMpeg4BasicAnimatedTexture         = Profile(C.AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE)
	ProfileMpeg4Core                         = Profile(C.AV_PROFILE_MPEG4_CORE)
	ProfileMpeg4CoreScalable                 = Profile(C.AV_PROFILE_MPEG4_CORE_SCALABLE)
	ProfileMpeg4Hybrid                       = Profile(C.AV_PROFILE_MPEG4_HYBRID)
	ProfileMpeg4Main                         = Profile(C.AV_PROFILE_MPEG4_MAIN)
	ProfileMpeg4NBit                         = Profile(C.AV_PROFILE_MPEG4_N_BIT)
	ProfileMpeg4ScalableTexture              = Profile(C.AV_PROFILE_MPEG4_SCALABLE_TEXTURE)
	ProfileMpeg4Simple                       = Profile(C.AV_PROFILE_MPEG4_SIMPLE)
	ProfileMpeg4SimpleFaceAnimation          = Profile(C.AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION)
	ProfileMpeg4SimpleScalable               = Profile(C.AV_PROFILE_MPEG4_SIMPLE_SCALABLE)
	ProfileMpeg4SimpleStudio                 = Profile(C.AV_PROFILE_MPEG4_SIMPLE_STUDIO)
	ProfileReserved                          = Profile(C.AV_PROFILE_RESERVED)
	ProfileSbcMsbc                           = Profile(C.AV_PROFILE_SBC_MSBC)
	ProfileUnknown                           = Profile(C.AV_PROFILE_UNKNOWN)
	ProfileVc1Advanced                       = Profile(C.AV_PROFILE_VC1_ADVANCED)
	ProfileVc1Complex                        = Profile(C.AV_PROFILE_VC1_COMPLEX)
	ProfileVc1Main                           = Profile(C.AV_PROFILE_VC1_MAIN)
	ProfileVc1Simple                         = Profile(C.AV_PROFILE_VC1_SIMPLE)
	ProfileVp90                              = Profile(C.AV_PROFILE_VP9_0)
	ProfileVp91                              = Profile(C.AV_PROFILE_VP9_1)
	ProfileVp92                              = Profile(C.AV_PROFILE_VP9_2)
	ProfileVp93                              = Profile(C.AV_PROFILE_VP9_3)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
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)
)
View Source
const (
	ThreadTypeFrame     = ThreadType(C.FF_THREAD_FRAME)
	ThreadTypeSlice     = ThreadType(C.FF_THREAD_SLICE)
	ThreadTypeUndefined = ThreadType(0)
)
View Source
const (
	FormatEventFlagMetadataUpdated = FormatEventFlag(C.AVFMT_EVENT_FLAG_METADATA_UPDATED)
)
View Source
const (
	// LevelUnknown removed in FFmpeg 8.0 - FF_LEVEL_UNKNOWN was removed
	// Using -99 as the equivalent value that was previously defined
	LevelUnknown = Level(-99)
)
View Source
const NumDataPointers = uint(C.AV_NUM_DATA_POINTERS)

https://ffmpeg.org/doxygen/8.0/frame_8h.html#add80189702cf0f5ea82718576fb43201

View Source
const (
	StreamEventFlagMetadataUpdated = StreamEventFlag(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
)

Variables

View Source
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/8.0/group__lavu__audio__channels.html#ga855bb7dede67971e95bd09d8fcca7293

Functions

func AvioEnum

func AvioEnum(output bool) []string

AvioEnum enumerates available protocols https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func AvioFindProtocolName

func AvioFindProtocolName(url string) string

AvioFindProtocolName finds the protocol name from a URL https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func FastPaddedMalloc

func FastPaddedMalloc(ptr unsafe.Pointer, size *uint, minSize int)

FastPaddedMalloc allocates a buffer with padding, optimized for speed This function allocates a buffer with AV_INPUT_BUFFER_PADDING_SIZE additional bytes https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func FastPaddedMallocz

func FastPaddedMallocz(ptr unsafe.Pointer, size *uint, minSize int)

FastPaddedMallocz allocates a zero-initialized buffer with padding, optimized for speed This function allocates a buffer with AV_INPUT_BUFFER_PADDING_SIZE additional bytes and zeros it https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func Free

func Free(ptr unsafe.Pointer)

Free frees a memory block which has been allocated with a function of av_malloc() or av_realloc() family https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func Freep

func Freep(ptr *unsafe.Pointer)

Freep frees a memory block which has been allocated with a function of av_malloc() or av_realloc() family, and set the pointer pointing to it to NULL https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func GetAudioFrameDuration2

func GetAudioFrameDuration2(par *CodecParameters, frameBytes int) int

GetAudioFrameDuration2 gets the duration of an audio frame from codec parameters https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func IsEagain

func IsEagain(err error) bool

IsEagain checks if error is EAGAIN

func IsEof

func IsEof(err error) bool

IsEof checks if error is EOF

func Malloc

func Malloc(size int) unsafe.Pointer

Malloc allocates a block of size bytes with alignment suitable for all memory accesses https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func Mallocz

func Mallocz(size int) unsafe.Pointer

Mallocz allocates a block of size bytes with alignment suitable for all memory accesses and zero it https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func MalloczArray

func MalloczArray(nmemb, size int) unsafe.Pointer

MalloczArray allocates an array and zero it (equivalent to av_calloc) https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func NetworkDeinit

func NetworkDeinit() error

NetworkDeinit deinitializes the network subsystem https://ffmpeg.org/doxygen/8.0/group__lavf__core.html#ga18b7b10bb5b94524842de2be64b22e84

func NetworkInit

func NetworkInit() error

NetworkInit initializes the network subsystem https://ffmpeg.org/doxygen/8.0/group__lavf__core.html#ga18b7b10bb5b94524842de2be64b22e84

func Q2d

func Q2d(r Rational) float64

Q2d converts rational to double

func Realloc

func Realloc(ptr unsafe.Pointer, size int) unsafe.Pointer

Realloc reallocates the given block if it is not large enough, otherwise does nothing https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func ReallocF

func ReallocF(ptr unsafe.Pointer, size int) unsafe.Pointer

ReallocF reallocates the given block if it is not large enough, otherwise does nothing https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func Reduce

func Reduce(num, den int64, max int64) (int, int)

Reduce reduces a fraction to its simplest form https://ffmpeg.org/doxygen/8.0/group__lavu__math.html#ga1e2c8b2b71c2cd5db1b5b3b7b7b7b7b7

func RescaleDelta

func RescaleDelta(inTb Rational, inTs int64, fsTb Rational, duration int, last *int64, outTb Rational) int64

RescaleDelta rescales a timestamp while preserving known durations https://ffmpeg.org/doxygen/8.0/group__lavu__math.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func SamplesAllocArrayAndSamples

func SamplesAllocArrayAndSamples(nbChannels, nbSamples int, sampleFmt SampleFormat, align int) ([][]byte, int, error)

SamplesAllocArrayAndSamples allocates a samples buffer array and samples buffer https://ffmpeg.org/doxygen/8.0/group__lavu__sampmanip.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func Strndup

func Strndup(s string, len int) *C.char

Strndup duplicates a substring of a string https://ffmpeg.org/doxygen/8.0/group__lavu__mem.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

Types

type BitStreamFilterContext

type BitStreamFilterContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVBSFContext.html

type BuffersinkFilterContext

type BuffersinkFilterContext struct {
	// contains filtered or unexported fields
}

func (*BuffersinkFilterContext) FilterContext

func (bfc *BuffersinkFilterContext) FilterContext() *FilterContext

func (*BuffersinkFilterContext) Initialize

func (bfc *BuffersinkFilterContext) Initialize() error

Initialize initializes the buffersink filter context

func (*BuffersinkFilterContext) SetChannelLayouts

func (bfc *BuffersinkFilterContext) SetChannelLayouts(layout string) error

SetChannelLayouts sets the supported channel layouts for audio buffersink

func (*BuffersinkFilterContext) SetPixelFormats

func (bfc *BuffersinkFilterContext) SetPixelFormats(formats []PixelFormat) error

SetPixelFormats sets the supported pixel formats for video buffersink Note: In FFmpeg 8.0+, pix_fmts option is deprecated and should not be set after initialization This method is kept for compatibility but does nothing

func (*BuffersinkFilterContext) SetSampleFormats

func (bfc *BuffersinkFilterContext) SetSampleFormats(formats []SampleFormat) error

SetSampleFormats sets the supported sample formats for audio buffersink

func (*BuffersinkFilterContext) SetSampleRates

func (bfc *BuffersinkFilterContext) SetSampleRates(rates []int) error

SetSampleRates sets the supported sample rates for audio buffersink

type BuffersinkFlags

type BuffersinkFlags astikit.BitFlags

func NewBuffersinkFlags

func NewBuffersinkFlags(fs ...BuffersinkFlag) BuffersinkFlags

func (BuffersinkFlags) Add

func (BuffersinkFlags) Del

func (BuffersinkFlags) Has

type BuffersrcFilterContext

type BuffersrcFilterContext struct {
	// contains filtered or unexported fields
}

func (*BuffersrcFilterContext) FilterContext

func (bfc *BuffersrcFilterContext) FilterContext() *FilterContext

type BuffersrcFilterContextParameters

type BuffersrcFilterContextParameters struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVBufferSrcParameters.html

func (*BuffersrcFilterContextParameters) Free

func (bfcp *BuffersrcFilterContextParameters) Free()

type BuffersrcFlags

type BuffersrcFlags astikit.BitFlags

func NewBuffersrcFlags

func NewBuffersrcFlags(fs ...BuffersrcFlag) BuffersrcFlags

func (BuffersrcFlags) Add

func (BuffersrcFlags) Del

func (BuffersrcFlags) Has

func (fs BuffersrcFlags) Has(f BuffersrcFlag) bool

type ChannelLayout

type ChannelLayout struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVChannelLayout.html

func ChannelLayoutDefault

func ChannelLayoutDefault(nbChannels int) ChannelLayout

Default creates a default channel layout for the given number of channels https://ffmpeg.org/doxygen/8.0/group__lavu__audio__channels.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (ChannelLayout) Equal

func (l ChannelLayout) Equal(l2 ChannelLayout) bool

func (ChannelLayout) String

func (l ChannelLayout) String() string

type Classer

type Classer interface {
	Class() *Class
}

type ClonedClasser

type ClonedClasser struct {
	// contains filtered or unexported fields
}

func (*ClonedClasser) Class

func (c *ClonedClasser) Class() *Class

type Codec

type Codec struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVCodec.html

func (*Codec) String

func (c *Codec) String() string

type CodecConfig

type CodecConfig int

CodecConfig represents AVCodecConfig enum

const (
	CodecConfigPixelFormat   CodecConfig = C.AV_CODEC_CONFIG_PIX_FORMAT
	CodecConfigFrameRate     CodecConfig = C.AV_CODEC_CONFIG_FRAME_RATE
	CodecConfigSampleRate    CodecConfig = C.AV_CODEC_CONFIG_SAMPLE_RATE
	CodecConfigSampleFormat  CodecConfig = C.AV_CODEC_CONFIG_SAMPLE_FORMAT
	CodecConfigChannelLayout CodecConfig = C.AV_CODEC_CONFIG_CHANNEL_LAYOUT
	CodecConfigColorRange    CodecConfig = C.AV_CODEC_CONFIG_COLOR_RANGE
	CodecConfigColorSpace    CodecConfig = C.AV_CODEC_CONFIG_COLOR_SPACE
)

type CodecContext

type CodecContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVCodecContext.html

func (*CodecContext) AlignDimensions

func (cc *CodecContext) AlignDimensions(width, height *int)

AlignDimensions aligns video dimensions for optimal performance https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga0c7058f764778615e7978a1821ab3cfe

func (*CodecContext) AlignDimensions2

func (cc *CodecContext) AlignDimensions2(width, height *int, linesize []int)

AlignDimensions2 aligns video dimensions with custom line size alignment https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga4b33e6e7c9e9b2d8b1b8c8f8f8f8f8f8

func (*CodecContext) CodecString

func (cc *CodecContext) CodecString(encode bool) string

CodecString returns a string describing the codec context This function generates a human-readable string describing the codec context https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga503f8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) DecodeSubtitle2

func (cc *CodecContext) DecodeSubtitle2(subtitle *Subtitle, packet *Packet) (gotSubtitle bool, err error)

DecodeSubtitle2 decodes a subtitle https://ffmpeg.org/doxygen/8.0/group__lavc__decoding.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) DefaultExecute

func (cc *CodecContext) DefaultExecute(fn unsafe.Pointer, arg unsafe.Pointer, ret *int, count int, size int) int

DefaultExecute is the default execute callback https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) DefaultExecute2

func (cc *CodecContext) DefaultExecute2(fn unsafe.Pointer, arg unsafe.Pointer, ret *int, count int) int

DefaultExecute2 is the advanced default execute callback https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga9b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) DefaultGetBuffer2

func (cc *CodecContext) DefaultGetBuffer2(frame *Frame, flags int) error

DefaultGetBuffer2 is the default callback for getting frame buffers https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga9b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) DefaultGetEncodeBuffer

func (cc *CodecContext) DefaultGetEncodeBuffer(pkt *Packet, flags int) error

DefaultGetEncodeBuffer is the default callback for getting encode buffers https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) EncodeSubtitle

func (cc *CodecContext) EncodeSubtitle(buf []byte, subtitle *Subtitle) (int, error)

EncodeSubtitle encodes a subtitle https://ffmpeg.org/doxygen/8.0/group__lavc__encoding.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) FlushBuffers

func (cc *CodecContext) FlushBuffers()

FlushBuffers flushes buffers, should be called when seeking or when switching to a different stream https://ffmpeg.org/doxygen/8.0/group__lavc__decoding.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) FromCodecParameters

func (cc *CodecContext) FromCodecParameters(cp *CodecParameters) error

func (*CodecContext) GetAudioFrameDuration

func (cc *CodecContext) GetAudioFrameDuration(frameBytes int) int

GetAudioFrameDuration gets the duration of an audio frame https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) GetHwFramesParameters

func (cc *CodecContext) GetHwFramesParameters(deviceRef *HardwareDeviceContext) (*HardwareFramesContext, error)

GetHwFramesParameters gets hardware frames parameters https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*CodecContext) GetSupportedConfig

func (cc *CodecContext) GetSupportedConfig(codec *Codec, config CodecConfig, flags uint) (interface{}, error)

https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga11f785a188d7d9df71621001465b0f1d

func (*CodecContext) String

func (cc *CodecContext) String() string

func (*CodecContext) ToCodecParameters

func (cc *CodecContext) ToCodecParameters(cp *CodecParameters) error

func (*CodecContext) UnsafePointer

func (cc *CodecContext) UnsafePointer() unsafe.Pointer

type CodecContextFlag2

type CodecContextFlag2 int64

type CodecContextFlags

type CodecContextFlags astikit.BitFlags

func NewCodecContextFlags

func NewCodecContextFlags(fs ...CodecContextFlag) CodecContextFlags

func (CodecContextFlags) Add

func (CodecContextFlags) Del

func (CodecContextFlags) Has

type CodecContextFlags2

type CodecContextFlags2 astikit.BitFlags

func NewCodecContextFlags2

func NewCodecContextFlags2(fs ...CodecContextFlag2) CodecContextFlags2

func (CodecContextFlags2) Add

func (CodecContextFlags2) Del

func (CodecContextFlags2) Has

type CodecContextPixelFormatCallback

type CodecContextPixelFormatCallback func(pfs []PixelFormat) PixelFormat

type CodecHardwareConfigMethodFlags

type CodecHardwareConfigMethodFlags astikit.BitFlags

func (CodecHardwareConfigMethodFlags) Has

type CodecID

type CodecID C.enum_AVCodecID

https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce

func (CodecID) MediaType

func (c CodecID) MediaType() MediaType

func (CodecID) Name

func (c CodecID) Name() string

func (CodecID) String

func (c CodecID) String() string

type CodecParameters

type CodecParameters struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVCodecParameters.html

func (*CodecParameters) CopyFrom

func (cp *CodecParameters) CopyFrom(src *CodecParameters) error

CopyFrom copies parameters from another CodecParameters https://ffmpeg.org/doxygen/8.0/group__lavc__core.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type CodecTag

type CodecTag uint32

type CompareTimestampsResult

type CompareTimestampsResult uint8
const (
	CompareTimestampsResultUndefined CompareTimestampsResult = iota
	CompareTimestampsResultAEqualB
	CompareTimestampsResultABeforeB
	CompareTimestampsResultAAfterB
)

type Dictionary

type Dictionary struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVDictionary.html

func NewDictionary

func NewDictionary() *Dictionary

func (*Dictionary) Iterate

func (d *Dictionary) Iterate(prev *DictionaryEntry) *DictionaryEntry

Iterate iterates over all entries in the dictionary https://ffmpeg.org/doxygen/8.0/group__lavu__dict.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type DictionaryFlags

type DictionaryFlags astikit.BitFlags

func NewDictionaryFlags

func NewDictionaryFlags(fs ...DictionaryFlag) DictionaryFlags

func (DictionaryFlags) Add

func (DictionaryFlags) Del

func (DictionaryFlags) Has

type DispositionFlags

type DispositionFlags astikit.BitFlags

func NewDispositionFlags

func NewDispositionFlags(fs ...DispositionFlag) DispositionFlags

func (DispositionFlags) Add

func (DispositionFlags) Del

func (DispositionFlags) Has

type FilterCommandFlags

type FilterCommandFlags astikit.BitFlags

func NewFilterCommandFlags

func NewFilterCommandFlags(fs ...FilterCommandFlag) FilterCommandFlags

func (FilterCommandFlags) Add

func (FilterCommandFlags) Del

func (FilterCommandFlags) Has

type FilterContext

type FilterContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFilterContext.html

func (*FilterContext) GetHwFramesCtx

func (fc *FilterContext) GetHwFramesCtx() *HardwareFramesContext

GetHwFramesCtx gets the hardware frames context from a filter link https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterContext) InsertFilter

func (fc *FilterContext) InsertFilter(filt *Filter, filt_srcpad_idx, filt_dstpad_idx int) error

InsertFilter inserts a filter into the filter graph https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterContext) ProcessCommand

func (fc *FilterContext) ProcessCommand(cmd, args string, flags int) (response string, err error)

https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga0ea7664a3ce6bb677a830698d358a179

type FilterFlags

type FilterFlags astikit.BitFlags

func NewFilterFlags

func NewFilterFlags(fs ...FilterFlag) FilterFlags

func (FilterFlags) Add

func (FilterFlags) Del

func (FilterFlags) Has

func (fs FilterFlags) Has(f FilterFlag) bool

type FilterGraph

type FilterGraph struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFilterGraph.html

func (*FilterGraph) ParseFilterGraphSegment

func (fg *FilterGraph) ParseFilterGraphSegment(graph string, flags int) (*FilterGraphSegment, error)

ParseFilterGraphSegment parses a filter graph segment from a string https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterGraph) SetAutoConvert

func (g *FilterGraph) SetAutoConvert(flags uint)

SetAutoConvert sets auto conversion flags for the filter graph https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type FilterGraphSegment

type FilterGraphSegment struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFilterGraphSegment.html

func (*FilterGraphSegment) Apply

func (fgs *FilterGraphSegment) Apply(flags int, inputs, outputs **FilterInOut) error

Apply applies the segment to the filter graph https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterGraphSegment) ApplyOpts

func (fgs *FilterGraphSegment) ApplyOpts(flags int) error

ApplyOpts applies options to the segment https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterGraphSegment) CreateFilters

func (fgs *FilterGraphSegment) CreateFilters(flags int) error

CreateFilters creates filters in the segment https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FilterGraphSegment) Init

func (fgs *FilterGraphSegment) Init(flags int) error

Init initializes the segment https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (fgs *FilterGraphSegment) Link(flags int, inputs, outputs **FilterInOut) error

Link links the segment https://ffmpeg.org/doxygen/8.0/group__lavfi.html#ga8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type FilterPad

type FilterPad struct {
	// contains filtered or unexported fields
}

Struct attributes are internal but there are C functions to get some of them

func (*FilterPad) MediaType

func (fp *FilterPad) MediaType() MediaType

type FilterParams

type FilterParams struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFilterParams.html

type FormatContext

type FormatContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFormatContext.html

func (*FormatContext) FindBestStream

func (fc *FormatContext) FindBestStream(mt MediaType, wantedStreamIndex, relatedStreamIndex int) (*Stream, *Codec, error)

https://ffmpeg.org/doxygen/8.0/avformat_8c.html#a8d4609a8f685ad894c1503ffd1b610b4

func (*FormatContext) GuessCodec

func (fc *FormatContext) GuessCodec(shortName, filename, mimeType string, mediaType MediaType) CodecID

GuessCodec guesses the codec based on output format and media type https://ffmpeg.org/doxygen/8.0/group__lavf__mux.html#ga18b7b10bb5b94524842de2be64b22e84

func (*FormatContext) QueueAttachedPictures

func (fc *FormatContext) QueueAttachedPictures() error

QueueAttachedPictures queues attached pictures https://ffmpeg.org/doxygen/8.0/group__lavf__demux.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FormatContext) SeekFile

func (fc *FormatContext) SeekFile(streamIndex int, minTs, ts, maxTs int64, flags SeekFlags) error

SeekFile seeks to a specific timestamp with more precision https://ffmpeg.org/doxygen/8.0/group__lavf__demux.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*FormatContext) Streams

func (fc *FormatContext) Streams() (ss []*Stream)

type FormatContextCtxFlags

type FormatContextCtxFlags astikit.BitFlags

func NewFormatContextCtxFlags

func NewFormatContextCtxFlags(fs ...FormatContextCtxFlag) FormatContextCtxFlags

func (FormatContextCtxFlags) Add

func (FormatContextCtxFlags) Del

func (FormatContextCtxFlags) Has

type FormatContextFlags

type FormatContextFlags astikit.BitFlags

func NewFormatContextFlags

func NewFormatContextFlags(fs ...FormatContextFlag) FormatContextFlags

func (FormatContextFlags) Add

func (FormatContextFlags) Del

func (FormatContextFlags) Has

type FormatEventFlags

type FormatEventFlags astikit.BitFlags

func NewFormatEventFlags

func NewFormatEventFlags(fs ...FormatEventFlag) FormatEventFlags

func (FormatEventFlags) Add

func (FormatEventFlags) Del

func (FormatEventFlags) Has

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVFrame.html

func (*Frame) DataPtr

func (f *Frame) DataPtr(index int) unsafe.Pointer

Direct access to frame data pointers, like C code sw_frame->data[index]

func (*Frame) DataSlice

func (f *Frame) DataSlice(index int, size int) []byte

Get slice from data pointer for direct read/write, like C code

func (*Frame) SamplesCopyToBuffer

func (f *Frame) SamplesCopyToBuffer(b []byte, align int) (int, error)

func (*Frame) UnsafePointer

func (f *Frame) UnsafePointer() unsafe.Pointer

type FrameData

type FrameData struct {
	// contains filtered or unexported fields
}

func (*FrameData) Bytes

func (d *FrameData) Bytes(align int) ([]byte, error)

func (*FrameData) BytesForPlane

func (d *FrameData) BytesForPlane(planeIndex int) ([]byte, error)

Get bytes for a specific plane index

func (*FrameData) FromImage

func (d *FrameData) FromImage(src image.Image) error

It's the developer's responsibility to handle frame's writability

func (*FrameData) GuessImageFormat

func (d *FrameData) GuessImageFormat() (image.Image, error)

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()

func (*FrameData) SetBytes

func (d *FrameData) SetBytes(b []byte, align int) error

It's the developer's responsibility to handle frame's writability

func (*FrameData) ToImage

func (d *FrameData) ToImage(dst image.Image) error

type HardwareDeviceContext

type HardwareDeviceContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVHWDeviceContext.html

func (*HardwareDeviceContext) Free

func (hdc *HardwareDeviceContext) Free()

type HardwareFramesConstraints

type HardwareFramesConstraints struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVHWFramesConstraints.html

type HardwareFramesContext

type HardwareFramesContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVHWFramesContext.html

func (*HardwareFramesContext) Free

func (hfc *HardwareFramesContext) Free()

type IOContext

type IOContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVIOContext.html

func (*IOContext) Accept

func (ic *IOContext) Accept() (*IOContext, error)

Accept accepts a new client connection https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*IOContext) Class

func (ic *IOContext) Class() *Class

func (*IOContext) GetOption

func (ic *IOContext) GetOption(name string) (string, error)

GetOption gets an option value https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*IOContext) Handshake

func (ic *IOContext) Handshake() int

Handshake performs HTTP handshake https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*IOContext) SetOption

func (ic *IOContext) SetOption(name, value string) error

SetOption sets an option value https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type IOContextFlags

type IOContextFlags astikit.BitFlags

func NewIOContextFlags

func NewIOContextFlags(fs ...IOContextFlag) IOContextFlags

func (IOContextFlags) Add

func (IOContextFlags) Del

func (IOContextFlags) Has

func (fs IOContextFlags) Has(f IOContextFlag) bool

type IOContextReadFunc

type IOContextReadFunc func(b []byte) (n int, err error)

type IOContextSeekFunc

type IOContextSeekFunc func(offset int64, whence int) (n int64, err error)

type IOContextWriteFunc

type IOContextWriteFunc func(b []byte) (n int, err error)

type IODirContext

type IODirContext struct {
	// contains filtered or unexported fields
}

IODirContext represents a directory context for listing files

func (*IODirContext) CloseDir

func (ctx *IODirContext) CloseDir() error

CloseDir closes the directory context https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*IODirContext) ReadDir

func (ctx *IODirContext) ReadDir() (*IODirEntry, error)

ReadDir reads the next directory entry https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type IODirEntry

type IODirEntry struct {
	// contains filtered or unexported fields
}

IODirEntry represents a directory entry

func (*IODirEntry) AccessTimestamp

func (entry *IODirEntry) AccessTimestamp() int64

AccessTimestamp returns the access timestamp of the directory entry

func (*IODirEntry) Filemode

func (entry *IODirEntry) Filemode() int64

Filemode returns the file mode of the directory entry

func (*IODirEntry) Free

func (entry *IODirEntry) Free()

Free frees the directory entry https://ffmpeg.org/doxygen/8.0/group__lavf__misc.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*IODirEntry) GroupID

func (entry *IODirEntry) GroupID() int64

GroupID returns the group ID of the directory entry

func (*IODirEntry) ModificationTimestamp

func (entry *IODirEntry) ModificationTimestamp() int64

ModificationTimestamp returns the modification timestamp of the directory entry

func (*IODirEntry) Name

func (entry *IODirEntry) Name() string

Name returns the name of the directory entry

func (*IODirEntry) Size

func (entry *IODirEntry) Size() int64

Size returns the size of the directory entry

func (*IODirEntry) StatusChangeTimestamp

func (entry *IODirEntry) StatusChangeTimestamp() int64

StatusChangeTimestamp returns the status change timestamp of the directory entry

func (*IODirEntry) Type

func (entry *IODirEntry) Type() IODirEntryType

Type returns the type of the directory entry

func (*IODirEntry) UserID

func (entry *IODirEntry) UserID() int64

UserID returns the user ID of the directory entry

type IODirEntryType

type IODirEntryType int

IODirEntryType represents the type of a directory entry

const (
	IODirEntryTypeUnknown         IODirEntryType = C.AVIO_ENTRY_UNKNOWN
	IODirEntryTypeFile            IODirEntryType = C.AVIO_ENTRY_FILE
	IODirEntryTypeDirectory       IODirEntryType = C.AVIO_ENTRY_DIRECTORY
	IODirEntryTypeBlockDevice     IODirEntryType = C.AVIO_ENTRY_BLOCK_DEVICE
	IODirEntryTypeCharacterDevice IODirEntryType = C.AVIO_ENTRY_CHARACTER_DEVICE
	IODirEntryTypeNamedPipe       IODirEntryType = C.AVIO_ENTRY_NAMED_PIPE
	IODirEntryTypeSymbolicLink    IODirEntryType = C.AVIO_ENTRY_SYMBOLIC_LINK
	IODirEntryTypeSocket          IODirEntryType = C.AVIO_ENTRY_SOCKET
	IODirEntryTypeServer          IODirEntryType = C.AVIO_ENTRY_SERVER
	IODirEntryTypeShare           IODirEntryType = C.AVIO_ENTRY_SHARE
	IODirEntryTypeWorkgroup       IODirEntryType = C.AVIO_ENTRY_WORKGROUP
)

type IOFormatFlags

type IOFormatFlags astikit.BitFlags

func NewIOFormatFlags

func NewIOFormatFlags(fs ...IOFormatFlag) IOFormatFlags

func (IOFormatFlags) Add

func (IOFormatFlags) Del

func (IOFormatFlags) Has

func (fs IOFormatFlags) Has(f IOFormatFlag) bool

type IOInterrupter

type IOInterrupter struct {
	// contains filtered or unexported fields
}

func NewIOInterrupter

func NewIOInterrupter() *IOInterrupter

func (*IOInterrupter) Free

func (i *IOInterrupter) Free()

func (*IOInterrupter) Interrupt

func (i *IOInterrupter) Interrupt()

func (*IOInterrupter) Interrupted

func (i *IOInterrupter) Interrupted() bool

func (*IOInterrupter) Resume

func (i *IOInterrupter) Resume()

type LogCallback

type LogCallback func(c Classer, l LogLevel, fmt, msg string)

type OptionSearchFlags

type OptionSearchFlags astikit.BitFlags

func NewOptionSearchFlags

func NewOptionSearchFlags(fs ...OptionSearchFlag) OptionSearchFlags

func (OptionSearchFlags) Add

func (OptionSearchFlags) Del

func (OptionSearchFlags) Has

type Packet

type Packet struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVPacket.html

func (*Packet) IsWritable

func (p *Packet) IsWritable() bool

type PacketFlags

type PacketFlags astikit.BitFlags

func NewPacketFlags

func NewPacketFlags(fs ...PacketFlag) PacketFlags

func (PacketFlags) Add

func (PacketFlags) Del

func (PacketFlags) Has

func (fs PacketFlags) Has(f PacketFlag) bool

type PixelFormatDescriptorFlags

type PixelFormatDescriptorFlags astikit.BitFlags

func (PixelFormatDescriptorFlags) Add

func (PixelFormatDescriptorFlags) Del

func (PixelFormatDescriptorFlags) Has

type PrivateData

type PrivateData struct {
	// contains filtered or unexported fields
}

func (*PrivateData) Options

func (pd *PrivateData) Options() *Options

type Program

type Program struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVProgram.html

type Rational

type Rational struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVRational.html

func NewRational

func NewRational(num, den int) Rational

func (Rational) Den

func (r Rational) Den() int

func (Rational) Float64

func (r Rational) Float64() float64

func (Rational) Invert

func (r Rational) Invert() Rational

func (Rational) Num

func (r Rational) Num() int

func (*Rational) SetDen

func (r *Rational) SetDen(den int)

func (*Rational) SetNum

func (r *Rational) SetNum(num int)

func (Rational) String

func (r Rational) String() string

type RegionOfInterest

type RegionOfInterest struct {
	Bottom             int
	Left               int
	QuantisationOffset Rational
	Right              int
	Top                int
}

https://ffmpeg.org/doxygen/8.0/structAVRegionOfInterest.html

type SeekFlags

type SeekFlags astikit.BitFlags

func NewSeekFlags

func NewSeekFlags(fs ...SeekFlag) SeekFlags

func (SeekFlags) Add

func (fs SeekFlags) Add(f SeekFlag) SeekFlags

func (SeekFlags) Del

func (fs SeekFlags) Del(f SeekFlag) SeekFlags

func (SeekFlags) Has

func (fs SeekFlags) Has(f SeekFlag) bool

type SoftwareResampleContext

type SoftwareResampleContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structSwrContext.html

func AllocSoftwareResampleContextSetOpts2

func AllocSoftwareResampleContextSetOpts2(outChannelLayout ChannelLayout, outSampleFormat SampleFormat, outSampleRate int,
	inChannelLayout ChannelLayout, inSampleFormat SampleFormat, inSampleRate int) (*SoftwareResampleContext, error)

AllocSetOpts2 allocates and sets options for a resampling context https://ffmpeg.org/doxygen/8.0/group__lswr.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

func (*SoftwareResampleContext) Convert

func (src *SoftwareResampleContext) Convert(out [][]byte, outCount int, in [][]byte, inCount int) (int, error)

Convert converts audio samples using the resampler https://ffmpeg.org/doxygen/8.0/group__lswr.html#ga314c0d1b4e5e8b8b8b8b8b8b8b8b8b8b

func (*SoftwareResampleContext) Init

func (src *SoftwareResampleContext) Init() error

Init initializes the resampling context https://ffmpeg.org/doxygen/8.0/group__lswr.html#ga7b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b

type SoftwareScaleContext

type SoftwareScaleContext struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structSwsContext.html

func (*SoftwareScaleContext) DestinationResolution

func (ssc *SoftwareScaleContext) DestinationResolution() (width int, height int)

func (*SoftwareScaleContext) SetDestinationResolution

func (ssc *SoftwareScaleContext) SetDestinationResolution(w int, h int) error

func (*SoftwareScaleContext) SetSourceResolution

func (ssc *SoftwareScaleContext) SetSourceResolution(w int, h int) error

func (*SoftwareScaleContext) SourceResolution

func (ssc *SoftwareScaleContext) SourceResolution() (int, int)

type SoftwareScaleContextFlags

type SoftwareScaleContextFlags astikit.BitFlags

func (SoftwareScaleContextFlags) Add

func (SoftwareScaleContextFlags) Del

func (SoftwareScaleContextFlags) Has

type Stream

type Stream struct {
	// contains filtered or unexported fields
}

https://ffmpeg.org/doxygen/8.0/structAVStream.html

type StreamEventFlags

type StreamEventFlags astikit.BitFlags

func NewStreamEventFlags

func NewStreamEventFlags(fs ...StreamEventFlag) StreamEventFlags

func (StreamEventFlags) Add

func (StreamEventFlags) Del

func (StreamEventFlags) Has

type Subtitle

type Subtitle struct {
	// contains filtered or unexported fields
}

Subtitle represents an AVSubtitle https://ffmpeg.org/doxygen/8.0/structAVSubtitle.html

func AllocSubtitle

func AllocSubtitle() *Subtitle

AllocSubtitle allocates a new subtitle

func (*Subtitle) EndDisplayTime

func (s *Subtitle) EndDisplayTime() uint32

EndDisplayTime returns the subtitle end display time

func (*Subtitle) EndTime

func (s *Subtitle) EndTime() int64

EndTime returns the subtitle end time in microseconds

func (*Subtitle) Format

func (s *Subtitle) Format() int

Format returns the subtitle format

func (*Subtitle) Free

func (s *Subtitle) Free()

Free frees the subtitle

func (*Subtitle) NbRects

func (s *Subtitle) NbRects() int

NbRects returns the number of subtitle rectangles

func (*Subtitle) NumRects

func (s *Subtitle) NumRects() int

NumRects returns the number of subtitle rectangles

func (*Subtitle) Pts

func (s *Subtitle) Pts() int64

Pts returns the subtitle presentation timestamp

func (*Subtitle) SetEndDisplayTime

func (s *Subtitle) SetEndDisplayTime(time uint32)

SetEndDisplayTime sets the subtitle end display time

func (*Subtitle) SetFormat

func (s *Subtitle) SetFormat(format int)

SetFormat sets the subtitle format

func (*Subtitle) SetPts

func (s *Subtitle) SetPts(pts int64)

SetPts sets the subtitle presentation timestamp

func (*Subtitle) SetStartDisplayTime

func (s *Subtitle) SetStartDisplayTime(time uint32)

SetStartDisplayTime sets the subtitle start display time

func (*Subtitle) StartDisplayTime

func (s *Subtitle) StartDisplayTime() uint32

StartDisplayTime returns the subtitle start display time

func (*Subtitle) StartTime

func (s *Subtitle) StartTime() int64

StartTime returns the subtitle start time in microseconds

type UnknownClasser

type UnknownClasser struct {
	// contains filtered or unexported fields
}

func (*UnknownClasser) Class

func (c *UnknownClasser) Class() *Class

Source Files

Directories

Path Synopsis
examples
avio_list_dir command
decode_audio command
decode_video command
encode_audio command
encode_video command
filter_audio command
filtering command
hw_decode command
hw_transcode command
mux command
remuxing command
scaling_video command
show_metadata command
transcode_aac command
transcoding command
ts_convert command
internal
cmd/flags command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL