astiav

package module
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 12 Imported by: 22

README

GoReportCard GoDoc Test Coveralls

astiav is a Golang library providing C bindings for ffmpeg

It's only compatible with ffmpeg n7.0.

Its main goals are to:

  • provide a better GO idiomatic API
    • standard error pattern
    • typed constants and flags
    • struct-based functions
    • ...
  • provide the GO version of ffmpeg examples
  • be fully tested

Examples

Examples are located in the examples directory and mirror as much as possible the ffmpeg examples.

name astiav ffmpeg
BitStream Filtering see X
Custom IO Demuxing see see
Demuxing/Decoding see see
Filtering see see
Hardware Decoding see see
Remuxing see see
Scaling see see
Transcoding see see

Tip: you can use the video sample located in the testdata directory for your tests

Install ffmpeg from source

If you don't know how to install ffmpeg, you can use the following to install it from source:

$ make install-ffmpeg

ffmpeg will be built from source in a directory named tmp and located in you working directory

For your GO code to pick up ffmpeg dependency automatically, you'll need to add the following environment variables:

(don't forget to replace {{ path to your working directory }} with the absolute path to your working directory)

export CGO_LDFLAGS="-L{{ path to your working directory }}/tmp/n7.0/lib/",
export CGO_CFLAGS="-I{{ path to your working directory }}/tmp/n7.0/include/",
export PKG_CONFIG_PATH="{{ path to your working directory }}/tmp/n7.0/lib/pkgconfig",

Why astiav?

After maintaining for several years the most starred fork of goav, I've decided to write from scratch my own C bindings to fix most of the problems I still encountered using goav.

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersink.h#L89

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersrc.h#L36

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://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L206

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L287

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L67

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/error.h#L51

View Source
const (
	FilterCommandFlagOne  = FilterCommandFlag(C.AVFILTER_CMD_FLAG_ONE)
	FilterCommandFlagFast = FilterCommandFlag(C.AVFILTER_CMD_FLAG_FAST)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L739

View Source
const (
	FormatContextCtxFlagNoHeader   = FormatContextCtxFlag(C.AVFMTCTX_NOHEADER)
	FormatContextCtxFlagUnseekable = FormatContextCtxFlag(C.AVFMTCTX_UNSEEKABLE)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1153

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       = FormatContextFlag(C.AVFMT_FLAG_SHORTEST)
	FormatContextFlagAutoBsf        = FormatContextFlag(C.AVFMT_FLAG_AUTO_BSF)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321

View Source
const (
	FrameSideDataTypePanscan                  = FrameSideDataType(C.AV_FRAME_DATA_PANSCAN)
	FrameSideDataTypeA53Cc                    = FrameSideDataType(C.AV_FRAME_DATA_A53_CC)
	FrameSideDataTypeStereo3D                 = FrameSideDataType(C.AV_FRAME_DATA_STEREO3D)
	FrameSideDataTypeMatrixencoding           = FrameSideDataType(C.AV_FRAME_DATA_MATRIXENCODING)
	FrameSideDataTypeDownmixInfo              = FrameSideDataType(C.AV_FRAME_DATA_DOWNMIX_INFO)
	FrameSideDataTypeReplaygain               = FrameSideDataType(C.AV_FRAME_DATA_REPLAYGAIN)
	FrameSideDataTypeDisplaymatrix            = FrameSideDataType(C.AV_FRAME_DATA_DISPLAYMATRIX)
	FrameSideDataTypeAfd                      = FrameSideDataType(C.AV_FRAME_DATA_AFD)
	FrameSideDataTypeMotionVectors            = FrameSideDataType(C.AV_FRAME_DATA_MOTION_VECTORS)
	FrameSideDataTypeSkipSamples              = FrameSideDataType(C.AV_FRAME_DATA_SKIP_SAMPLES)
	FrameSideDataTypeAudioServiceType         = FrameSideDataType(C.AV_FRAME_DATA_AUDIO_SERVICE_TYPE)
	FrameSideDataTypeMasteringDisplayMetadata = FrameSideDataType(C.AV_FRAME_DATA_MASTERING_DISPLAY_METADATA)
	FrameSideDataTypeGopTimecode              = FrameSideDataType(C.AV_FRAME_DATA_GOP_TIMECODE)
	FrameSideDataTypeSpherical                = FrameSideDataType(C.AV_FRAME_DATA_SPHERICAL)
	FrameSideDataTypeContentLightLevel        = FrameSideDataType(C.AV_FRAME_DATA_CONTENT_LIGHT_LEVEL)
	FrameSideDataTypeIccProfile               = FrameSideDataType(C.AV_FRAME_DATA_ICC_PROFILE)
	FrameSideDataTypeS12MTimecode             = FrameSideDataType(C.AV_FRAME_DATA_S12M_TIMECODE)
	FrameSideDataTypeDynamicHdrPlus           = FrameSideDataType(C.AV_FRAME_DATA_DYNAMIC_HDR_PLUS)
	FrameSideDataTypeRegionsOfInterest        = FrameSideDataType(C.AV_FRAME_DATA_REGIONS_OF_INTEREST)
	FrameSideDataTypeVideoEncParams           = FrameSideDataType(C.AV_FRAME_DATA_VIDEO_ENC_PARAMS)
	FrameSideDataTypeSeiUnregistered          = FrameSideDataType(C.AV_FRAME_DATA_SEI_UNREGISTERED)
	FrameSideDataTypeFilmGrainParams          = FrameSideDataType(C.AV_FRAME_DATA_FILM_GRAIN_PARAMS)
)
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)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L621

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   = IOFormatFlag(C.AVFMT_ALLOW_FLUSH)
	IOFormatFlagTsNonstrict  = IOFormatFlag(C.AVFMT_TS_NONSTRICT)
	IOFormatFlagTsNegative   = IOFormatFlag(C.AVFMT_TS_NEGATIVE)
	IOFormatFlagSeekToPts    = IOFormatFlag(C.AVFMT_SEEK_TO_PTS)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L464

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/log.h#L162

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 (
	PacketFlagCorrupt = PacketFlag(C.AV_PKT_FLAG_CORRUPT)
	PacketFlagDiscard = PacketFlag(C.AV_PKT_FLAG_DISCARD)
	PacketFlagKey     = PacketFlag(C.AV_PKT_FLAG_KEY)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L428

View Source
const (
	PacketSideDataTypeA53Cc                    = PacketSideDataType(C.AV_PKT_DATA_A53_CC)
	PacketSideDataTypeAfd                      = PacketSideDataType(C.AV_PKT_DATA_AFD)
	PacketSideDataTypeAudioServiceType         = PacketSideDataType(C.AV_PKT_DATA_AUDIO_SERVICE_TYPE)
	PacketSideDataTypeContentLightLevel        = PacketSideDataType(C.AV_PKT_DATA_CONTENT_LIGHT_LEVEL)
	PacketSideDataTypeCpbProperties            = PacketSideDataType(C.AV_PKT_DATA_CPB_PROPERTIES)
	PacketSideDataTypeDisplaymatrix            = PacketSideDataType(C.AV_PKT_DATA_DISPLAYMATRIX)
	PacketSideDataTypeEncryptionInfo           = PacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INFO)
	PacketSideDataTypeEncryptionInitInfo       = PacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INIT_INFO)
	PacketSideDataTypeFallbackTrack            = PacketSideDataType(C.AV_PKT_DATA_FALLBACK_TRACK)
	PacketSideDataTypeH263MbInfo               = PacketSideDataType(C.AV_PKT_DATA_H263_MB_INFO)
	PacketSideDataTypeJpDualmono               = PacketSideDataType(C.AV_PKT_DATA_JP_DUALMONO)
	PacketSideDataTypeMasteringDisplayMetadata = PacketSideDataType(C.AV_PKT_DATA_MASTERING_DISPLAY_METADATA)
	PacketSideDataTypeMatroskaBlockadditional  = PacketSideDataType(C.AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL)
	PacketSideDataTypeMetadataUpdate           = PacketSideDataType(C.AV_PKT_DATA_METADATA_UPDATE)
	PacketSideDataTypeMpegtsStreamId           = PacketSideDataType(C.AV_PKT_DATA_MPEGTS_STREAM_ID)
	PacketSideDataTypeNb                       = PacketSideDataType(C.AV_PKT_DATA_NB)
	PacketSideDataTypeNewExtradata             = PacketSideDataType(C.AV_PKT_DATA_NEW_EXTRADATA)
	PacketSideDataTypePalette                  = PacketSideDataType(C.AV_PKT_DATA_PALETTE)
	PacketSideDataTypeParamChange              = PacketSideDataType(C.AV_PKT_DATA_PARAM_CHANGE)
	PacketSideDataTypeQualityStats             = PacketSideDataType(C.AV_PKT_DATA_QUALITY_STATS)
	PacketSideDataTypeReplaygain               = PacketSideDataType(C.AV_PKT_DATA_REPLAYGAIN)
	PacketSideDataTypeSkipSamples              = PacketSideDataType(C.AV_PKT_DATA_SKIP_SAMPLES)
	PacketSideDataTypeSpherical                = PacketSideDataType(C.AV_PKT_DATA_SPHERICAL)
	PacketSideDataTypeStereo3D                 = PacketSideDataType(C.AV_PKT_DATA_STEREO3D)
	PacketSideDataTypeStringsMetadata          = PacketSideDataType(C.AV_PKT_DATA_STRINGS_METADATA)
	PacketSideDataTypeSubtitlePosition         = PacketSideDataType(C.AV_PKT_DATA_SUBTITLE_POSITION)
	PacketSideDataTypeWebvttIdentifier         = PacketSideDataType(C.AV_PKT_DATA_WEBVTT_IDENTIFIER)
	PacketSideDataTypeWebvttSettings           = PacketSideDataType(C.AV_PKT_DATA_WEBVTT_SETTINGS)
)
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 (
	ProfileAacEld                            = Profile(C.FF_PROFILE_AAC_ELD)
	ProfileAacHe                             = Profile(C.FF_PROFILE_AAC_HE)
	ProfileAacHeV2                           = Profile(C.FF_PROFILE_AAC_HE_V2)
	ProfileAacLd                             = Profile(C.FF_PROFILE_AAC_LD)
	ProfileAacLow                            = Profile(C.FF_PROFILE_AAC_LOW)
	ProfileAacLtp                            = Profile(C.FF_PROFILE_AAC_LTP)
	ProfileAacMain                           = Profile(C.FF_PROFILE_AAC_MAIN)
	ProfileAacSsr                            = Profile(C.FF_PROFILE_AAC_SSR)
	ProfileAv1High                           = Profile(C.FF_PROFILE_AV1_HIGH)
	ProfileAv1Main                           = Profile(C.FF_PROFILE_AV1_MAIN)
	ProfileAv1Professional                   = Profile(C.FF_PROFILE_AV1_PROFESSIONAL)
	ProfileDnxhd                             = Profile(C.FF_PROFILE_DNXHD)
	ProfileDnxhr444                          = Profile(C.FF_PROFILE_DNXHR_444)
	ProfileDnxhrHq                           = Profile(C.FF_PROFILE_DNXHR_HQ)
	ProfileDnxhrHqx                          = Profile(C.FF_PROFILE_DNXHR_HQX)
	ProfileDnxhrLb                           = Profile(C.FF_PROFILE_DNXHR_LB)
	ProfileDnxhrSq                           = Profile(C.FF_PROFILE_DNXHR_SQ)
	ProfileDts                               = Profile(C.FF_PROFILE_DTS)
	ProfileDts9624                           = Profile(C.FF_PROFILE_DTS_96_24)
	ProfileDtsEs                             = Profile(C.FF_PROFILE_DTS_ES)
	ProfileDtsExpress                        = Profile(C.FF_PROFILE_DTS_EXPRESS)
	ProfileDtsHdHra                          = Profile(C.FF_PROFILE_DTS_HD_HRA)
	ProfileDtsHdMa                           = Profile(C.FF_PROFILE_DTS_HD_MA)
	ProfileH264Baseline                      = Profile(C.FF_PROFILE_H264_BASELINE)
	ProfileH264Cavlc444                      = Profile(C.FF_PROFILE_H264_CAVLC_444)
	ProfileH264Constrained                   = Profile(C.FF_PROFILE_H264_CONSTRAINED)
	ProfileH264ConstrainedBaseline           = Profile(C.FF_PROFILE_H264_CONSTRAINED_BASELINE)
	ProfileH264Extended                      = Profile(C.FF_PROFILE_H264_EXTENDED)
	ProfileH264High                          = Profile(C.FF_PROFILE_H264_HIGH)
	ProfileH264High10                        = Profile(C.FF_PROFILE_H264_HIGH_10)
	ProfileH264High10Intra                   = Profile(C.FF_PROFILE_H264_HIGH_10_INTRA)
	ProfileH264High422                       = Profile(C.FF_PROFILE_H264_HIGH_422)
	ProfileH264High422Intra                  = Profile(C.FF_PROFILE_H264_HIGH_422_INTRA)
	ProfileH264High444                       = Profile(C.FF_PROFILE_H264_HIGH_444)
	ProfileH264High444Intra                  = Profile(C.FF_PROFILE_H264_HIGH_444_INTRA)
	ProfileH264High444Predictive             = Profile(C.FF_PROFILE_H264_HIGH_444_PREDICTIVE)
	ProfileH264Intra                         = Profile(C.FF_PROFILE_H264_INTRA)
	ProfileH264Main                          = Profile(C.FF_PROFILE_H264_MAIN)
	ProfileH264MultiviewHigh                 = Profile(C.FF_PROFILE_H264_MULTIVIEW_HIGH)
	ProfileH264StereoHigh                    = Profile(C.FF_PROFILE_H264_STEREO_HIGH)
	ProfileHevcMain                          = Profile(C.FF_PROFILE_HEVC_MAIN)
	ProfileHevcMain10                        = Profile(C.FF_PROFILE_HEVC_MAIN_10)
	ProfileHevcMainStillPicture              = Profile(C.FF_PROFILE_HEVC_MAIN_STILL_PICTURE)
	ProfileHevcRext                          = Profile(C.FF_PROFILE_HEVC_REXT)
	ProfileJpeg2000CstreamNoRestriction      = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION)
	ProfileJpeg2000CstreamRestriction0       = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0)
	ProfileJpeg2000CstreamRestriction1       = Profile(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1)
	ProfileJpeg2000Dcinema2K                 = Profile(C.FF_PROFILE_JPEG2000_DCINEMA_2K)
	ProfileJpeg2000Dcinema4K                 = Profile(C.FF_PROFILE_JPEG2000_DCINEMA_4K)
	ProfileMjpegHuffmanBaselineDct           = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT)
	ProfileMjpegHuffmanExtendedSequentialDct = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT)
	ProfileMjpegHuffmanLossless              = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS)
	ProfileMjpegHuffmanProgressiveDct        = Profile(C.FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT)
	ProfileMjpegJpegLs                       = Profile(C.FF_PROFILE_MJPEG_JPEG_LS)
	ProfileMpeg2422                          = Profile(C.FF_PROFILE_MPEG2_422)
	ProfileMpeg2AacHe                        = Profile(C.FF_PROFILE_MPEG2_AAC_HE)
	ProfileMpeg2AacLow                       = Profile(C.FF_PROFILE_MPEG2_AAC_LOW)
	ProfileMpeg2High                         = Profile(C.FF_PROFILE_MPEG2_HIGH)
	ProfileMpeg2Main                         = Profile(C.FF_PROFILE_MPEG2_MAIN)
	ProfileMpeg2Simple                       = Profile(C.FF_PROFILE_MPEG2_SIMPLE)
	ProfileMpeg2SnrScalable                  = Profile(C.FF_PROFILE_MPEG2_SNR_SCALABLE)
	ProfileMpeg2Ss                           = Profile(C.FF_PROFILE_MPEG2_SS)
	ProfileMpeg4AdvancedCoding               = Profile(C.FF_PROFILE_MPEG4_ADVANCED_CODING)
	ProfileMpeg4AdvancedCore                 = Profile(C.FF_PROFILE_MPEG4_ADVANCED_CORE)
	ProfileMpeg4AdvancedRealTime             = Profile(C.FF_PROFILE_MPEG4_ADVANCED_REAL_TIME)
	ProfileMpeg4AdvancedScalableTexture      = Profile(C.FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE)
	ProfileMpeg4AdvancedSimple               = Profile(C.FF_PROFILE_MPEG4_ADVANCED_SIMPLE)
	ProfileMpeg4BasicAnimatedTexture         = Profile(C.FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE)
	ProfileMpeg4Core                         = Profile(C.FF_PROFILE_MPEG4_CORE)
	ProfileMpeg4CoreScalable                 = Profile(C.FF_PROFILE_MPEG4_CORE_SCALABLE)
	ProfileMpeg4Hybrid                       = Profile(C.FF_PROFILE_MPEG4_HYBRID)
	ProfileMpeg4Main                         = Profile(C.FF_PROFILE_MPEG4_MAIN)
	ProfileMpeg4NBit                         = Profile(C.FF_PROFILE_MPEG4_N_BIT)
	ProfileMpeg4ScalableTexture              = Profile(C.FF_PROFILE_MPEG4_SCALABLE_TEXTURE)
	ProfileMpeg4Simple                       = Profile(C.FF_PROFILE_MPEG4_SIMPLE)
	ProfileMpeg4SimpleFaceAnimation          = Profile(C.FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION)
	ProfileMpeg4SimpleScalable               = Profile(C.FF_PROFILE_MPEG4_SIMPLE_SCALABLE)
	ProfileMpeg4SimpleStudio                 = Profile(C.FF_PROFILE_MPEG4_SIMPLE_STUDIO)
	ProfileReserved                          = Profile(C.FF_PROFILE_RESERVED)
	ProfileSbcMsbc                           = Profile(C.FF_PROFILE_SBC_MSBC)
	ProfileUnknown                           = Profile(C.FF_PROFILE_UNKNOWN)
	ProfileVc1Advanced                       = Profile(C.FF_PROFILE_VC1_ADVANCED)
	ProfileVc1Complex                        = Profile(C.FF_PROFILE_VC1_COMPLEX)
	ProfileVc1Main                           = Profile(C.FF_PROFILE_VC1_MAIN)
	ProfileVc1Simple                         = Profile(C.FF_PROFILE_VC1_SIMPLE)
	ProfileVp90                              = Profile(C.FF_PROFILE_VP9_0)
	ProfileVp91                              = Profile(C.FF_PROFILE_VP9_1)
	ProfileVp92                              = Profile(C.FF_PROFILE_VP9_2)
	ProfileVp93                              = Profile(C.FF_PROFILE_VP9_3)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1526

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L2277

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale.h#L59

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1281

View Source
const (
	ThreadTypeFrame     = ThreadType(C.FF_THREAD_FRAME)
	ThreadTypeSlice     = ThreadType(C.FF_THREAD_SLICE)
	ThreadTypeUndefined = ThreadType(0)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1451

View Source
const (
	NoPtsValue = int64(C.AV_NOPTS_VALUE)
	TimeBase   = int(C.AV_TIME_BASE)
)
View Source
const (
	FormatEventFlagMetadataUpdated = FormatEventFlag(C.AVFMT_EVENT_FLAG_METADATA_UPDATED)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1519

View Source
const (
	LevelUnknown = Level(C.FF_LEVEL_UNKNOWN)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1652

View Source
const NumDataPointers = uint(C.AV_NUM_DATA_POINTERS)
View Source
const (
	StreamEventFlagMetadataUpdated = StreamEventFlag(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
)

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1070

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://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/channel_layout.h#L90

View Source
var (
	TimeBaseQ = newRationalFromC(C.AV_TIME_BASE_Q)
)

Functions

func Log

func Log(c Classer, l LogLevel, fmt string, args ...string)

func RL32

func RL32(i []byte) uint32

func RL32WithOffset

func RL32WithOffset(i []byte, offset uint) uint32

func RegisterAllDevices added in v0.11.0

func RegisterAllDevices()

func RelativeTime added in v0.13.0

func RelativeTime() int64

func RescaleQ

func RescaleQ(a int64, b Rational, c Rational) int64

func RescaleQRnd

func RescaleQRnd(a int64, b Rational, c Rational, r Rounding) int64

func ResetLogCallback

func ResetLogCallback()

func SetLogCallback

func SetLogCallback(c LogCallback)

func SetLogLevel

func SetLogLevel(l LogLevel)

Types

type AudioFifo added in v0.19.0

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

https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavutil/audio_fifo.c#L37

func AllocAudioFifo added in v0.19.0

func AllocAudioFifo(sampleFmt SampleFormat, channels int, nbSamples int) *AudioFifo

func (*AudioFifo) Free added in v0.19.0

func (a *AudioFifo) Free()

func (*AudioFifo) Read added in v0.19.0

func (a *AudioFifo) Read(f *Frame) (int, error)

func (*AudioFifo) Realloc added in v0.19.0

func (a *AudioFifo) Realloc(nbSamples int) error

func (*AudioFifo) Size added in v0.19.0

func (a *AudioFifo) Size() int

func (*AudioFifo) Space added in v0.19.0

func (a *AudioFifo) Space() int

func (*AudioFifo) Write added in v0.19.0

func (a *AudioFifo) Write(f *Frame) (int, error)

type BitStreamFilter added in v0.15.0

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

https://github.com/FFmpeg/FFmpeg/blob/release/5.1/libavcodec/bsf.h#L111

func FindBitStreamFilterByName added in v0.15.0

func FindBitStreamFilterByName(n string) *BitStreamFilter

func (*BitStreamFilter) Name added in v0.15.0

func (bsf *BitStreamFilter) Name() string

func (*BitStreamFilter) String added in v0.15.0

func (bsf *BitStreamFilter) String() string

type BitStreamFilterContext added in v0.15.0

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

https://github.com/FFmpeg/FFmpeg/blob/release/5.1/libavcodec/bsf.h#L68

func AllocBitStreamFilterContext added in v0.15.0

func AllocBitStreamFilterContext(f *BitStreamFilter) (*BitStreamFilterContext, error)

func (*BitStreamFilterContext) Class added in v0.15.0

func (bsfc *BitStreamFilterContext) Class() *Class

func (*BitStreamFilterContext) Free added in v0.15.0

func (bsfc *BitStreamFilterContext) Free()

func (*BitStreamFilterContext) Initialize added in v0.15.0

func (bsfc *BitStreamFilterContext) Initialize() error

func (*BitStreamFilterContext) InputCodecParameters added in v0.16.0

func (bsfc *BitStreamFilterContext) InputCodecParameters() *CodecParameters

func (*BitStreamFilterContext) InputTimeBase added in v0.16.0

func (bsfc *BitStreamFilterContext) InputTimeBase() Rational

func (*BitStreamFilterContext) ReceivePacket added in v0.15.0

func (bsfc *BitStreamFilterContext) ReceivePacket(p *Packet) error

func (*BitStreamFilterContext) SendPacket added in v0.15.0

func (bsfc *BitStreamFilterContext) SendPacket(p *Packet) error

func (*BitStreamFilterContext) SetInputTimeBase added in v0.16.0

func (bsfc *BitStreamFilterContext) SetInputTimeBase(r Rational)

type BuffersinkFlag

type BuffersinkFlag int64

type BuffersinkFlags

type BuffersinkFlags astikit.BitFlags

func NewBuffersinkFlags

func NewBuffersinkFlags(fs ...BuffersinkFlag) BuffersinkFlags

func (BuffersinkFlags) Add

func (BuffersinkFlags) Del

func (BuffersinkFlags) Has

type BuffersrcFlag

type BuffersrcFlag int64

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
}

func (ChannelLayout) Channels added in v0.17.0

func (l ChannelLayout) Channels() int

func (ChannelLayout) Compare added in v0.8.0

func (l ChannelLayout) Compare(l2 ChannelLayout) (equal bool, err error)

func (ChannelLayout) Describe added in v0.8.0

func (l ChannelLayout) Describe(b []byte) (int, error)

func (ChannelLayout) Equal added in v0.8.0

func (l ChannelLayout) Equal(l2 ChannelLayout) bool

func (ChannelLayout) String

func (l ChannelLayout) String() string

func (ChannelLayout) Valid added in v0.8.0

func (l ChannelLayout) Valid() bool

type Class added in v0.13.0

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/log.h#L66

func (*Class) Category added in v0.13.0

func (c *Class) Category() ClassCategory

func (*Class) ItemName added in v0.13.0

func (c *Class) ItemName() string

func (*Class) Name added in v0.13.0

func (c *Class) Name() string

func (*Class) Parent added in v0.13.0

func (c *Class) Parent() *Class

func (*Class) String added in v0.13.0

func (c *Class) String() string

type Classer added in v0.13.0

type Classer interface {
	Class() *Class
}

type ClonedClasser added in v0.21.0

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

func (*ClonedClasser) Class added in v0.21.0

func (c *ClonedClasser) Class() *Class

type Codec

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L202

func Codecs added in v0.13.0

func Codecs() (cs []*Codec)

func FindDecoder

func FindDecoder(id CodecID) *Codec

func FindDecoderByName

func FindDecoderByName(n string) *Codec

func FindEncoder

func FindEncoder(id CodecID) *Codec

func FindEncoderByName

func FindEncoderByName(n string) *Codec

func (*Codec) ChannelLayouts

func (c *Codec) ChannelLayouts() (o []ChannelLayout)

func (*Codec) HardwareConfigs added in v0.13.0

func (c *Codec) HardwareConfigs() (configs []CodecHardwareConfig)

func (*Codec) ID added in v0.13.0

func (c *Codec) ID() CodecID

func (*Codec) IsDecoder

func (c *Codec) IsDecoder() bool

func (*Codec) IsEncoder

func (c *Codec) IsEncoder() bool

func (*Codec) Name

func (c *Codec) Name() string

func (*Codec) PixelFormats

func (c *Codec) PixelFormats() (o []PixelFormat)

func (*Codec) SampleFormats

func (c *Codec) SampleFormats() (o []SampleFormat)

func (*Codec) String

func (c *Codec) String() string

type CodecContext

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L383

func AllocCodecContext

func AllocCodecContext(c *Codec) *CodecContext

func (*CodecContext) BitRate

func (cc *CodecContext) BitRate() int64

func (*CodecContext) ChannelLayout

func (cc *CodecContext) ChannelLayout() ChannelLayout

func (*CodecContext) ChromaLocation

func (cc *CodecContext) ChromaLocation() ChromaLocation

func (*CodecContext) Class added in v0.13.0

func (cc *CodecContext) Class() *Class

func (*CodecContext) CodecID

func (cc *CodecContext) CodecID() CodecID

func (*CodecContext) ColorPrimaries

func (cc *CodecContext) ColorPrimaries() ColorPrimaries

func (*CodecContext) ColorRange

func (cc *CodecContext) ColorRange() ColorRange

func (*CodecContext) ColorSpace

func (cc *CodecContext) ColorSpace() ColorSpace

func (*CodecContext) ColorTransferCharacteristic

func (cc *CodecContext) ColorTransferCharacteristic() ColorTransferCharacteristic

func (*CodecContext) ExtraData added in v0.14.0

func (cc *CodecContext) ExtraData() []byte

func (*CodecContext) ExtraHardwareFrames added in v0.14.0

func (cc *CodecContext) ExtraHardwareFrames() int

func (*CodecContext) Flags

func (cc *CodecContext) Flags() CodecContextFlags

func (*CodecContext) Flags2

func (cc *CodecContext) Flags2() CodecContextFlags2

func (*CodecContext) FrameSize

func (cc *CodecContext) FrameSize() int

func (*CodecContext) Framerate

func (cc *CodecContext) Framerate() Rational

func (*CodecContext) Free

func (cc *CodecContext) Free()

func (*CodecContext) FromCodecParameters added in v0.14.0

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

func (*CodecContext) GopSize

func (cc *CodecContext) GopSize() int

func (*CodecContext) Height

func (cc *CodecContext) Height() int

func (*CodecContext) Level

func (cc *CodecContext) Level() Level

func (*CodecContext) MediaType

func (cc *CodecContext) MediaType() MediaType

func (*CodecContext) Open

func (cc *CodecContext) Open(c *Codec, d *Dictionary) error

func (*CodecContext) PixelFormat

func (cc *CodecContext) PixelFormat() PixelFormat

func (*CodecContext) Profile

func (cc *CodecContext) Profile() Profile

func (*CodecContext) Qmin added in v0.8.0

func (cc *CodecContext) Qmin() int

func (*CodecContext) ReceiveFrame

func (cc *CodecContext) ReceiveFrame(f *Frame) error

func (*CodecContext) ReceivePacket

func (cc *CodecContext) ReceivePacket(p *Packet) error

func (*CodecContext) SampleAspectRatio

func (cc *CodecContext) SampleAspectRatio() Rational

func (*CodecContext) SampleFormat

func (cc *CodecContext) SampleFormat() SampleFormat

func (*CodecContext) SampleRate

func (cc *CodecContext) SampleRate() int

func (*CodecContext) SendFrame

func (cc *CodecContext) SendFrame(f *Frame) error

func (*CodecContext) SendPacket

func (cc *CodecContext) SendPacket(p *Packet) error

func (*CodecContext) SetBitRate

func (cc *CodecContext) SetBitRate(bitRate int64)

func (*CodecContext) SetChannelLayout

func (cc *CodecContext) SetChannelLayout(l ChannelLayout)

func (*CodecContext) SetExtraData added in v0.14.0

func (cc *CodecContext) SetExtraData(b []byte) error

func (*CodecContext) SetExtraHardwareFrames added in v0.14.0

func (cc *CodecContext) SetExtraHardwareFrames(n int)

func (*CodecContext) SetFlags

func (cc *CodecContext) SetFlags(fs CodecContextFlags)

func (*CodecContext) SetFlags2

func (cc *CodecContext) SetFlags2(fs CodecContextFlags2)

func (*CodecContext) SetFramerate

func (cc *CodecContext) SetFramerate(f Rational)

func (*CodecContext) SetGopSize

func (cc *CodecContext) SetGopSize(gopSize int)

func (*CodecContext) SetHardwareDeviceContext added in v0.13.0

func (cc *CodecContext) SetHardwareDeviceContext(hdc *HardwareDeviceContext)

func (*CodecContext) SetHeight

func (cc *CodecContext) SetHeight(height int)

func (*CodecContext) SetLevel added in v0.14.0

func (cc *CodecContext) SetLevel(l Level)

func (*CodecContext) SetPixelFormat

func (cc *CodecContext) SetPixelFormat(pixFmt PixelFormat)

func (*CodecContext) SetPixelFormatCallback added in v0.13.0

func (cc *CodecContext) SetPixelFormatCallback(c CodecContextPixelFormatCallback)

func (*CodecContext) SetProfile added in v0.14.0

func (cc *CodecContext) SetProfile(p Profile)

func (*CodecContext) SetQmin added in v0.8.0

func (cc *CodecContext) SetQmin(qmin int)

func (*CodecContext) SetSampleAspectRatio

func (cc *CodecContext) SetSampleAspectRatio(r Rational)

func (*CodecContext) SetSampleFormat

func (cc *CodecContext) SetSampleFormat(f SampleFormat)

func (*CodecContext) SetSampleRate

func (cc *CodecContext) SetSampleRate(sampleRate int)

func (*CodecContext) SetStrictStdCompliance

func (cc *CodecContext) SetStrictStdCompliance(c StrictStdCompliance)

func (*CodecContext) SetThreadCount

func (cc *CodecContext) SetThreadCount(threadCount int)

func (*CodecContext) SetThreadType

func (cc *CodecContext) SetThreadType(t ThreadType)

func (*CodecContext) SetTimeBase

func (cc *CodecContext) SetTimeBase(r Rational)

func (*CodecContext) SetWidth

func (cc *CodecContext) SetWidth(width int)

func (*CodecContext) StrictStdCompliance

func (cc *CodecContext) StrictStdCompliance() StrictStdCompliance

func (*CodecContext) String

func (cc *CodecContext) String() string

func (*CodecContext) ThreadCount

func (cc *CodecContext) ThreadCount() int

func (*CodecContext) ThreadType

func (cc *CodecContext) ThreadType() ThreadType

func (*CodecContext) TimeBase

func (cc *CodecContext) TimeBase() Rational

func (*CodecContext) ToCodecParameters added in v0.14.0

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

func (*CodecContext) Width

func (cc *CodecContext) Width() int

type CodecContextFlag

type CodecContextFlag int64

type CodecContextFlag2

type CodecContextFlag2 int64

type CodecContextFlags

type CodecContextFlags astikit.BitFlags

func NewCodecContextFlags

func NewCodecContextFlags(fs ...CodecContextFlag) CodecContextFlags

func (CodecContextFlags) Add

func (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 added in v0.13.0

type CodecContextPixelFormatCallback func(pfs []PixelFormat) PixelFormat

type CodecHardwareConfig added in v0.13.0

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L460

func (CodecHardwareConfig) HardwareDeviceType added in v0.13.0

func (chc CodecHardwareConfig) HardwareDeviceType() HardwareDeviceType

func (CodecHardwareConfig) MethodFlags added in v0.13.0

func (CodecHardwareConfig) PixelFormat added in v0.13.0

func (chc CodecHardwareConfig) PixelFormat() PixelFormat

type CodecHardwareConfigMethodFlags added in v0.13.0

type CodecHardwareConfigMethodFlags astikit.BitFlags

func NewCodecHardwareConfigMethodFlags added in v0.13.0

func NewCodecHardwareConfigMethodFlags(fs ...CodecHardwareConfigMethodFlag) CodecHardwareConfigMethodFlags

func (CodecHardwareConfigMethodFlags) Add added in v0.13.0

func (CodecHardwareConfigMethodFlags) Del added in v0.13.0

func (CodecHardwareConfigMethodFlags) Has added in v0.13.0

type CodecID

type CodecID C.enum_AVCodecID

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec_id.h#L47

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://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec_par.h#L52

func AllocCodecParameters

func AllocCodecParameters() *CodecParameters

func (*CodecParameters) BitRate

func (cp *CodecParameters) BitRate() int64

func (*CodecParameters) ChannelLayout

func (cp *CodecParameters) ChannelLayout() ChannelLayout

func (*CodecParameters) ChromaLocation

func (cp *CodecParameters) ChromaLocation() ChromaLocation

func (*CodecParameters) CodecID

func (cp *CodecParameters) CodecID() CodecID

func (*CodecParameters) CodecTag

func (cp *CodecParameters) CodecTag() CodecTag

func (*CodecParameters) CodecType added in v0.4.0

func (cp *CodecParameters) CodecType() MediaType

func (*CodecParameters) ColorPrimaries

func (cp *CodecParameters) ColorPrimaries() ColorPrimaries

func (*CodecParameters) ColorRange

func (cp *CodecParameters) ColorRange() ColorRange

func (*CodecParameters) ColorSpace

func (cp *CodecParameters) ColorSpace() ColorSpace

func (*CodecParameters) ColorTransferCharacteristic

func (cp *CodecParameters) ColorTransferCharacteristic() ColorTransferCharacteristic

func (*CodecParameters) Copy

func (cp *CodecParameters) Copy(dst *CodecParameters) error

func (*CodecParameters) ExtraData added in v0.14.0

func (cp *CodecParameters) ExtraData() []byte

func (*CodecParameters) FrameSize

func (cp *CodecParameters) FrameSize() int

func (*CodecParameters) Free

func (cp *CodecParameters) Free()

func (*CodecParameters) FromCodecContext

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

func (*CodecParameters) Height

func (cp *CodecParameters) Height() int

func (*CodecParameters) Level

func (cp *CodecParameters) Level() Level

func (*CodecParameters) MediaType

func (cp *CodecParameters) MediaType() MediaType

func (*CodecParameters) PixelFormat

func (cp *CodecParameters) PixelFormat() PixelFormat

func (*CodecParameters) Profile

func (cp *CodecParameters) Profile() Profile

func (*CodecParameters) SampleAspectRatio

func (cp *CodecParameters) SampleAspectRatio() Rational

func (*CodecParameters) SampleFormat

func (cp *CodecParameters) SampleFormat() SampleFormat

func (*CodecParameters) SampleRate

func (cp *CodecParameters) SampleRate() int

func (*CodecParameters) SetChannelLayout added in v0.5.0

func (cp *CodecParameters) SetChannelLayout(l ChannelLayout)

func (*CodecParameters) SetCodecID added in v0.4.0

func (cp *CodecParameters) SetCodecID(i CodecID)

func (*CodecParameters) SetCodecTag

func (cp *CodecParameters) SetCodecTag(t CodecTag)

func (*CodecParameters) SetCodecType added in v0.4.0

func (cp *CodecParameters) SetCodecType(t MediaType)

func (*CodecParameters) SetColorRange added in v0.14.0

func (cp *CodecParameters) SetColorRange(r ColorRange)

func (*CodecParameters) SetColorSpace added in v0.20.0

func (cp *CodecParameters) SetColorSpace(s ColorSpace)

func (*CodecParameters) SetExtraData added in v0.14.0

func (cp *CodecParameters) SetExtraData(b []byte) error

func (*CodecParameters) SetFrameSize added in v0.14.0

func (cp *CodecParameters) SetFrameSize(i int)

func (*CodecParameters) SetHeight added in v0.4.0

func (cp *CodecParameters) SetHeight(h int)

func (*CodecParameters) SetLevel added in v0.14.0

func (cp *CodecParameters) SetLevel(l Level)

func (*CodecParameters) SetMediaType added in v0.14.0

func (cp *CodecParameters) SetMediaType(t MediaType)

func (*CodecParameters) SetPixelFormat added in v0.4.0

func (cp *CodecParameters) SetPixelFormat(f PixelFormat)

func (*CodecParameters) SetProfile added in v0.14.0

func (cp *CodecParameters) SetProfile(p Profile)

func (*CodecParameters) SetSampleAspectRatio added in v0.4.0

func (cp *CodecParameters) SetSampleAspectRatio(r Rational)

func (*CodecParameters) SetSampleFormat added in v0.5.0

func (cp *CodecParameters) SetSampleFormat(f SampleFormat)

func (*CodecParameters) SetSampleRate added in v0.5.0

func (cp *CodecParameters) SetSampleRate(r int)

func (*CodecParameters) SetWidth added in v0.4.0

func (cp *CodecParameters) SetWidth(w int)

func (*CodecParameters) SideData added in v0.17.0

func (cp *CodecParameters) SideData() *PacketSideData

func (*CodecParameters) ToCodecContext

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

func (*CodecParameters) Width

func (cp *CodecParameters) Width() int

type CodecTag

type CodecTag uint32

type ColorRange

type ColorRange C.enum_AVColorRange

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L562

func (ColorRange) String added in v0.20.0

func (r ColorRange) String() string

type ColorSpace

type ColorSpace C.enum_AVColorSpace

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L523

func (ColorSpace) String added in v0.20.0

func (s ColorSpace) String() string

type Dictionary

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L84

func NewDictionary

func NewDictionary() *Dictionary

func (*Dictionary) Free

func (d *Dictionary) Free()

func (*Dictionary) Get

func (*Dictionary) Pack

func (d *Dictionary) Pack() []byte

func (*Dictionary) ParseString

func (d *Dictionary) ParseString(i, keyValSep, pairsSep string, flags DictionaryFlags) error

func (*Dictionary) Set

func (d *Dictionary) Set(key, value string, flags DictionaryFlags) error

func (*Dictionary) Unpack

func (d *Dictionary) Unpack(b []byte) error

type DictionaryEntry

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L79

func (DictionaryEntry) Key

func (e DictionaryEntry) Key() string

func (DictionaryEntry) Value

func (e DictionaryEntry) Value() string

type DictionaryFlag

type DictionaryFlag int64

type DictionaryFlags

type DictionaryFlags astikit.BitFlags

func NewDictionaryFlags

func NewDictionaryFlags(fs ...DictionaryFlag) DictionaryFlags

func (DictionaryFlags) Add

func (DictionaryFlags) Del

func (DictionaryFlags) Has

type DisplayMatrix added in v0.3.0

type DisplayMatrix [9]uint32

func NewDisplayMatrixFromBytes added in v0.3.0

func NewDisplayMatrixFromBytes(b []byte) (m *DisplayMatrix, err error)

func NewDisplayMatrixFromRotation added in v0.14.0

func NewDisplayMatrixFromRotation(angle float64) *DisplayMatrix

func (DisplayMatrix) Bytes added in v0.14.0

func (m DisplayMatrix) Bytes() []byte

func (DisplayMatrix) Rotation added in v0.3.0

func (m DisplayMatrix) Rotation() float64

Rotation is a clockwise angle

type Error

type Error int

func (Error) Error

func (e Error) Error() string

func (Error) Is

func (e Error) Is(err error) bool

type Filter

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L165

func FindFilterByName

func FindFilterByName(n string) *Filter

func (*Filter) Inputs added in v0.20.0

func (f *Filter) Inputs() (ps []*FilterPad)

func (*Filter) Name

func (f *Filter) Name() string

func (*Filter) NbInputs added in v0.20.0

func (f *Filter) NbInputs() int

func (*Filter) NbOutputs added in v0.20.0

func (f *Filter) NbOutputs() int

func (*Filter) Outputs added in v0.20.0

func (f *Filter) Outputs() (ps []*FilterPad)

func (*Filter) String

func (f *Filter) String() string

type FilterArgs

type FilterArgs map[string]string

func (FilterArgs) String

func (args FilterArgs) String() string

type FilterChain added in v0.20.0

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

https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1142

func (*FilterChain) Filters added in v0.20.0

func (fc *FilterChain) Filters() (fs []*FilterParams)

func (*FilterChain) NbFilters added in v0.20.0

func (fc *FilterChain) NbFilters() int

type FilterCommandFlag

type FilterCommandFlag int64

type FilterCommandFlags

type FilterCommandFlags astikit.BitFlags

func NewFilterCommandFlags

func NewFilterCommandFlags(fs ...FilterCommandFlag) FilterCommandFlags

func (FilterCommandFlags) Add

func (FilterCommandFlags) Del

func (FilterCommandFlags) Has

type FilterContext

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L67

func (*FilterContext) BuffersinkGetFrame

func (fc *FilterContext) BuffersinkGetFrame(f *Frame, fs BuffersinkFlags) error

func (*FilterContext) BuffersrcAddFrame

func (fc *FilterContext) BuffersrcAddFrame(f *Frame, fs BuffersrcFlags) error

func (*FilterContext) Class added in v0.13.0

func (fc *FilterContext) Class() *Class

func (*FilterContext) Free

func (fc *FilterContext) Free()

func (*FilterContext) Inputs

func (fc *FilterContext) Inputs() (ls []*FilterLink)

func (*FilterContext) NbInputs

func (fc *FilterContext) NbInputs() int

func (*FilterContext) NbOutputs

func (fc *FilterContext) NbOutputs() int

func (*FilterContext) Outputs

func (fc *FilterContext) Outputs() (ls []*FilterLink)

type FilterGraph

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L861

func AllocFilterGraph

func AllocFilterGraph() *FilterGraph

func (*FilterGraph) Class added in v0.13.0

func (g *FilterGraph) Class() *Class

func (*FilterGraph) Configure

func (g *FilterGraph) Configure() error

func (*FilterGraph) Free

func (g *FilterGraph) Free()

func (*FilterGraph) NewFilterContext

func (g *FilterGraph) NewFilterContext(f *Filter, name string, args FilterArgs) (*FilterContext, error)

func (*FilterGraph) Parse

func (g *FilterGraph) Parse(content string, inputs, outputs *FilterInOut) error

func (*FilterGraph) ParseSegment added in v0.20.0

func (g *FilterGraph) ParseSegment(content string) (*FilterGraphSegment, error)

func (*FilterGraph) SendCommand

func (g *FilterGraph) SendCommand(target, cmd, args string, f FilterCommandFlags) (response string, err error)

func (*FilterGraph) SetThreadCount added in v0.16.0

func (g *FilterGraph) SetThreadCount(threadCount int)

func (*FilterGraph) SetThreadType added in v0.16.0

func (g *FilterGraph) SetThreadType(t ThreadType)

func (*FilterGraph) String

func (g *FilterGraph) String() string

func (*FilterGraph) ThreadCount added in v0.16.0

func (g *FilterGraph) ThreadCount() int

func (*FilterGraph) ThreadType added in v0.16.0

func (g *FilterGraph) ThreadType() ThreadType

type FilterGraphSegment added in v0.20.0

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

https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1156

func (*FilterGraphSegment) Chains added in v0.20.0

func (fgs *FilterGraphSegment) Chains() (cs []*FilterChain)

func (*FilterGraphSegment) Free added in v0.20.0

func (fgs *FilterGraphSegment) Free()

func (*FilterGraphSegment) NbChains added in v0.20.0

func (fgs *FilterGraphSegment) NbChains() int

type FilterInOut

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L1021

func AllocFilterInOut

func AllocFilterInOut() *FilterInOut

func (*FilterInOut) Free

func (i *FilterInOut) Free()

func (*FilterInOut) SetFilterContext

func (i *FilterInOut) SetFilterContext(c *FilterContext)

func (*FilterInOut) SetName

func (i *FilterInOut) SetName(n string)

func (*FilterInOut) SetNext

func (i *FilterInOut) SetNext(n *FilterInOut)

func (*FilterInOut) SetPadIdx

func (i *FilterInOut) SetPadIdx(idx int)
type FilterLink struct {
	// contains filtered or unexported fields
}

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L471

func (*FilterLink) ChannelLayout added in v0.20.0

func (l *FilterLink) ChannelLayout() ChannelLayout

func (*FilterLink) ColorRange added in v0.20.0

func (l *FilterLink) ColorRange() ColorRange

func (*FilterLink) ColorSpace added in v0.20.0

func (l *FilterLink) ColorSpace() ColorSpace

func (*FilterLink) FrameRate added in v0.20.0

func (l *FilterLink) FrameRate() Rational

func (*FilterLink) Height added in v0.20.0

func (l *FilterLink) Height() int

func (*FilterLink) MediaType added in v0.20.0

func (l *FilterLink) MediaType() MediaType

func (*FilterLink) PixelFormat added in v0.20.0

func (l *FilterLink) PixelFormat() PixelFormat

func (*FilterLink) SampleAspectRatio added in v0.20.0

func (l *FilterLink) SampleAspectRatio() Rational

func (*FilterLink) SampleFormat added in v0.20.0

func (l *FilterLink) SampleFormat() SampleFormat

func (*FilterLink) SampleRate added in v0.20.0

func (l *FilterLink) SampleRate() int

func (*FilterLink) TimeBase

func (l *FilterLink) TimeBase() Rational

func (*FilterLink) Width added in v0.20.0

func (l *FilterLink) Width() int

type FilterPad added in v0.20.0

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

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

func (*FilterPad) MediaType added in v0.20.0

func (fp *FilterPad) MediaType() MediaType

type FilterParams added in v0.20.0

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

https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1075

func (*FilterParams) FilterName added in v0.20.0

func (fp *FilterParams) FilterName() string

type FormatContext

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1202

func AllocFormatContext

func AllocFormatContext() *FormatContext

func AllocOutputFormatContext

func AllocOutputFormatContext(of *OutputFormat, formatName, filename string) (*FormatContext, error)

func (*FormatContext) BitRate

func (fc *FormatContext) BitRate() int64

func (*FormatContext) Class added in v0.13.0

func (fc *FormatContext) Class() *Class

func (*FormatContext) CloseInput

func (fc *FormatContext) CloseInput()

func (*FormatContext) CtxFlags

func (fc *FormatContext) CtxFlags() FormatContextCtxFlags

func (*FormatContext) Duration

func (fc *FormatContext) Duration() int64

func (*FormatContext) EventFlags

func (fc *FormatContext) EventFlags() FormatEventFlags

func (*FormatContext) FindStreamInfo

func (fc *FormatContext) FindStreamInfo(d *Dictionary) error

func (*FormatContext) Flags

func (fc *FormatContext) Flags() FormatContextFlags

func (*FormatContext) Flush

func (fc *FormatContext) Flush() error

func (*FormatContext) Free

func (fc *FormatContext) Free()

func (*FormatContext) GuessFrameRate

func (fc *FormatContext) GuessFrameRate(s *Stream, f *Frame) Rational

func (*FormatContext) GuessSampleAspectRatio

func (fc *FormatContext) GuessSampleAspectRatio(s *Stream, f *Frame) Rational

func (*FormatContext) IOFlags

func (fc *FormatContext) IOFlags() IOContextFlags

func (*FormatContext) InputFormat

func (fc *FormatContext) InputFormat() *InputFormat

func (*FormatContext) MaxAnalyzeDuration

func (fc *FormatContext) MaxAnalyzeDuration() int64

func (*FormatContext) Metadata

func (fc *FormatContext) Metadata() *Dictionary

func (*FormatContext) NbPrograms added in v0.19.0

func (fc *FormatContext) NbPrograms() int

func (*FormatContext) NbStreams

func (fc *FormatContext) NbStreams() int

func (*FormatContext) NewProgram added in v0.19.0

func (fc *FormatContext) NewProgram(id int) *Program

func (*FormatContext) NewStream

func (fc *FormatContext) NewStream(c *Codec) *Stream

func (*FormatContext) OpenInput

func (fc *FormatContext) OpenInput(url string, fmt *InputFormat, d *Dictionary) error

func (*FormatContext) OutputFormat

func (fc *FormatContext) OutputFormat() *OutputFormat

func (*FormatContext) Pb

func (fc *FormatContext) Pb() *IOContext

func (*FormatContext) Programs added in v0.19.0

func (fc *FormatContext) Programs() (ps []*Program)

func (*FormatContext) ReadFrame

func (fc *FormatContext) ReadFrame(p *Packet) error

func (*FormatContext) SDPCreate

func (fc *FormatContext) SDPCreate() (string, error)

func (*FormatContext) SeekFrame

func (fc *FormatContext) SeekFrame(streamIndex int, timestamp int64, f SeekFlags) error

func (*FormatContext) SetFlags added in v0.14.0

func (fc *FormatContext) SetFlags(f FormatContextFlags)

func (*FormatContext) SetInterruptCallback

func (fc *FormatContext) SetInterruptCallback() IOInterrupter

func (*FormatContext) SetMetadata added in v0.18.0

func (fc *FormatContext) SetMetadata(d *Dictionary)

func (*FormatContext) SetPb

func (fc *FormatContext) SetPb(i *IOContext)

func (*FormatContext) SetStrictStdCompliance

func (fc *FormatContext) SetStrictStdCompliance(strictStdCompliance StrictStdCompliance)

func (*FormatContext) StartTime

func (fc *FormatContext) StartTime() int64

func (*FormatContext) Streams

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

func (*FormatContext) StrictStdCompliance

func (fc *FormatContext) StrictStdCompliance() StrictStdCompliance

func (*FormatContext) WriteFrame

func (fc *FormatContext) WriteFrame(p *Packet) error

func (*FormatContext) WriteHeader

func (fc *FormatContext) WriteHeader(d *Dictionary) error

func (*FormatContext) WriteInterleavedFrame

func (fc *FormatContext) WriteInterleavedFrame(p *Packet) error

func (*FormatContext) WriteTrailer

func (fc *FormatContext) WriteTrailer() error

type FormatContextCtxFlag

type FormatContextCtxFlag int64

type FormatContextCtxFlags

type FormatContextCtxFlags astikit.BitFlags

func NewFormatContextCtxFlags

func NewFormatContextCtxFlags(fs ...FormatContextCtxFlag) FormatContextCtxFlags

func (FormatContextCtxFlags) Add

func (FormatContextCtxFlags) Del

func (FormatContextCtxFlags) Has

type FormatContextFlag

type FormatContextFlag int64

type FormatContextFlags

type FormatContextFlags astikit.BitFlags

func NewFormatContextFlags

func NewFormatContextFlags(fs ...FormatContextFlag) FormatContextFlags

func (FormatContextFlags) Add

func (FormatContextFlags) Del

func (FormatContextFlags) Has

type FormatEventFlag

type FormatEventFlag int64

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://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/frame.h#L317

func AllocFrame

func AllocFrame() *Frame

func (*Frame) AllocBuffer

func (f *Frame) AllocBuffer(align int) error

func (*Frame) AllocImage added in v0.7.0

func (f *Frame) AllocImage(align int) error

func (*Frame) AllocSamples added in v0.2.0

func (f *Frame) AllocSamples(align int) error

func (*Frame) ChannelLayout

func (f *Frame) ChannelLayout() ChannelLayout

func (*Frame) Clone

func (f *Frame) Clone() *Frame

func (*Frame) ColorRange added in v0.9.0

func (f *Frame) ColorRange() ColorRange

func (*Frame) ColorSpace added in v0.20.0

func (f *Frame) ColorSpace() ColorSpace

func (*Frame) Data

func (f *Frame) Data() *FrameData

func (*Frame) Free

func (f *Frame) Free()

func (*Frame) Height

func (f *Frame) Height() int

func (*Frame) ImageBufferSize added in v0.12.0

func (f *Frame) ImageBufferSize(align int) (int, error)

func (*Frame) ImageCopyToBuffer added in v0.12.0

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

func (*Frame) ImageFillBlack added in v0.9.0

func (f *Frame) ImageFillBlack() error

func (*Frame) KeyFrame

func (f *Frame) KeyFrame() bool

func (*Frame) Linesize

func (f *Frame) Linesize() [NumDataPointers]int

func (*Frame) MoveRef

func (f *Frame) MoveRef(src *Frame)

func (*Frame) NbSamples

func (f *Frame) NbSamples() int

func (*Frame) NewSideData added in v0.6.0

func (f *Frame) NewSideData(t FrameSideDataType, size uint64) *FrameSideData

func (*Frame) PictureType

func (f *Frame) PictureType() PictureType

func (*Frame) PixelFormat

func (f *Frame) PixelFormat() PixelFormat

func (*Frame) PktDts

func (f *Frame) PktDts() int64

func (*Frame) Pts

func (f *Frame) Pts() int64

func (*Frame) Ref

func (f *Frame) Ref(src *Frame) error

func (*Frame) SampleAspectRatio added in v0.10.0

func (f *Frame) SampleAspectRatio() Rational

func (*Frame) SampleFormat

func (f *Frame) SampleFormat() SampleFormat

func (*Frame) SampleRate

func (f *Frame) SampleRate() int

func (*Frame) SetChannelLayout

func (f *Frame) SetChannelLayout(l ChannelLayout)

func (*Frame) SetColorRange added in v0.9.0

func (f *Frame) SetColorRange(r ColorRange)

func (*Frame) SetColorSpace added in v0.20.0

func (f *Frame) SetColorSpace(s ColorSpace)

func (*Frame) SetHeight

func (f *Frame) SetHeight(h int)

func (*Frame) SetKeyFrame

func (f *Frame) SetKeyFrame(k bool)

func (*Frame) SetNbSamples

func (f *Frame) SetNbSamples(n int)

func (*Frame) SetPictureType

func (f *Frame) SetPictureType(t PictureType)

func (*Frame) SetPixelFormat

func (f *Frame) SetPixelFormat(pf PixelFormat)

func (*Frame) SetPts

func (f *Frame) SetPts(i int64)

func (*Frame) SetSampleAspectRatio added in v0.10.0

func (f *Frame) SetSampleAspectRatio(r Rational)

func (*Frame) SetSampleFormat

func (f *Frame) SetSampleFormat(sf SampleFormat)

func (*Frame) SetSampleRate

func (f *Frame) SetSampleRate(r int)

func (*Frame) SetWidth

func (f *Frame) SetWidth(w int)

func (*Frame) SideData added in v0.6.0

func (f *Frame) SideData(t FrameSideDataType) *FrameSideData

func (*Frame) TransferHardwareData added in v0.13.0

func (f *Frame) TransferHardwareData(dst *Frame) error

func (*Frame) Unref

func (f *Frame) Unref()

func (*Frame) UnsafePointer added in v0.14.0

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

func (*Frame) Width

func (f *Frame) Width() int

type FrameData added in v0.12.0

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

func (*FrameData) Bytes added in v0.12.0

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

func (*FrameData) GuessImageFormat added in v0.13.0

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) ToImage added in v0.13.0

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

type FrameSideData added in v0.6.0

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/frame.h#L223

func (*FrameSideData) Data added in v0.6.0

func (d *FrameSideData) Data() []byte

func (*FrameSideData) SetData added in v0.6.0

func (d *FrameSideData) SetData(b []byte)

func (*FrameSideData) Type added in v0.6.0

func (d *FrameSideData) Type() FrameSideDataType

type HardwareDeviceContext added in v0.13.0

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/hwcontext.h#L61

func CreateHardwareDeviceContext added in v0.13.0

func CreateHardwareDeviceContext(t HardwareDeviceType, device string, options *Dictionary) (*HardwareDeviceContext, error)

type HardwareDeviceType added in v0.13.0

type HardwareDeviceType C.enum_AVHWDeviceType

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/hwcontext.h#L27

func FindHardwareDeviceTypeByName added in v0.13.0

func FindHardwareDeviceTypeByName(n string) HardwareDeviceType

func (HardwareDeviceType) String added in v0.13.0

func (t HardwareDeviceType) String() string

type IOContext

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L161

func AllocIOContext added in v0.14.0

func AllocIOContext(bufferSize int, writable bool, readFunc IOContextReadFunc, seekFunc IOContextSeekFunc, writeFunc IOContextWriteFunc) (ic *IOContext, err error)

func OpenIOContext added in v0.13.0

func OpenIOContext(filename string, flags IOContextFlags) (*IOContext, error)

func (*IOContext) Class added in v0.13.0

func (ic *IOContext) Class() *Class

func (*IOContext) Close added in v0.14.0

func (ic *IOContext) Close() error

func (*IOContext) Flush added in v0.14.0

func (ic *IOContext) Flush()

func (*IOContext) Free added in v0.14.0

func (ic *IOContext) Free()

func (*IOContext) Read added in v0.14.0

func (ic *IOContext) Read(b []byte) (n int, err error)

func (*IOContext) Seek added in v0.14.0

func (ic *IOContext) Seek(offset int64, whence int) (int64, error)

func (*IOContext) Write

func (ic *IOContext) Write(b []byte)

type IOContextFlag

type IOContextFlag int64

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 added in v0.14.0

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

type IOContextSeekFunc added in v0.14.0

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

type IOContextWriteFunc added in v0.14.0

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

type IOFormatFlag

type IOFormatFlag int64

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 added in v0.13.0

type IOInterrupter interface {
	Interrupt()
	Resume()
}

type InputFormat

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L650

func FindInputFormat added in v0.11.0

func FindInputFormat(name string) *InputFormat

func (*InputFormat) Flags

func (f *InputFormat) Flags() IOFormatFlags

func (*InputFormat) LongName added in v0.11.0

func (f *InputFormat) LongName() string

LongName Description of the format, meant to be more human-readable than Name.

func (*InputFormat) Name added in v0.11.0

func (f *InputFormat) Name() string

func (*InputFormat) String added in v0.11.0

func (f *InputFormat) String() string

type Level

type Level int

type LogCallback

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

type LogLevel

type LogLevel int

func GetLogLevel added in v0.13.0

func GetLogLevel() LogLevel

type OutputFormat

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L503

func FindOutputFormat added in v0.14.0

func FindOutputFormat(name string) *OutputFormat

func (*OutputFormat) Flags

func (f *OutputFormat) Flags() IOFormatFlags

func (*OutputFormat) LongName added in v0.14.0

func (f *OutputFormat) LongName() string

LongName Description of the format, meant to be more human-readable than Name.

func (*OutputFormat) Name added in v0.14.0

func (f *OutputFormat) Name() string

func (*OutputFormat) String added in v0.14.0

func (f *OutputFormat) String() string

type Packet

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L350

func AllocPacket

func AllocPacket() *Packet

func (*Packet) AllocPayload

func (p *Packet) AllocPayload(s int) error

func (*Packet) Clone

func (p *Packet) Clone() *Packet

func (*Packet) Data

func (p *Packet) Data() []byte

func (*Packet) Dts

func (p *Packet) Dts() int64

func (*Packet) Duration

func (p *Packet) Duration() int64

func (*Packet) Flags

func (p *Packet) Flags() PacketFlags

func (*Packet) Free

func (p *Packet) Free()

func (*Packet) FromData added in v0.4.0

func (p *Packet) FromData(data []byte) (err error)

func (*Packet) MoveRef

func (p *Packet) MoveRef(src *Packet)

func (*Packet) Pos

func (p *Packet) Pos() int64

func (*Packet) Pts

func (p *Packet) Pts() int64

func (*Packet) Ref

func (p *Packet) Ref(src *Packet) error

func (*Packet) RescaleTs

func (p *Packet) RescaleTs(src, dst Rational)

func (*Packet) SetDts

func (p *Packet) SetDts(v int64)

func (*Packet) SetDuration

func (p *Packet) SetDuration(d int64)

func (*Packet) SetFlags

func (p *Packet) SetFlags(f PacketFlags)

func (*Packet) SetPos

func (p *Packet) SetPos(v int64)

func (*Packet) SetPts

func (p *Packet) SetPts(v int64)

func (*Packet) SetSize

func (p *Packet) SetSize(s int)

func (*Packet) SetStreamIndex

func (p *Packet) SetStreamIndex(i int)

func (*Packet) SideData

func (p *Packet) SideData() *PacketSideData

func (*Packet) Size

func (p *Packet) Size() int

func (*Packet) StreamIndex

func (p *Packet) StreamIndex() int

func (*Packet) Unref

func (p *Packet) Unref()

type PacketFlag

type PacketFlag int64

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 PacketSideData added in v0.17.0

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

https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavcodec/packet.h#L342

func (*PacketSideData) Add added in v0.17.0

func (*PacketSideData) Get added in v0.17.0

type PacketSideDataType

type PacketSideDataType C.enum_AVPacketSideDataType

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L40

func (PacketSideDataType) Name added in v0.17.0

func (t PacketSideDataType) Name() string

func (PacketSideDataType) String added in v0.17.0

func (t PacketSideDataType) String() string

type PixelFormat

type PixelFormat C.enum_AVPixelFormat

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/pixfmt.h#L64

func FindPixelFormatByName added in v0.2.0

func FindPixelFormatByName(name string) PixelFormat

func (PixelFormat) Name

func (f PixelFormat) Name() string

func (PixelFormat) String

func (f PixelFormat) String() string

type Profile

type Profile int

type Program added in v0.19.0

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

https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavformat/avformat.h#L1181

func (*Program) AddStream added in v0.19.0

func (p *Program) AddStream(s *Stream)

func (*Program) ID added in v0.19.0

func (p *Program) ID() int

func (*Program) NbStreams added in v0.19.0

func (p *Program) NbStreams() int

func (*Program) SetID added in v0.19.0

func (p *Program) SetID(i int)

func (*Program) Streams added in v0.19.0

func (p *Program) Streams() (ss []*Stream)

type Rational

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/rational.h#L58

func NewRational

func NewRational(num, den int) Rational

func (Rational) Den

func (r Rational) Den() int

func (Rational) Float64 added in v0.13.0

func (r Rational) Float64() float64

func (Rational) Invert added in v0.19.0

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 SampleFormat

type SampleFormat C.enum_AVSampleFormat

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/samplefmt.h#L58

func (SampleFormat) Name

func (f SampleFormat) Name() string

func (SampleFormat) String

func (f SampleFormat) String() string

type SeekFlag

type SeekFlag int64

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 SoftwareScaleContext added in v0.13.0

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale_internal.h#L300

func CreateSoftwareScaleContext added in v0.13.0

func CreateSoftwareScaleContext(srcW, srcH int, srcFormat PixelFormat, dstW, dstH int, dstFormat PixelFormat, flags SoftwareScaleContextFlags) (*SoftwareScaleContext, error)

func (*SoftwareScaleContext) Class added in v0.13.0

func (ssc *SoftwareScaleContext) Class() *Class

func (*SoftwareScaleContext) DestinationHeight added in v0.13.0

func (ssc *SoftwareScaleContext) DestinationHeight() int

func (*SoftwareScaleContext) DestinationPixelFormat added in v0.13.0

func (ssc *SoftwareScaleContext) DestinationPixelFormat() PixelFormat

func (*SoftwareScaleContext) DestinationResolution added in v0.13.0

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

func (*SoftwareScaleContext) DestinationWidth added in v0.13.0

func (ssc *SoftwareScaleContext) DestinationWidth() int

func (*SoftwareScaleContext) Flags added in v0.13.0

func (*SoftwareScaleContext) Free added in v0.13.0

func (ssc *SoftwareScaleContext) Free()

func (*SoftwareScaleContext) ScaleFrame added in v0.13.0

func (ssc *SoftwareScaleContext) ScaleFrame(src, dst *Frame) error

func (*SoftwareScaleContext) SetDestinationHeight added in v0.13.0

func (ssc *SoftwareScaleContext) SetDestinationHeight(i int) error

func (*SoftwareScaleContext) SetDestinationPixelFormat added in v0.13.0

func (ssc *SoftwareScaleContext) SetDestinationPixelFormat(p PixelFormat) error

func (*SoftwareScaleContext) SetDestinationResolution added in v0.13.0

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

func (*SoftwareScaleContext) SetDestinationWidth added in v0.13.0

func (ssc *SoftwareScaleContext) SetDestinationWidth(i int) error

func (*SoftwareScaleContext) SetFlags added in v0.13.0

func (*SoftwareScaleContext) SetSourceHeight added in v0.13.0

func (ssc *SoftwareScaleContext) SetSourceHeight(i int) error

func (*SoftwareScaleContext) SetSourcePixelFormat added in v0.13.0

func (ssc *SoftwareScaleContext) SetSourcePixelFormat(p PixelFormat) error

func (*SoftwareScaleContext) SetSourceResolution added in v0.13.0

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

func (*SoftwareScaleContext) SetSourceWidth added in v0.13.0

func (ssc *SoftwareScaleContext) SetSourceWidth(i int) error

func (*SoftwareScaleContext) SourceHeight added in v0.13.0

func (ssc *SoftwareScaleContext) SourceHeight() int

func (*SoftwareScaleContext) SourcePixelFormat added in v0.13.0

func (ssc *SoftwareScaleContext) SourcePixelFormat() PixelFormat

func (*SoftwareScaleContext) SourceResolution added in v0.13.0

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

func (*SoftwareScaleContext) SourceWidth added in v0.13.0

func (ssc *SoftwareScaleContext) SourceWidth() int

type SoftwareScaleContextFlag added in v0.13.0

type SoftwareScaleContextFlag int64

type SoftwareScaleContextFlags added in v0.13.0

type SoftwareScaleContextFlags astikit.BitFlags

func NewSoftwareScaleContextFlags added in v0.13.0

func NewSoftwareScaleContextFlags(fs ...SoftwareScaleContextFlag) SoftwareScaleContextFlags

func (SoftwareScaleContextFlags) Add added in v0.13.0

func (SoftwareScaleContextFlags) Del added in v0.13.0

func (SoftwareScaleContextFlags) Has added in v0.13.0

type Stream

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

https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L937

func (*Stream) AvgFrameRate

func (s *Stream) AvgFrameRate() Rational

func (*Stream) CodecParameters

func (s *Stream) CodecParameters() *CodecParameters

func (*Stream) Duration

func (s *Stream) Duration() int64

func (*Stream) EventFlags

func (s *Stream) EventFlags() StreamEventFlags

func (*Stream) ID

func (s *Stream) ID() int

func (*Stream) Index

func (s *Stream) Index() int

func (*Stream) Metadata

func (s *Stream) Metadata() *Dictionary

func (*Stream) NbFrames

func (s *Stream) NbFrames() int64

func (*Stream) RFrameRate

func (s *Stream) RFrameRate() Rational

func (*Stream) SampleAspectRatio

func (s *Stream) SampleAspectRatio() Rational

func (*Stream) SetAvgFrameRate added in v0.14.0

func (s *Stream) SetAvgFrameRate(r Rational)

func (*Stream) SetID added in v0.14.0

func (s *Stream) SetID(i int)

func (*Stream) SetIndex added in v0.14.0

func (s *Stream) SetIndex(i int)

func (*Stream) SetRFrameRate added in v0.14.0

func (s *Stream) SetRFrameRate(r Rational)

func (*Stream) SetSampleAspectRatio added in v0.14.0

func (s *Stream) SetSampleAspectRatio(r Rational)

func (*Stream) SetTimeBase

func (s *Stream) SetTimeBase(r Rational)

func (*Stream) StartTime

func (s *Stream) StartTime() int64

func (*Stream) TimeBase

func (s *Stream) TimeBase() Rational

type StreamEventFlag

type StreamEventFlag int64

type StreamEventFlags

type StreamEventFlags astikit.BitFlags

func NewStreamEventFlags

func NewStreamEventFlags(fs ...StreamEventFlag) StreamEventFlags

func (StreamEventFlags) Add

func (StreamEventFlags) Del

func (StreamEventFlags) Has

type StrictStdCompliance

type StrictStdCompliance int

type ThreadType

type ThreadType int

type UnknownClasser added in v0.13.0

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

func (*UnknownClasser) Class added in v0.13.0

func (c *UnknownClasser) Class() *Class

Directories

Path Synopsis
examples
internal

Jump to

Keyboard shortcuts

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