avcodec

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 3 Imported by: 18

Documentation

Overview

Package avcodec contains the codecs (decoders and encoders) provided by the libavcodec library Provides some generic global options, which can be set on all the encoders and decoders.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Giorgis (habtom@giorgis.io)

Package avcodec contains the codecs (decoders and encoders) provided by the libavcodec library Provides some generic global options, which can be set on all the encoders and decoders.

Package avcodec contains the codecs (decoders and encoders) provided by the libavcodec library Provides some generic global options, which can be set on all the encoders and decoders.

Index

Constants

View Source
const (
	AV_CODEC_ID_012V              = int(C.AV_CODEC_ID_012V)
	AV_CODEC_ID_4XM               = int(C.AV_CODEC_ID_4XM)
	AV_CODEC_ID_8BPS              = int(C.AV_CODEC_ID_8BPS)
	AV_CODEC_ID_8SVX_EXP          = int(C.AV_CODEC_ID_8SVX_EXP)
	AV_CODEC_ID_8SVX_FIB          = int(C.AV_CODEC_ID_8SVX_FIB)
	AV_CODEC_ID_A64_MULTI         = int(C.AV_CODEC_ID_A64_MULTI)
	AV_CODEC_ID_A64_MULTI5        = int(C.AV_CODEC_ID_A64_MULTI5)
	AV_CODEC_ID_AAC               = int(C.AV_CODEC_ID_AAC)
	AV_CODEC_ID_AAC_LATM          = int(C.AV_CODEC_ID_AAC_LATM)
	AV_CODEC_ID_AASC              = int(C.AV_CODEC_ID_AASC)
	AV_CODEC_ID_AC3               = int(C.AV_CODEC_ID_AC3)
	AV_CODEC_ID_ADPCM_4XM         = int(C.AV_CODEC_ID_ADPCM_4XM)
	AV_CODEC_ID_ADPCM_ADX         = int(C.AV_CODEC_ID_ADPCM_ADX)
	AV_CODEC_ID_ADPCM_AFC         = int(C.AV_CODEC_ID_ADPCM_AFC)
	AV_CODEC_ID_ADPCM_CT          = int(C.AV_CODEC_ID_ADPCM_CT)
	AV_CODEC_ID_ADPCM_DTK         = int(C.AV_CODEC_ID_ADPCM_DTK)
	AV_CODEC_ID_ADPCM_EA          = int(C.AV_CODEC_ID_ADPCM_EA)
	AV_CODEC_ID_ADPCM_EA_MAXIS_XA = int(C.AV_CODEC_ID_ADPCM_EA_MAXIS_XA)
	AV_CODEC_ID_ADPCM_EA_R1       = int(C.AV_CODEC_ID_ADPCM_EA_R1)
	AV_CODEC_ID_ADPCM_EA_R2       = int(C.AV_CODEC_ID_ADPCM_EA_R2)
	AV_CODEC_ID_ADPCM_EA_R3       = int(C.AV_CODEC_ID_ADPCM_EA_R3)
	AV_CODEC_ID_ADPCM_EA_XAS      = int(C.AV_CODEC_ID_ADPCM_EA_XAS)
	AV_CODEC_ID_ADPCM_G722        = int(C.AV_CODEC_ID_ADPCM_G722)
	AV_CODEC_ID_ADPCM_G726        = int(C.AV_CODEC_ID_ADPCM_G726)
	AV_CODEC_ID_ADPCM_G726LE      = int(C.AV_CODEC_ID_ADPCM_G726LE)
	AV_CODEC_ID_ADPCM_IMA_AMV     = int(C.AV_CODEC_ID_ADPCM_IMA_AMV)
	AV_CODEC_ID_ADPCM_IMA_APC     = int(C.AV_CODEC_ID_ADPCM_IMA_APC)
	AV_CODEC_ID_ADPCM_IMA_DK3     = int(C.AV_CODEC_ID_ADPCM_IMA_DK3)
	AV_CODEC_ID_ADPCM_IMA_DK4     = int(C.AV_CODEC_ID_ADPCM_IMA_DK4)
	AV_CODEC_ID_ADPCM_IMA_EA_EACS = int(C.AV_CODEC_ID_ADPCM_IMA_EA_EACS)
	AV_CODEC_ID_ADPCM_IMA_EA_SEAD = int(C.AV_CODEC_ID_ADPCM_IMA_EA_SEAD)
	AV_CODEC_ID_ADPCM_IMA_ISS     = int(C.AV_CODEC_ID_ADPCM_IMA_ISS)
	AV_CODEC_ID_ADPCM_IMA_OKI     = int(C.AV_CODEC_ID_ADPCM_IMA_OKI)
	AV_CODEC_ID_ADPCM_IMA_QT      = int(C.AV_CODEC_ID_ADPCM_IMA_QT)
	AV_CODEC_ID_ADPCM_IMA_RAD     = int(C.AV_CODEC_ID_ADPCM_IMA_RAD)
	AV_CODEC_ID_ADPCM_IMA_SMJPEG  = int(C.AV_CODEC_ID_ADPCM_IMA_SMJPEG)
	AV_CODEC_ID_ADPCM_IMA_WAV     = int(C.AV_CODEC_ID_ADPCM_IMA_WAV)
	AV_CODEC_ID_ADPCM_IMA_WS      = int(C.AV_CODEC_ID_ADPCM_IMA_WS)
	AV_CODEC_ID_ADPCM_MS          = int(C.AV_CODEC_ID_ADPCM_MS)
	AV_CODEC_ID_ADPCM_SBPRO_2     = int(C.AV_CODEC_ID_ADPCM_SBPRO_2)
	AV_CODEC_ID_ADPCM_SBPRO_3     = int(C.AV_CODEC_ID_ADPCM_SBPRO_3)
	AV_CODEC_ID_ADPCM_SBPRO_4     = int(C.AV_CODEC_ID_ADPCM_SBPRO_4)
	AV_CODEC_ID_ADPCM_SWF         = int(C.AV_CODEC_ID_ADPCM_SWF)
	AV_CODEC_ID_ADPCM_THP         = int(C.AV_CODEC_ID_ADPCM_THP)
	AV_CODEC_ID_ADPCM_VIMA        = int(C.AV_CODEC_ID_ADPCM_VIMA)
	AV_CODEC_ID_ADPCM_XA          = int(C.AV_CODEC_ID_ADPCM_XA)
	AV_CODEC_ID_ADPCM_YAMAHA      = int(C.AV_CODEC_ID_ADPCM_YAMAHA)
	AV_CODEC_ID_AIC               = int(C.AV_CODEC_ID_AIC)
	AV_CODEC_ID_ALAC              = int(C.AV_CODEC_ID_ALAC)
	AV_CODEC_ID_ALIAS_PIX         = int(C.AV_CODEC_ID_ALIAS_PIX)
	AV_CODEC_ID_AMR_NB            = int(C.AV_CODEC_ID_AMR_NB)
	AV_CODEC_ID_AMR_WB            = int(C.AV_CODEC_ID_AMR_WB)
	AV_CODEC_ID_AMV               = int(C.AV_CODEC_ID_AMV)
	AV_CODEC_ID_ANM               = int(C.AV_CODEC_ID_ANM)
	AV_CODEC_ID_ANSI              = int(C.AV_CODEC_ID_ANSI)
	AV_CODEC_ID_APE               = int(C.AV_CODEC_ID_APE)
	AV_CODEC_ID_ASS               = int(C.AV_CODEC_ID_ASS)
	AV_CODEC_ID_ASV1              = int(C.AV_CODEC_ID_ASV1)
	AV_CODEC_ID_ASV2              = int(C.AV_CODEC_ID_ASV2)
	AV_CODEC_ID_ATRAC1            = int(C.AV_CODEC_ID_ATRAC1)
	AV_CODEC_ID_ATRAC3            = int(C.AV_CODEC_ID_ATRAC3)
	AV_CODEC_ID_ATRAC3P           = int(C.AV_CODEC_ID_ATRAC3P)
	AV_CODEC_ID_AURA              = int(C.AV_CODEC_ID_AURA)
	AV_CODEC_ID_AURA2             = int(C.AV_CODEC_ID_AURA2)
	AV_CODEC_ID_AVRN              = int(C.AV_CODEC_ID_AVRN)
	AV_CODEC_ID_AVRP              = int(C.AV_CODEC_ID_AVRP)
	AV_CODEC_ID_AVS               = int(C.AV_CODEC_ID_AVS)
	AV_CODEC_ID_AVUI              = int(C.AV_CODEC_ID_AVUI)
	AV_CODEC_ID_AYUV              = int(C.AV_CODEC_ID_AYUV)
	AV_CODEC_ID_BETHSOFTVID       = int(C.AV_CODEC_ID_BETHSOFTVID)
	AV_CODEC_ID_BFI               = int(C.AV_CODEC_ID_BFI)
	AV_CODEC_ID_BINKAUDIO_DCT     = int(C.AV_CODEC_ID_BINKAUDIO_DCT)
	AV_CODEC_ID_BINKAUDIO_RDFT    = int(C.AV_CODEC_ID_BINKAUDIO_RDFT)
	AV_CODEC_ID_BINKVIDEO         = int(C.AV_CODEC_ID_BINKVIDEO)
	AV_CODEC_ID_BINTEXT           = int(C.AV_CODEC_ID_BINTEXT)
	AV_CODEC_ID_BIN_DATA          = int(C.AV_CODEC_ID_BIN_DATA)
	AV_CODEC_ID_BMP               = int(C.AV_CODEC_ID_BMP)
	AV_CODEC_ID_BMV_AUDIO         = int(C.AV_CODEC_ID_BMV_AUDIO)
	AV_CODEC_ID_BMV_VIDEO         = int(C.AV_CODEC_ID_BMV_VIDEO)
	AV_CODEC_ID_BRENDER_PIX       = int(C.AV_CODEC_ID_BRENDER_PIX)
	AV_CODEC_ID_C93               = int(C.AV_CODEC_ID_C93)
	AV_CODEC_ID_CAVS              = int(C.AV_CODEC_ID_CAVS)
	AV_CODEC_ID_CDGRAPHICS        = int(C.AV_CODEC_ID_CDGRAPHICS)
	AV_CODEC_ID_CDXL              = int(C.AV_CODEC_ID_CDXL)
	AV_CODEC_ID_CELT              = int(C.AV_CODEC_ID_CELT)
	AV_CODEC_ID_CINEPAK           = int(C.AV_CODEC_ID_CINEPAK)
	AV_CODEC_ID_CLJR              = int(C.AV_CODEC_ID_CLJR)
	AV_CODEC_ID_CLLC              = int(C.AV_CODEC_ID_CLLC)
	AV_CODEC_ID_CMV               = int(C.AV_CODEC_ID_CMV)
	AV_CODEC_ID_COMFORT_NOISE     = int(C.AV_CODEC_ID_COMFORT_NOISE)
	AV_CODEC_ID_COOK              = int(C.AV_CODEC_ID_COOK)
	AV_CODEC_ID_CPIA              = int(C.AV_CODEC_ID_CPIA)
	AV_CODEC_ID_CSCD              = int(C.AV_CODEC_ID_CSCD)
	AV_CODEC_ID_CYUV              = int(C.AV_CODEC_ID_CYUV)
	AV_CODEC_ID_DFA               = int(C.AV_CODEC_ID_DFA)
	AV_CODEC_ID_DIRAC             = int(C.AV_CODEC_ID_DIRAC)
	AV_CODEC_ID_DNXHD             = int(C.AV_CODEC_ID_DNXHD)
	AV_CODEC_ID_DPX               = int(C.AV_CODEC_ID_DPX)
	AV_CODEC_ID_DSD_LSBF          = int(C.AV_CODEC_ID_DSD_LSBF)
	AV_CODEC_ID_DSD_LSBF_PLANAR   = int(C.AV_CODEC_ID_DSD_LSBF_PLANAR)
	AV_CODEC_ID_DSD_MSBF          = int(C.AV_CODEC_ID_DSD_MSBF)
	AV_CODEC_ID_DSD_MSBF_PLANAR   = int(C.AV_CODEC_ID_DSD_MSBF_PLANAR)
	AV_CODEC_ID_DSICINAUDIO       = int(C.AV_CODEC_ID_DSICINAUDIO)
	AV_CODEC_ID_DSICINVIDEO       = int(C.AV_CODEC_ID_DSICINVIDEO)
	AV_CODEC_ID_DTS               = int(C.AV_CODEC_ID_DTS)
	AV_CODEC_ID_DVAUDIO           = int(C.AV_CODEC_ID_DVAUDIO)
	AV_CODEC_ID_DVB_SUBTITLE      = int(C.AV_CODEC_ID_DVB_SUBTITLE)
	AV_CODEC_ID_DVB_TELETEXT      = int(C.AV_CODEC_ID_DVB_TELETEXT)
	AV_CODEC_ID_DVD_NAV           = int(C.AV_CODEC_ID_DVD_NAV)
	AV_CODEC_ID_DVD_SUBTITLE      = int(C.AV_CODEC_ID_DVD_SUBTITLE)
	AV_CODEC_ID_DVVIDEO           = int(C.AV_CODEC_ID_DVVIDEO)
	AV_CODEC_ID_DXA               = int(C.AV_CODEC_ID_DXA)
	AV_CODEC_ID_DXTORY            = int(C.AV_CODEC_ID_DXTORY)
	AV_CODEC_ID_EAC3              = int(C.AV_CODEC_ID_EAC3)
	AV_CODEC_ID_EIA_608           = int(C.AV_CODEC_ID_EIA_608)
	AV_CODEC_ID_ESCAPE124         = int(C.AV_CODEC_ID_ESCAPE124)
	AV_CODEC_ID_ESCAPE130         = int(C.AV_CODEC_ID_ESCAPE130)
	AV_CODEC_ID_EVRC              = int(C.AV_CODEC_ID_EVRC)
	AV_CODEC_ID_EXR               = int(C.AV_CODEC_ID_EXR)
	AV_CODEC_ID_FFMETADATA        = int(C.AV_CODEC_ID_FFMETADATA)
	AV_CODEC_ID_FFV1              = int(C.AV_CODEC_ID_FFV1)
	AV_CODEC_ID_FFVHUFF           = int(C.AV_CODEC_ID_FFVHUFF)
	AV_CODEC_ID_FFWAVESYNTH       = int(C.AV_CODEC_ID_FFWAVESYNTH)
	AV_CODEC_ID_FIC               = int(C.AV_CODEC_ID_FIC)
	AV_CODEC_ID_FIRST_AUDIO       = int(C.AV_CODEC_ID_FIRST_AUDIO)
	AV_CODEC_ID_FIRST_SUBTITLE    = int(C.AV_CODEC_ID_FIRST_SUBTITLE)
	AV_CODEC_ID_FIRST_UNKNOWN     = int(C.AV_CODEC_ID_FIRST_UNKNOWN)
	AV_CODEC_ID_FLAC              = int(C.AV_CODEC_ID_FLAC)
	AV_CODEC_ID_FLASHSV           = int(C.AV_CODEC_ID_FLASHSV)
	AV_CODEC_ID_FLASHSV2          = int(C.AV_CODEC_ID_FLASHSV2)
	AV_CODEC_ID_FLIC              = int(C.AV_CODEC_ID_FLIC)
	AV_CODEC_ID_FLV1              = int(C.AV_CODEC_ID_FLV1)
	AV_CODEC_ID_FRAPS             = int(C.AV_CODEC_ID_FRAPS)
	AV_CODEC_ID_FRWU              = int(C.AV_CODEC_ID_FRWU)
	AV_CODEC_ID_G2M               = int(C.AV_CODEC_ID_G2M)
	AV_CODEC_ID_G723_1            = int(C.AV_CODEC_ID_G723_1)
	AV_CODEC_ID_G729              = int(C.AV_CODEC_ID_G729)
	AV_CODEC_ID_GIF               = int(C.AV_CODEC_ID_GIF)
	AV_CODEC_ID_GSM               = int(C.AV_CODEC_ID_GSM)
	AV_CODEC_ID_GSM_MS            = int(C.AV_CODEC_ID_GSM_MS)
	AV_CODEC_ID_H261              = int(C.AV_CODEC_ID_H261)
	AV_CODEC_ID_H263              = int(C.AV_CODEC_ID_H263)
	AV_CODEC_ID_H263I             = int(C.AV_CODEC_ID_H263I)
	AV_CODEC_ID_H263P             = int(C.AV_CODEC_ID_H263P)
	AV_CODEC_ID_H264              = int(C.AV_CODEC_ID_H264)
	AV_CODEC_ID_H265              = int(C.AV_CODEC_ID_H265)
	AV_CODEC_ID_HDMV_PGS_SUBTITLE = int(C.AV_CODEC_ID_HDMV_PGS_SUBTITLE)
	AV_CODEC_ID_HEVC              = int(C.AV_CODEC_ID_HEVC)
	AV_CODEC_ID_HNM4_VIDEO        = int(C.AV_CODEC_ID_HNM4_VIDEO)
	AV_CODEC_ID_HUFFYUV           = int(C.AV_CODEC_ID_HUFFYUV)
	AV_CODEC_ID_IAC               = int(C.AV_CODEC_ID_IAC)
	AV_CODEC_ID_IDCIN             = int(C.AV_CODEC_ID_IDCIN)
	AV_CODEC_ID_IDF               = int(C.AV_CODEC_ID_IDF)
	AV_CODEC_ID_IFF_BYTERUN1      = int(C.AV_CODEC_ID_IFF_BYTERUN1)
	AV_CODEC_ID_IFF_ILBM          = int(C.AV_CODEC_ID_IFF_ILBM)
	AV_CODEC_ID_ILBC              = int(C.AV_CODEC_ID_ILBC)
	AV_CODEC_ID_IMC               = int(C.AV_CODEC_ID_IMC)
	AV_CODEC_ID_INDEO2            = int(C.AV_CODEC_ID_INDEO2)
	AV_CODEC_ID_INDEO3            = int(C.AV_CODEC_ID_INDEO3)
	AV_CODEC_ID_INDEO4            = int(C.AV_CODEC_ID_INDEO4)
	AV_CODEC_ID_INDEO5            = int(C.AV_CODEC_ID_INDEO5)
	AV_CODEC_ID_INTERPLAY_DPCM    = int(C.AV_CODEC_ID_INTERPLAY_DPCM)
	AV_CODEC_ID_INTERPLAY_VIDEO   = int(C.AV_CODEC_ID_INTERPLAY_VIDEO)
	AV_CODEC_ID_JACOSUB           = int(C.AV_CODEC_ID_JACOSUB)
	AV_CODEC_ID_JPEG2000          = int(C.AV_CODEC_ID_JPEG2000)
	AV_CODEC_ID_JPEGLS            = int(C.AV_CODEC_ID_JPEGLS)
	AV_CODEC_ID_JV                = int(C.AV_CODEC_ID_JV)
	AV_CODEC_ID_KGV1              = int(C.AV_CODEC_ID_KGV1)
	AV_CODEC_ID_KMVC              = int(C.AV_CODEC_ID_KMVC)
	AV_CODEC_ID_LAGARITH          = int(C.AV_CODEC_ID_LAGARITH)
	AV_CODEC_ID_LJPEG             = int(C.AV_CODEC_ID_LJPEG)
	AV_CODEC_ID_LOCO              = int(C.AV_CODEC_ID_LOCO)
	AV_CODEC_ID_MACE3             = int(C.AV_CODEC_ID_MACE3)
	AV_CODEC_ID_MACE6             = int(C.AV_CODEC_ID_MACE6)
	AV_CODEC_ID_MAD               = int(C.AV_CODEC_ID_MAD)
	AV_CODEC_ID_MDEC              = int(C.AV_CODEC_ID_MDEC)
	AV_CODEC_ID_METASOUND         = int(C.AV_CODEC_ID_METASOUND)
	AV_CODEC_ID_MICRODVD          = int(C.AV_CODEC_ID_MICRODVD)
	AV_CODEC_ID_MIMIC             = int(C.AV_CODEC_ID_MIMIC)
	AV_CODEC_ID_MJPEG             = int(C.AV_CODEC_ID_MJPEG)
	AV_CODEC_ID_MJPEGB            = int(C.AV_CODEC_ID_MJPEGB)
	AV_CODEC_ID_MLP               = int(C.AV_CODEC_ID_MLP)
	AV_CODEC_ID_MMVIDEO           = int(C.AV_CODEC_ID_MMVIDEO)
	AV_CODEC_ID_MOTIONPIXELS      = int(C.AV_CODEC_ID_MOTIONPIXELS)
	AV_CODEC_ID_MOV_TEXT          = int(C.AV_CODEC_ID_MOV_TEXT)
	AV_CODEC_ID_MP1               = int(C.AV_CODEC_ID_MP1)
	AV_CODEC_ID_MP2               = int(C.AV_CODEC_ID_MP2)
	AV_CODEC_ID_MP3               = int(C.AV_CODEC_ID_MP3)
	AV_CODEC_ID_MP3ADU            = int(C.AV_CODEC_ID_MP3ADU)
	AV_CODEC_ID_MP3ON4            = int(C.AV_CODEC_ID_MP3ON4)
	AV_CODEC_ID_MP4ALS            = int(C.AV_CODEC_ID_MP4ALS)
	AV_CODEC_ID_MPEG1VIDEO        = int(C.AV_CODEC_ID_MPEG1VIDEO)
	AV_CODEC_ID_MPEG2TS           = int(C.AV_CODEC_ID_MPEG2TS)
	AV_CODEC_ID_MPEG2VIDEO        = int(C.AV_CODEC_ID_MPEG2VIDEO)
	// AV_CODEC_ID_MPEG2VIDEO_XVMC   = int(C.AV_CODEC_ID_MPEG2VIDEO_XVMC)
	AV_CODEC_ID_MPEG4            = int(C.AV_CODEC_ID_MPEG4)
	AV_CODEC_ID_MPEG4SYSTEMS     = int(C.AV_CODEC_ID_MPEG4SYSTEMS)
	AV_CODEC_ID_MPL2             = int(C.AV_CODEC_ID_MPL2)
	AV_CODEC_ID_MSA1             = int(C.AV_CODEC_ID_MSA1)
	AV_CODEC_ID_MSMPEG4V1        = int(C.AV_CODEC_ID_MSMPEG4V1)
	AV_CODEC_ID_MSMPEG4V2        = int(C.AV_CODEC_ID_MSMPEG4V2)
	AV_CODEC_ID_MSMPEG4V3        = int(C.AV_CODEC_ID_MSMPEG4V3)
	AV_CODEC_ID_MSRLE            = int(C.AV_CODEC_ID_MSRLE)
	AV_CODEC_ID_MSS1             = int(C.AV_CODEC_ID_MSS1)
	AV_CODEC_ID_MSS2             = int(C.AV_CODEC_ID_MSS2)
	AV_CODEC_ID_MSVIDEO1         = int(C.AV_CODEC_ID_MSVIDEO1)
	AV_CODEC_ID_MSZH             = int(C.AV_CODEC_ID_MSZH)
	AV_CODEC_ID_MTS2             = int(C.AV_CODEC_ID_MTS2)
	AV_CODEC_ID_MUSEPACK7        = int(C.AV_CODEC_ID_MUSEPACK7)
	AV_CODEC_ID_MUSEPACK8        = int(C.AV_CODEC_ID_MUSEPACK8)
	AV_CODEC_ID_MVC1             = int(C.AV_CODEC_ID_MVC1)
	AV_CODEC_ID_MVC2             = int(C.AV_CODEC_ID_MVC2)
	AV_CODEC_ID_MXPEG            = int(C.AV_CODEC_ID_MXPEG)
	AV_CODEC_ID_NELLYMOSER       = int(C.AV_CODEC_ID_NELLYMOSER)
	AV_CODEC_ID_NONE             = int(C.AV_CODEC_ID_NONE)
	AV_CODEC_ID_NUV              = int(C.AV_CODEC_ID_NUV)
	AV_CODEC_ID_ON2AVC           = int(C.AV_CODEC_ID_ON2AVC)
	AV_CODEC_ID_OPUS             = int(C.AV_CODEC_ID_OPUS)
	AV_CODEC_ID_OTF              = int(C.AV_CODEC_ID_OTF)
	AV_CODEC_ID_PAF_AUDIO        = int(C.AV_CODEC_ID_PAF_AUDIO)
	AV_CODEC_ID_PAF_VIDEO        = int(C.AV_CODEC_ID_PAF_VIDEO)
	AV_CODEC_ID_PAM              = int(C.AV_CODEC_ID_PAM)
	AV_CODEC_ID_PBM              = int(C.AV_CODEC_ID_PBM)
	AV_CODEC_ID_PCM_ALAW         = int(C.AV_CODEC_ID_PCM_ALAW)
	AV_CODEC_ID_PCM_BLURAY       = int(C.AV_CODEC_ID_PCM_BLURAY)
	AV_CODEC_ID_PCM_DVD          = int(C.AV_CODEC_ID_PCM_DVD)
	AV_CODEC_ID_PCM_F32BE        = int(C.AV_CODEC_ID_PCM_F32BE)
	AV_CODEC_ID_PCM_F32LE        = int(C.AV_CODEC_ID_PCM_F32LE)
	AV_CODEC_ID_PCM_F64BE        = int(C.AV_CODEC_ID_PCM_F64BE)
	AV_CODEC_ID_PCM_F64LE        = int(C.AV_CODEC_ID_PCM_F64LE)
	AV_CODEC_ID_PCM_LXF          = int(C.AV_CODEC_ID_PCM_LXF)
	AV_CODEC_ID_PCM_MULAW        = int(C.AV_CODEC_ID_PCM_MULAW)
	AV_CODEC_ID_PCM_S16BE        = int(C.AV_CODEC_ID_PCM_S16BE)
	AV_CODEC_ID_PCM_S16BE_PLANAR = int(C.AV_CODEC_ID_PCM_S16BE_PLANAR)
	AV_CODEC_ID_PCM_S16LE        = int(C.AV_CODEC_ID_PCM_S16LE)
	AV_CODEC_ID_PCM_S16LE_PLANAR = int(C.AV_CODEC_ID_PCM_S16LE_PLANAR)
	AV_CODEC_ID_PCM_S24BE        = int(C.AV_CODEC_ID_PCM_S24BE)
	AV_CODEC_ID_PCM_S24DAUD      = int(C.AV_CODEC_ID_PCM_S24DAUD)
	AV_CODEC_ID_PCM_S24LE        = int(C.AV_CODEC_ID_PCM_S24LE)
	AV_CODEC_ID_PCM_S24LE_PLANAR = int(C.AV_CODEC_ID_PCM_S24LE_PLANAR)
	AV_CODEC_ID_PCM_S32BE        = int(C.AV_CODEC_ID_PCM_S32BE)
	AV_CODEC_ID_PCM_S32LE        = int(C.AV_CODEC_ID_PCM_S32LE)
	AV_CODEC_ID_PCM_S32LE_PLANAR = int(C.AV_CODEC_ID_PCM_S32LE_PLANAR)
	AV_CODEC_ID_PCM_S8           = int(C.AV_CODEC_ID_PCM_S8)
	AV_CODEC_ID_PCM_S8_PLANAR    = int(C.AV_CODEC_ID_PCM_S8_PLANAR)
	AV_CODEC_ID_PCM_U16BE        = int(C.AV_CODEC_ID_PCM_U16BE)
	AV_CODEC_ID_PCM_U16LE        = int(C.AV_CODEC_ID_PCM_U16LE)
	AV_CODEC_ID_PCM_U24BE        = int(C.AV_CODEC_ID_PCM_U24BE)
	AV_CODEC_ID_PCM_U24LE        = int(C.AV_CODEC_ID_PCM_U24LE)
	AV_CODEC_ID_PCM_U32BE        = int(C.AV_CODEC_ID_PCM_U32BE)
	AV_CODEC_ID_PCM_U32LE        = int(C.AV_CODEC_ID_PCM_U32LE)
	AV_CODEC_ID_PCM_U8           = int(C.AV_CODEC_ID_PCM_U8)
	AV_CODEC_ID_PCM_ZORK         = int(C.AV_CODEC_ID_PCM_ZORK)
	AV_CODEC_ID_PCX              = int(C.AV_CODEC_ID_PCX)
	AV_CODEC_ID_PGM              = int(C.AV_CODEC_ID_PGM)
	AV_CODEC_ID_PGMYUV           = int(C.AV_CODEC_ID_PGMYUV)
	AV_CODEC_ID_PICTOR           = int(C.AV_CODEC_ID_PICTOR)
	AV_CODEC_ID_PJS              = int(C.AV_CODEC_ID_PJS)
	AV_CODEC_ID_PNG              = int(C.AV_CODEC_ID_PNG)
	AV_CODEC_ID_PPM              = int(C.AV_CODEC_ID_PPM)
	AV_CODEC_ID_PROBE            = int(C.AV_CODEC_ID_PROBE)
	AV_CODEC_ID_PRORES           = int(C.AV_CODEC_ID_PRORES)
	AV_CODEC_ID_PTX              = int(C.AV_CODEC_ID_PTX)
	AV_CODEC_ID_QCELP            = int(C.AV_CODEC_ID_QCELP)
	AV_CODEC_ID_QDM2             = int(C.AV_CODEC_ID_QDM2)
	AV_CODEC_ID_QDMC             = int(C.AV_CODEC_ID_QDMC)
	AV_CODEC_ID_QDRAW            = int(C.AV_CODEC_ID_QDRAW)
	AV_CODEC_ID_QPEG             = int(C.AV_CODEC_ID_QPEG)
	AV_CODEC_ID_QTRLE            = int(C.AV_CODEC_ID_QTRLE)
	AV_CODEC_ID_R10K             = int(C.AV_CODEC_ID_R10K)
	AV_CODEC_ID_R210             = int(C.AV_CODEC_ID_R210)
	AV_CODEC_ID_RALF             = int(C.AV_CODEC_ID_RALF)
	AV_CODEC_ID_RAWVIDEO         = int(C.AV_CODEC_ID_RAWVIDEO)
	AV_CODEC_ID_RA_144           = int(C.AV_CODEC_ID_RA_144)
	AV_CODEC_ID_RA_288           = int(C.AV_CODEC_ID_RA_288)
	AV_CODEC_ID_REALTEXT         = int(C.AV_CODEC_ID_REALTEXT)
	AV_CODEC_ID_RL2              = int(C.AV_CODEC_ID_RL2)
	AV_CODEC_ID_ROQ              = int(C.AV_CODEC_ID_ROQ)
	AV_CODEC_ID_ROQ_DPCM         = int(C.AV_CODEC_ID_ROQ_DPCM)
	AV_CODEC_ID_RPZA             = int(C.AV_CODEC_ID_RPZA)
	AV_CODEC_ID_RV10             = int(C.AV_CODEC_ID_RV10)
	AV_CODEC_ID_RV20             = int(C.AV_CODEC_ID_RV20)
	AV_CODEC_ID_RV30             = int(C.AV_CODEC_ID_RV30)
	AV_CODEC_ID_RV40             = int(C.AV_CODEC_ID_RV40)
	AV_CODEC_ID_S302M            = int(C.AV_CODEC_ID_S302M)
	AV_CODEC_ID_SAMI             = int(C.AV_CODEC_ID_SAMI)
	AV_CODEC_ID_SANM             = int(C.AV_CODEC_ID_SANM)
	AV_CODEC_ID_SGI              = int(C.AV_CODEC_ID_SGI)
	AV_CODEC_ID_SGIRLE           = int(C.AV_CODEC_ID_SGIRLE)
	AV_CODEC_ID_SHORTEN          = int(C.AV_CODEC_ID_SHORTEN)
	AV_CODEC_ID_SIPR             = int(C.AV_CODEC_ID_SIPR)
	AV_CODEC_ID_SMACKAUDIO       = int(C.AV_CODEC_ID_SMACKAUDIO)
	AV_CODEC_ID_SMACKVIDEO       = int(C.AV_CODEC_ID_SMACKVIDEO)
	AV_CODEC_ID_SMC              = int(C.AV_CODEC_ID_SMC)
	AV_CODEC_ID_SMPTE_KLV        = int(C.AV_CODEC_ID_SMPTE_KLV)
	AV_CODEC_ID_SMV              = int(C.AV_CODEC_ID_SMV)
	AV_CODEC_ID_SMVJPEG          = int(C.AV_CODEC_ID_SMVJPEG)
	AV_CODEC_ID_SNOW             = int(C.AV_CODEC_ID_SNOW)
	AV_CODEC_ID_SOL_DPCM         = int(C.AV_CODEC_ID_SOL_DPCM)
	AV_CODEC_ID_SONIC            = int(C.AV_CODEC_ID_SONIC)
	AV_CODEC_ID_SONIC_LS         = int(C.AV_CODEC_ID_SONIC_LS)
	AV_CODEC_ID_SP5X             = int(C.AV_CODEC_ID_SP5X)
	AV_CODEC_ID_SPEEX            = int(C.AV_CODEC_ID_SPEEX)
	AV_CODEC_ID_SRT              = int(C.AV_CODEC_ID_SRT)
	AV_CODEC_ID_SSA              = int(C.AV_CODEC_ID_SSA)
	AV_CODEC_ID_SUBRIP           = int(C.AV_CODEC_ID_SUBRIP)
	AV_CODEC_ID_SUBVIEWER        = int(C.AV_CODEC_ID_SUBVIEWER)
	AV_CODEC_ID_SUBVIEWER1       = int(C.AV_CODEC_ID_SUBVIEWER1)
	AV_CODEC_ID_SUNRAST          = int(C.AV_CODEC_ID_SUNRAST)
	AV_CODEC_ID_SVQ1             = int(C.AV_CODEC_ID_SVQ1)
	AV_CODEC_ID_SVQ3             = int(C.AV_CODEC_ID_SVQ3)
	AV_CODEC_ID_TAK              = int(C.AV_CODEC_ID_TAK)
	AV_CODEC_ID_TARGA            = int(C.AV_CODEC_ID_TARGA)
	AV_CODEC_ID_TARGA_Y216       = int(C.AV_CODEC_ID_TARGA_Y216)
	AV_CODEC_ID_TEXT             = int(C.AV_CODEC_ID_TEXT)
	AV_CODEC_ID_TGQ              = int(C.AV_CODEC_ID_TGQ)
	AV_CODEC_ID_TGV              = int(C.AV_CODEC_ID_TGV)
	AV_CODEC_ID_THEORA           = int(C.AV_CODEC_ID_THEORA)
	AV_CODEC_ID_THP              = int(C.AV_CODEC_ID_THP)
	AV_CODEC_ID_TIERTEXSEQVIDEO  = int(C.AV_CODEC_ID_TIERTEXSEQVIDEO)
	AV_CODEC_ID_TIFF             = int(C.AV_CODEC_ID_TIFF)
	AV_CODEC_ID_TIMED_ID3        = int(C.AV_CODEC_ID_TIMED_ID3)
	AV_CODEC_ID_TMV              = int(C.AV_CODEC_ID_TMV)
	AV_CODEC_ID_TQI              = int(C.AV_CODEC_ID_TQI)
	AV_CODEC_ID_TRUEHD           = int(C.AV_CODEC_ID_TRUEHD)
	AV_CODEC_ID_TRUEMOTION1      = int(C.AV_CODEC_ID_TRUEMOTION1)
	AV_CODEC_ID_TRUEMOTION2      = int(C.AV_CODEC_ID_TRUEMOTION2)
	AV_CODEC_ID_TRUESPEECH       = int(C.AV_CODEC_ID_TRUESPEECH)
	AV_CODEC_ID_TSCC             = int(C.AV_CODEC_ID_TSCC)
	AV_CODEC_ID_TSCC2            = int(C.AV_CODEC_ID_TSCC2)
	AV_CODEC_ID_TTA              = int(C.AV_CODEC_ID_TTA)
	AV_CODEC_ID_TTF              = int(C.AV_CODEC_ID_TTF)
	AV_CODEC_ID_TWINVQ           = int(C.AV_CODEC_ID_TWINVQ)
	AV_CODEC_ID_TXD              = int(C.AV_CODEC_ID_TXD)
	AV_CODEC_ID_ULTI             = int(C.AV_CODEC_ID_ULTI)
	AV_CODEC_ID_UTVIDEO          = int(C.AV_CODEC_ID_UTVIDEO)
	AV_CODEC_ID_V210             = int(C.AV_CODEC_ID_V210)
	AV_CODEC_ID_V210X            = int(C.AV_CODEC_ID_V210X)
	AV_CODEC_ID_V308             = int(C.AV_CODEC_ID_V308)
	AV_CODEC_ID_V408             = int(C.AV_CODEC_ID_V408)
	AV_CODEC_ID_V410             = int(C.AV_CODEC_ID_V410)
	AV_CODEC_ID_VB               = int(C.AV_CODEC_ID_VB)
	AV_CODEC_ID_VBLE             = int(C.AV_CODEC_ID_VBLE)
	AV_CODEC_ID_VC1              = int(C.AV_CODEC_ID_VC1)
	AV_CODEC_ID_VC1IMAGE         = int(C.AV_CODEC_ID_VC1IMAGE)
	AV_CODEC_ID_VCR1             = int(C.AV_CODEC_ID_VCR1)
	// AV_CODEC_ID_VIMA             = int(C.AV_CODEC_ID_VIMA)
	AV_CODEC_ID_VIXL     = int(C.AV_CODEC_ID_VIXL)
	AV_CODEC_ID_VMDAUDIO = int(C.AV_CODEC_ID_VMDAUDIO)
	AV_CODEC_ID_VMDVIDEO = int(C.AV_CODEC_ID_VMDVIDEO)
	AV_CODEC_ID_VMNC     = int(C.AV_CODEC_ID_VMNC)
	AV_CODEC_ID_VORBIS   = int(C.AV_CODEC_ID_VORBIS)
	// AV_CODEC_ID_VOXWARE          = int(C.AV_CODEC_ID_VOXWARE)
	AV_CODEC_ID_VP3           = int(C.AV_CODEC_ID_VP3)
	AV_CODEC_ID_VP5           = int(C.AV_CODEC_ID_VP5)
	AV_CODEC_ID_VP6           = int(C.AV_CODEC_ID_VP6)
	AV_CODEC_ID_VP6A          = int(C.AV_CODEC_ID_VP6A)
	AV_CODEC_ID_VP6F          = int(C.AV_CODEC_ID_VP6F)
	AV_CODEC_ID_VP7           = int(C.AV_CODEC_ID_VP7)
	AV_CODEC_ID_VP8           = int(C.AV_CODEC_ID_VP8)
	AV_CODEC_ID_VP9           = int(C.AV_CODEC_ID_VP9)
	AV_CODEC_ID_VPLAYER       = int(C.AV_CODEC_ID_VPLAYER)
	AV_CODEC_ID_WAVPACK       = int(C.AV_CODEC_ID_WAVPACK)
	AV_CODEC_ID_WEBP          = int(C.AV_CODEC_ID_WEBP)
	AV_CODEC_ID_WEBVTT        = int(C.AV_CODEC_ID_WEBVTT)
	AV_CODEC_ID_WESTWOOD_SND1 = int(C.AV_CODEC_ID_WESTWOOD_SND1)
	AV_CODEC_ID_WMALOSSLESS   = int(C.AV_CODEC_ID_WMALOSSLESS)
	AV_CODEC_ID_WMAPRO        = int(C.AV_CODEC_ID_WMAPRO)
	AV_CODEC_ID_WMAV1         = int(C.AV_CODEC_ID_WMAV1)
	AV_CODEC_ID_WMAV2         = int(C.AV_CODEC_ID_WMAV2)
	AV_CODEC_ID_WMAVOICE      = int(C.AV_CODEC_ID_WMAVOICE)
	AV_CODEC_ID_WMV1          = int(C.AV_CODEC_ID_WMV1)
	AV_CODEC_ID_WMV2          = int(C.AV_CODEC_ID_WMV2)
	AV_CODEC_ID_WMV3          = int(C.AV_CODEC_ID_WMV3)
	AV_CODEC_ID_WMV3IMAGE     = int(C.AV_CODEC_ID_WMV3IMAGE)
	AV_CODEC_ID_WNV1          = int(C.AV_CODEC_ID_WNV1)
	AV_CODEC_ID_WS_VQA        = int(C.AV_CODEC_ID_WS_VQA)
	AV_CODEC_ID_XAN_DPCM      = int(C.AV_CODEC_ID_XAN_DPCM)
	AV_CODEC_ID_XAN_WC3       = int(C.AV_CODEC_ID_XAN_WC3)
	AV_CODEC_ID_XAN_WC4       = int(C.AV_CODEC_ID_XAN_WC4)
	AV_CODEC_ID_XBIN          = int(C.AV_CODEC_ID_XBIN)
	AV_CODEC_ID_XBM           = int(C.AV_CODEC_ID_XBM)
	AV_CODEC_ID_XFACE         = int(C.AV_CODEC_ID_XFACE)
	AV_CODEC_ID_XSUB          = int(C.AV_CODEC_ID_XSUB)
	AV_CODEC_ID_XWD           = int(C.AV_CODEC_ID_XWD)
	AV_CODEC_ID_Y41P          = int(C.AV_CODEC_ID_Y41P)
	AV_CODEC_ID_YOP           = int(C.AV_CODEC_ID_YOP)
	AV_CODEC_ID_YUV4          = int(C.AV_CODEC_ID_YUV4)
	AV_CODEC_ID_ZEROCODEC     = int(C.AV_CODEC_ID_ZEROCODEC)
	AV_CODEC_ID_ZLIB          = int(C.AV_CODEC_ID_ZLIB)
	AV_CODEC_ID_ZMBV          = int(C.AV_CODEC_ID_ZMBV)
)

Multiple encoders have the same ID and are able to encode compatible streams.

View Source
const (
	AV_CODEC_FLAG_UNALIGNED            = int(C.AV_CODEC_FLAG_UNALIGNED)
	AV_CODEC_FLAG_QSCALE               = int(C.AV_CODEC_FLAG_QSCALE)
	AV_CODEC_FLAG_4MV                  = int(C.AV_CODEC_FLAG_4MV)
	AV_CODEC_FLAG_OUTPUT_CORRUPT       = int(C.AV_CODEC_FLAG_OUTPUT_CORRUPT)
	AV_CODEC_FLAG_QPEL                 = int(C.AV_CODEC_FLAG_QPEL)
	AV_CODEC_FLAG_PASS1                = int(C.AV_CODEC_FLAG_PASS1)
	AV_CODEC_FLAG_PASS2                = int(C.AV_CODEC_FLAG_PASS2)
	AV_CODEC_FLAG_LOOP_FILTER          = int(C.AV_CODEC_FLAG_LOOP_FILTER)
	AV_CODEC_FLAG_GRAY                 = int(C.AV_CODEC_FLAG_GRAY)
	AV_CODEC_FLAG_PSNR                 = int(C.AV_CODEC_FLAG_PSNR)
	AV_CODEC_FLAG_TRUNCATED            = int(C.AV_CODEC_FLAG_TRUNCATED)
	AV_CODEC_FLAG_INTERLACED_DCT       = int(C.AV_CODEC_FLAG_INTERLACED_DCT)
	AV_CODEC_FLAG_LOW_DELAY            = int(C.AV_CODEC_FLAG_LOW_DELAY)
	AV_CODEC_FLAG_GLOBAL_HEADER        = int(C.AV_CODEC_FLAG_GLOBAL_HEADER)
	AV_CODEC_FLAG_BITEXACT             = int(C.AV_CODEC_FLAG_BITEXACT)
	AV_CODEC_FLAG_AC_PRED              = int(C.AV_CODEC_FLAG_AC_PRED)
	AV_CODEC_FLAG_INTERLACED_ME        = int(C.AV_CODEC_FLAG_INTERLACED_ME)
	AV_CODEC_FLAG_CLOSED_GOP           = int(C.AV_CODEC_FLAG_CLOSED_GOP)
	AV_CODEC_FLAG2_FAST                = int(C.AV_CODEC_FLAG2_FAST)
	AV_CODEC_FLAG2_NO_OUTPUT           = int(C.AV_CODEC_FLAG2_NO_OUTPUT)
	AV_CODEC_FLAG2_LOCAL_HEADER        = int(C.AV_CODEC_FLAG2_LOCAL_HEADER)
	AV_CODEC_FLAG2_DROP_FRAME_TIMECODE = int(C.AV_CODEC_FLAG2_DROP_FRAME_TIMECODE)
	AV_CODEC_FLAG2_CHUNKS              = int(C.AV_CODEC_FLAG2_CHUNKS)
	AV_CODEC_FLAG2_IGNORE_CROP         = int(C.AV_CODEC_FLAG2_IGNORE_CROP)
	AV_CODEC_FLAG2_SHOW_ALL            = int(C.AV_CODEC_FLAG2_SHOW_ALL)
	AV_CODEC_FLAG2_EXPORT_MVS          = int(C.AV_CODEC_FLAG2_EXPORT_MVS)
	AV_CODEC_FLAG2_SKIP_MANUAL         = int(C.AV_CODEC_FLAG2_SKIP_MANUAL)
	AV_CODEC_FLAG2_RO_FLUSH_NOOP       = int(C.AV_CODEC_FLAG2_RO_FLUSH_NOOP)
)
View Source
const (
	AV_PKT_FLAG_KEY     = int(C.AV_PKT_FLAG_KEY)
	AV_PKT_FLAG_CORRUPT = int(C.AV_PKT_FLAG_CORRUPT)
	AV_PKT_FLAG_DISCARD = int(C.AV_PKT_FLAG_DISCARD)
)
View Source
const (
	AV_PIX_FMT_YUV        = 0
	AV_PIX_FMT_YUV420P9   = C.AV_PIX_FMT_YUV420P9
	AV_PIX_FMT_YUV422P9   = C.AV_PIX_FMT_YUV422P9
	AV_PIX_FMT_YUV444P9   = C.AV_PIX_FMT_YUV444P9
	AV_PIX_FMT_YUV420P10  = C.AV_PIX_FMT_YUV420P10
	AV_PIX_FMT_YUV422P10  = C.AV_PIX_FMT_YUV422P10
	AV_PIX_FMT_YUV440P10  = C.AV_PIX_FMT_YUV440P10
	AV_PIX_FMT_YUV444P10  = C.AV_PIX_FMT_YUV444P10
	AV_PIX_FMT_YUV420P12  = C.AV_PIX_FMT_YUV420P12
	AV_PIX_FMT_YUV422P12  = C.AV_PIX_FMT_YUV422P12
	AV_PIX_FMT_YUV440P12  = C.AV_PIX_FMT_YUV440P12
	AV_PIX_FMT_YUV444P12  = C.AV_PIX_FMT_YUV444P12
	AV_PIX_FMT_YUV420P14  = C.AV_PIX_FMT_YUV420P14
	AV_PIX_FMT_YUV422P14  = C.AV_PIX_FMT_YUV422P14
	AV_PIX_FMT_YUV444P14  = C.AV_PIX_FMT_YUV444P14
	AV_PIX_FMT_YUV420P16  = C.AV_PIX_FMT_YUV420P16
	AV_PIX_FMT_YUV422P16  = C.AV_PIX_FMT_YUV422P16
	AV_PIX_FMT_YUV444P16  = C.AV_PIX_FMT_YUV444P16
	AV_PIX_FMT_YUVA420P9  = C.AV_PIX_FMT_YUVA420P9
	AV_PIX_FMT_YUVA422P9  = C.AV_PIX_FMT_YUVA422P9
	AV_PIX_FMT_YUVA444P9  = C.AV_PIX_FMT_YUVA444P9
	AV_PIX_FMT_YUVA420P10 = C.AV_PIX_FMT_YUVA420P10
	AV_PIX_FMT_YUVA422P10 = C.AV_PIX_FMT_YUVA422P10
	AV_PIX_FMT_YUVA444P10 = C.AV_PIX_FMT_YUVA444P10
	AV_PIX_FMT_YUVA420P16 = C.AV_PIX_FMT_YUVA420P16
	AV_PIX_FMT_YUVA422P16 = C.AV_PIX_FMT_YUVA422P16
	AV_PIX_FMT_YUVA444P16 = C.AV_PIX_FMT_YUVA444P16
	AV_PIX_FMT_RGB24      = C.AV_PIX_FMT_RGB24
	AV_PIX_FMT_RGBA       = C.AV_PIX_FMT_RGBA

	SWS_FAST_BILINEAR        = C.SWS_FAST_BILINEAR
	SWS_BILINEAR             = C.SWS_BILINEAR
	SWS_BICUBIC              = C.SWS_BICUBIC
	SWS_X                    = C.SWS_X
	SWS_POINT                = C.SWS_POINT
	SWS_AREA                 = C.SWS_AREA
	SWS_BICUBLIN             = C.SWS_BICUBLIN
	SWS_GAUSS                = C.SWS_GAUSS
	SWS_SINC                 = C.SWS_SINC
	SWS_LANCZOS              = C.SWS_LANCZOS
	SWS_SPLINE               = C.SWS_SPLINE
	SWS_SRC_V_CHR_DROP_MASK  = C.SWS_SRC_V_CHR_DROP_MASK
	SWS_SRC_V_CHR_DROP_SHIFT = C.SWS_SRC_V_CHR_DROP_SHIFT
	SWS_PARAM_DEFAULT        = C.SWS_PARAM_DEFAULT
	SWS_PRINT_INFO           = C.SWS_PRINT_INFO
	SWS_FULL_CHR_H_INT       = C.SWS_FULL_CHR_H_INT
	SWS_FULL_CHR_H_INP       = C.SWS_FULL_CHR_H_INP
	SWS_DIRECT_BGR           = C.SWS_DIRECT_BGR
	SWS_ACCURATE_RND         = C.SWS_ACCURATE_RND
	SWS_BITEXACT             = C.SWS_BITEXACT
	SWS_ERROR_DIFFUSION      = C.SWS_ERROR_DIFFUSION
	SWS_MAX_REDUCE_CUTOFF    = C.SWS_MAX_REDUCE_CUTOFF
	SWS_CS_ITU709            = C.SWS_CS_ITU709
	SWS_CS_FCC               = C.SWS_CS_FCC
	SWS_CS_ITU601            = C.SWS_CS_ITU601
	SWS_CS_ITU624            = C.SWS_CS_ITU624
	SWS_CS_SMPTE170M         = C.SWS_CS_SMPTE170M
	SWS_CS_SMPTE240M         = C.SWS_CS_SMPTE240M
	SWS_CS_DEFAULT           = C.SWS_CS_DEFAULT
	SWS_CS_BT2020            = C.SWS_CS_BT2020
)

Variables

This section is empty.

Functions

func AvFastPaddedMalloc

func AvFastPaddedMalloc(p unsafe.Pointer, s *uint, t uintptr)

Same behaviour av_fast_malloc but the buffer has additional FF_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0.

func AvFastPaddedMallocz

func AvFastPaddedMallocz(p unsafe.Pointer, s *uint, t uintptr)

Same behaviour av_fast_padded_malloc except that buffer will always be 0-initialized after call.

func AvGetBitsPerSample

func AvGetBitsPerSample(c CodecId) int

Return codec bits per sample.

func AvGetCodecTagString

func AvGetCodecTagString(b string, bf uintptr, c uint) uintptr

Put a string representing the codec tag codec_tag in buf.

func AvGetExactBitsPerSample

func AvGetExactBitsPerSample(c CodecId) int

Return codec bits per sample.

func AvPacketPackDictionary

func AvPacketPackDictionary(d *Dictionary, s *int) *uint8

Pack a dictionary for use in side_data.

func AvPacketUnpackDictionary

func AvPacketUnpackDictionary(d *uint8, s int, dt **Dictionary) int

Unpack a dictionary from side_data.

func AvParserClose

func AvParserClose(ctxtp *ParserContext)

func AvXiphlacing

func AvXiphlacing(s *string, v uint) uint

Encode extradata length to a buffer.

func AvcodecConfiguration

func AvcodecConfiguration() string

Return the libavcodec build-time configuration.

func AvcodecEnumToChromaPos

func AvcodecEnumToChromaPos(x, y *int, l AvChromaLocation) int

Converts AvChromaLocation to swscale x/y chroma position.

func AvcodecFillAudioFrame

func AvcodecFillAudioFrame(f *Frame, c int, s AvSampleFormat, b *uint8, bs, a int) int

Fill Frame audio data and linesize pointers.

func AvcodecGetName

func AvcodecGetName(d CodecId) string

Get the name of a codec.

func AvcodecLicense

func AvcodecLicense() string

Return the libavcodec license.

func AvcodecRegisterAll

func AvcodecRegisterAll()

Register all the codecs, parsers and bitstream filters which were enabled at configuration time.

func AvcodecString

func AvcodecString(b string, bs int, ctxt *Context, e int)

func AvcodecVersion

func AvcodecVersion() uint

Return the LIBAvCODEC_VERSION_INT constant.

func AvpictureGetSize

func AvpictureGetSize(pf PixelFormat, w, h int) int

AvpictureGetSize - Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.

func AvsubtitleFree

func AvsubtitleFree(s *AvSubtitle)

Free all allocated data in the given subtitle struct.

Types

type AvAudioServiceType

type AvAudioServiceType C.enum_AVAudioServiceType

type AvBufferRef

type AvBufferRef C.struct_AVBufferRef

type AvChromaLocation

type AvChromaLocation C.enum_AVChromaLocation

func AvcodecChromaPosToEnum

func AvcodecChromaPosToEnum(x, y int) AvChromaLocation

Converts swscale x/y chroma position to AvChromaLocation.

type AvCodecParameters

type AvCodecParameters C.struct_AVCodecParameters

func (*AvCodecParameters) AvCodecGetChannels

func (cp *AvCodecParameters) AvCodecGetChannels() int

func (*AvCodecParameters) AvCodecGetHeight

func (cp *AvCodecParameters) AvCodecGetHeight() int

func (*AvCodecParameters) AvCodecGetId

func (cp *AvCodecParameters) AvCodecGetId() CodecId

func (*AvCodecParameters) AvCodecGetSampleRate

func (cp *AvCodecParameters) AvCodecGetSampleRate() int

func (*AvCodecParameters) AvCodecGetType

func (cp *AvCodecParameters) AvCodecGetType() MediaType

func (*AvCodecParameters) AvCodecGetWidth

func (cp *AvCodecParameters) AvCodecGetWidth() int

type AvColorPrimaries

type AvColorPrimaries C.enum_AVColorPrimaries

type AvColorRange

type AvColorRange C.enum_AVColorRange

type AvColorSpace

type AvColorSpace C.enum_AVColorSpace

type AvColorTransferCharacteristic

type AvColorTransferCharacteristic C.enum_AVColorTransferCharacteristic

type AvDiscard

type AvDiscard C.enum_AVDiscard

type AvFieldOrder

type AvFieldOrder C.enum_AVFieldOrder

type AvHWAccel

type AvHWAccel C.struct_AVHWAccel

func (*AvHWAccel) AvHwaccelNext

func (a *AvHWAccel) AvHwaccelNext() *AvHWAccel

If hwaccel is NULL, returns the first registered hardware accelerator, if hwaccel is non-NULL, returns the next registered hardware accelerator after hwaccel, or NULL if hwaccel is the last one.

type AvPacketSideData

type AvPacketSideData C.struct_AVPacketSideData

type AvPacketSideDataType

type AvPacketSideDataType C.enum_AVPacketSideDataType

type AvPanScan

type AvPanScan C.struct_AVPanScan

type AvProfile

type AvProfile C.struct_AVProfile

type AvSampleFormat

type AvSampleFormat C.enum_AVSampleFormat

type AvSubtitle

type AvSubtitle C.struct_AVSubtitle

type AvSubtitleRect

type AvSubtitleRect C.struct_AVSubtitleRect

type BitStreamFilter

type BitStreamFilter C.struct_AVBitStreamFilter

func (*BitStreamFilter) AvBitstreamFilterNext

func (f *BitStreamFilter) AvBitstreamFilterNext() *BitStreamFilter

BitStreamFilter *av_bitstream_filter_next (const BitStreamFilter *f)

func (*BitStreamFilter) AvRegisterBitstreamFilter

func (b *BitStreamFilter) AvRegisterBitstreamFilter()

Register a bitstream filter.

type BitStreamFilterContext

type BitStreamFilterContext C.struct_AVBitStreamFilterContext

func AvBitstreamFilterInit

func AvBitstreamFilterInit(n string) *BitStreamFilterContext

Create and initialize a bitstream filter context given a bitstream filter name.

func (*BitStreamFilterContext) AvBitstreamFilterClose

func (bfx *BitStreamFilterContext) AvBitstreamFilterClose()

Release bitstream filter context.

func (*BitStreamFilterContext) AvBitstreamFilterFilter

func (bfx *BitStreamFilterContext) AvBitstreamFilterFilter(ctxt *Context, a string, p **uint8, ps *int, b *uint8, bs, k int) int

Filter bitstream.

type Class

type Class C.struct_AVClass

func AvcodecGetClass

func AvcodecGetClass() *Class

Get the Class for Context.

func AvcodecGetFrameClass

func AvcodecGetFrameClass() *Class

Get the Class for Frame.

func AvcodecGetSubtitleRectClass

func AvcodecGetSubtitleRectClass() *Class

Get the Class for AvSubtitleRect.

type Codec

type Codec C.struct_AVCodec

func AvCodecIterate

func AvCodecIterate(p *unsafe.Pointer) *Codec

func AvcodecFindDecoder

func AvcodecFindDecoder(id CodecId) *Codec

Find a registered decoder with a matching codec ID.

func AvcodecFindDecoderByName

func AvcodecFindDecoderByName(n string) *Codec

Find a registered decoder with the specified name.

func AvcodecFindEncoder

func AvcodecFindEncoder(id CodecId) *Codec

Find a registered encoder with a matching codec ID.

func AvcodecFindEncoderByName

func AvcodecFindEncoderByName(c string) *Codec

Find a registered encoder with the specified name.

func (*Codec) AvCodecGetMaxLowres

func (c *Codec) AvCodecGetMaxLowres() int

func (*Codec) AvCodecIsDecoder

func (c *Codec) AvCodecIsDecoder() int

func (*Codec) AvCodecIsEncoder

func (c *Codec) AvCodecIsEncoder() int

func (*Codec) AvCodecNext

func (c *Codec) AvCodecNext() *Codec

AvCodecNext If c is NULL, returns the first registered codec, if c is non-NULL,

func (*Codec) AvGetProfileName

func (c *Codec) AvGetProfileName(p int) string

Return a name for the specified profile, if available.

func (*Codec) AvcodecAllocContext3

func (c *Codec) AvcodecAllocContext3() *Context

Allocate an Context and set its fields to default values.

func (*Codec) AvcodecRegister

func (c *Codec) AvcodecRegister()

Register the codec codec and initialize libavcodec.

type CodecId

type CodecId C.enum_AVCodecID

func AvGetPcmCodec

func AvGetPcmCodec(f AvSampleFormat, b int) CodecId

Return the PCM codec associated with a sample format.

type Context

type Context C.struct_AVCodecContext

func (*Context) ActiveThreadType

func (ctxt *Context) ActiveThreadType() int

func (*Context) AudioServiceType

func (ctxt *Context) AudioServiceType() AvAudioServiceType

func (*Context) AvCodecGetChromaIntraMatrix

func (ctxt *Context) AvCodecGetChromaIntraMatrix() *uint16

func (*Context) AvCodecGetCodecDescriptor

func (ctxt *Context) AvCodecGetCodecDescriptor() *Descriptor

func (*Context) AvCodecGetLowres

func (ctxt *Context) AvCodecGetLowres() int

func (*Context) AvCodecGetPktTimebase

func (ctxt *Context) AvCodecGetPktTimebase() Rational

func (*Context) AvCodecGetPktTimebase2

func (ctxt *Context) AvCodecGetPktTimebase2() Rational

AvCodecGetPktTimebase2 returns the timebase rational number as numerator and denominator

func (*Context) AvCodecGetSeekPreroll

func (ctxt *Context) AvCodecGetSeekPreroll() int

func (*Context) AvCodecSetChromaIntraMatrix

func (ctxt *Context) AvCodecSetChromaIntraMatrix(t *uint16)

func (*Context) AvCodecSetCodecDescriptor

func (ctxt *Context) AvCodecSetCodecDescriptor(d *Descriptor)

func (*Context) AvCodecSetLowres

func (ctxt *Context) AvCodecSetLowres(i int)

func (*Context) AvCodecSetPktTimebase

func (ctxt *Context) AvCodecSetPktTimebase(r Rational)

func (*Context) AvCodecSetSeekPreroll

func (ctxt *Context) AvCodecSetSeekPreroll(i int)

func (*Context) AvGetAudioFrameDuration

func (ctxt *Context) AvGetAudioFrameDuration(f int) int

Return audio frame duration.

func (*Context) AvParserChange

func (ctxt *Context) AvParserChange(ctxtp *ParserContext, pb **uint8, pbs *int, b *uint8, bs, k int) int

func (*Context) AvParserParse2

func (ctxt *Context) AvParserParse2(ctxtp *ParserContext, p **uint8, ps *int, b *uint8, bs int, pt, dt, po int64) int

Parse a packet.

func (*Context) AvcodecAlignDimensions

func (ctxt *Context) AvcodecAlignDimensions(w, h *int)

Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you do not use any horizontal padding.

func (*Context) AvcodecAlignDimensions2

func (ctxt *Context) AvcodecAlignDimensions2(w, h *int, l int)

Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you also ensure that all line sizes are a multiple of the respective linesize_align[i].

func (*Context) AvcodecClose

func (ctxt *Context) AvcodecClose() int

Close a given Context and free all the data associated with it (but not the Context itself).

func (*Context) AvcodecCopyContext

func (ctxt *Context) AvcodecCopyContext(ctxt2 *Context) int

Copy the settings of the source Context into the destination Context.

func (*Context) AvcodecDecodeAudio4

func (ctxt *Context) AvcodecDecodeAudio4(f *Frame, g *int, a *Packet) int

Decode the audio frame of size avpkt->size from avpkt->data into frame.

func (*Context) AvcodecDecodeSubtitle2

func (ctxt *Context) AvcodecDecodeSubtitle2(s *AvSubtitle, g *int, a *Packet) int

Decode a subtitle message.

func (*Context) AvcodecDecodeVideo2

func (ctxt *Context) AvcodecDecodeVideo2(p *Frame, g *int, a *Packet) int

Decode the video frame of size avpkt->size from avpkt->data into picture.

func (*Context) AvcodecDefaultGetBuffer2

func (s *Context) AvcodecDefaultGetBuffer2(f *Frame, l int) int

The default callback for Context.get_buffer2().

func (*Context) AvcodecDefaultGetFormat

func (ctxt *Context) AvcodecDefaultGetFormat(f *PixelFormat) PixelFormat

func (*Context) AvcodecEncodeAudio2

func (ctxt *Context) AvcodecEncodeAudio2(p *Packet, f *Frame, gp *int) int

Encode a frame of audio.

func (*Context) AvcodecEncodeSubtitle

func (ctxt *Context) AvcodecEncodeSubtitle(b *uint8, bs int, s *AvSubtitle) int

func (*Context) AvcodecEncodeVideo2

func (ctxt *Context) AvcodecEncodeVideo2(p *Packet, f *Frame, gp *int) int

Encode a frame of video

func (*Context) AvcodecFlushBuffers

func (ctxt *Context) AvcodecFlushBuffers()

Reset the internal decoder state / flush internal buffers.

func (*Context) AvcodecFreeContext

func (ctxt *Context) AvcodecFreeContext()

Free the codec context and everything associated with it and write NULL to the provided pointer.

func (*Context) AvcodecGetContextDefaults3

func (ctxt *Context) AvcodecGetContextDefaults3(c *Codec) int

Set the fields of the given Context to default values corresponding to the given codec (defaults may be codec-dependent).

func (*Context) AvcodecIsOpen

func (ctxt *Context) AvcodecIsOpen() int

func (*Context) AvcodecOpen2

func (ctxt *Context) AvcodecOpen2(c *Codec, d **Dictionary) int

Initialize the Context to use the given Codec

func (*Context) AvcodecReceiveFrame

func (ctxt *Context) AvcodecReceiveFrame(frame *Frame) int

func (*Context) AvcodecSendPacket

func (ctxt *Context) AvcodecSendPacket(packet *Packet) int

func (*Context) BFrameStrategy

func (ctxt *Context) BFrameStrategy() int

func (*Context) BQuantFactor

func (ctxt *Context) BQuantFactor() float64

func (*Context) BQuantOffset

func (ctxt *Context) BQuantOffset() float64

func (*Context) BSensitivity

func (ctxt *Context) BSensitivity() int

func (*Context) BidirRefine

func (ctxt *Context) BidirRefine() int

func (*Context) BitRate

func (ctxt *Context) BitRate() int

func (*Context) BitRateTolerance

func (ctxt *Context) BitRateTolerance() int

func (*Context) BitsPerCodedSample

func (ctxt *Context) BitsPerCodedSample() int

func (*Context) BitsPerRawSample

func (ctxt *Context) BitsPerRawSample() int

func (*Context) BlockAlign

func (ctxt *Context) BlockAlign() int

func (*Context) BrdScale

func (ctxt *Context) BrdScale() int

func (*Context) Channels

func (ctxt *Context) Channels() int

func (*Context) ChromaSampleLocation

func (ctxt *Context) ChromaSampleLocation() AvChromaLocation

func (*Context) Chromaoffset

func (ctxt *Context) Chromaoffset() int

func (*Context) CodecDescriptor

func (ctxt *Context) CodecDescriptor() *Descriptor

func (*Context) CodecId

func (ctxt *Context) CodecId() CodecId

func (*Context) CodecType

func (ctxt *Context) CodecType() MediaType

func (*Context) CodedHeight

func (ctxt *Context) CodedHeight() int

func (*Context) CodedWidth

func (ctxt *Context) CodedWidth() int

func (*Context) CoderType

func (ctxt *Context) CoderType() int

func (*Context) ColorPrimaries

func (ctxt *Context) ColorPrimaries() AvColorPrimaries

func (*Context) ColorRange

func (ctxt *Context) ColorRange() AvColorRange

func (*Context) ColorTrc

func (ctxt *Context) ColorTrc() AvColorTransferCharacteristic

func (*Context) Colorspace

func (ctxt *Context) Colorspace() AvColorSpace

func (*Context) CompressionLevel

func (ctxt *Context) CompressionLevel() int

func (*Context) ContextModel

func (ctxt *Context) ContextModel() int

func (*Context) Cutoff

func (ctxt *Context) Cutoff() int

func (*Context) DarkMasking

func (ctxt *Context) DarkMasking() float64

func (*Context) DctAlgo

func (ctxt *Context) DctAlgo() int

func (*Context) Debug

func (ctxt *Context) Debug() int

func (*Context) DebugMv

func (ctxt *Context) DebugMv() int

func (*Context) Delay

func (ctxt *Context) Delay() int

func (*Context) DiaSize

func (ctxt *Context) DiaSize() int

func (*Context) ErrRecognition

func (ctxt *Context) ErrRecognition() int

func (*Context) ErrorConcealment

func (ctxt *Context) ErrorConcealment() int

func (*Context) ExtradataSize

func (ctxt *Context) ExtradataSize() int

func (*Context) FieldOrder

func (ctxt *Context) FieldOrder() AvFieldOrder

func (*Context) Flags

func (ctxt *Context) Flags() int

func (*Context) Flags2

func (ctxt *Context) Flags2() int

func (*Context) FrameBits

func (ctxt *Context) FrameBits() int

func (*Context) FrameNumber

func (ctxt *Context) FrameNumber() int

func (*Context) FrameSize

func (ctxt *Context) FrameSize() int

func (*Context) FrameSkipCmp

func (ctxt *Context) FrameSkipCmp() int

func (*Context) FrameSkipExp

func (ctxt *Context) FrameSkipExp() int

func (*Context) FrameSkipFactor

func (ctxt *Context) FrameSkipFactor() int

func (*Context) FrameSkipThreshold

func (ctxt *Context) FrameSkipThreshold() int

func (*Context) GlobalQuality

func (ctxt *Context) GlobalQuality() int

func (*Context) GopSize

func (ctxt *Context) GopSize() int

func (*Context) HasBFrames

func (ctxt *Context) HasBFrames() int

func (*Context) HeaderBits

func (ctxt *Context) HeaderBits() int

func (*Context) Height

func (ctxt *Context) Height() int

func (*Context) ICount

func (ctxt *Context) ICount() int

func (*Context) IQuantFactor

func (ctxt *Context) IQuantFactor() float64

func (*Context) IQuantOffset

func (ctxt *Context) IQuantOffset() float64

func (*Context) ITexBits

func (ctxt *Context) ITexBits() int

func (*Context) IdctAlgo

func (ctxt *Context) IdctAlgo() int

func (*Context) IldctCmp

func (ctxt *Context) IldctCmp() int

func (*Context) IntraDcPrecision

func (ctxt *Context) IntraDcPrecision() int

func (*Context) KeyintMin

func (ctxt *Context) KeyintMin() int

func (*Context) LastPredictorCount

func (ctxt *Context) LastPredictorCount() int

func (*Context) Level

func (ctxt *Context) Level() int

func (*Context) LogLevelOffset

func (ctxt *Context) LogLevelOffset() int

func (*Context) Lowres

func (ctxt *Context) Lowres() int

func (*Context) LumiMasking

func (ctxt *Context) LumiMasking() float64

func (*Context) MaxBFrames

func (ctxt *Context) MaxBFrames() int

func (*Context) MaxPredictionOrder

func (ctxt *Context) MaxPredictionOrder() int

func (*Context) MaxQdiff

func (ctxt *Context) MaxQdiff() int

func (*Context) MbCmp

func (ctxt *Context) MbCmp() int

func (*Context) MbDecision

func (ctxt *Context) MbDecision() int

func (*Context) MbLmax

func (ctxt *Context) MbLmax() int

func (*Context) MbLmin

func (ctxt *Context) MbLmin() int

func (*Context) MeCmp

func (ctxt *Context) MeCmp() int

func (*Context) MePenaltyCompensation

func (ctxt *Context) MePenaltyCompensation() int

func (*Context) MePreCmp

func (ctxt *Context) MePreCmp() int

func (*Context) MeRange

func (ctxt *Context) MeRange() int

func (*Context) MeSubCmp

func (ctxt *Context) MeSubCmp() int

func (*Context) MeSubpelQuality

func (ctxt *Context) MeSubpelQuality() int

func (*Context) MinPredictionOrder

func (ctxt *Context) MinPredictionOrder() int

func (*Context) MiscBits

func (ctxt *Context) MiscBits() int

func (*Context) MpegQuant

func (ctxt *Context) MpegQuant() int

func (*Context) Mv0Threshold

func (ctxt *Context) Mv0Threshold() int

func (*Context) MvBits

func (ctxt *Context) MvBits() int

func (*Context) NoiseReduction

func (ctxt *Context) NoiseReduction() int

func (*Context) NsseWeight

func (ctxt *Context) NsseWeight() int

func (*Context) PCount

func (ctxt *Context) PCount() int

func (*Context) PMasking

func (ctxt *Context) PMasking() float64

func (*Context) PTexBits

func (ctxt *Context) PTexBits() int

func (*Context) PixFmt

func (ctxt *Context) PixFmt() PixelFormat

func (*Context) PreDiaSize

func (ctxt *Context) PreDiaSize() int

func (*Context) PreMe

func (ctxt *Context) PreMe() int

func (*Context) PredictionMethod

func (ctxt *Context) PredictionMethod() int

func (*Context) Profile

func (ctxt *Context) Profile() int

func (*Context) Qblur

func (ctxt *Context) Qblur() float64

func (*Context) Qcompress

func (ctxt *Context) Qcompress() float64

func (*Context) Qmax

func (ctxt *Context) Qmax() int

func (*Context) Qmin

func (ctxt *Context) Qmin() int

func (*Context) RcBufferSize

func (ctxt *Context) RcBufferSize() int

func (*Context) RcInitialBufferOccupancy

func (ctxt *Context) RcInitialBufferOccupancy() int

func (*Context) RcMaxAvailableVbvUse

func (ctxt *Context) RcMaxAvailableVbvUse() float64

func (*Context) RcMaxRate

func (ctxt *Context) RcMaxRate() int

func (*Context) RcMinRate

func (ctxt *Context) RcMinRate() int

func (*Context) RcMinVbvOverflowUse

func (ctxt *Context) RcMinVbvOverflowUse() float64

func (*Context) RcOverrideCount

func (ctxt *Context) RcOverrideCount() int

func (*Context) RefcountedFrames

func (ctxt *Context) RefcountedFrames() int

func (*Context) Refs

func (ctxt *Context) Refs() int

func (*Context) RequestSampleFmt

func (ctxt *Context) RequestSampleFmt() AvSampleFormat

func (*Context) RtpPayloadSize

func (ctxt *Context) RtpPayloadSize() int

func (*Context) SampleFmt

func (ctxt *Context) SampleFmt() AvSampleFormat

func (*Context) SampleRate

func (ctxt *Context) SampleRate() int

func (*Context) ScenechangeThreshold

func (ctxt *Context) ScenechangeThreshold() int

func (*Context) SeekPreroll

func (ctxt *Context) SeekPreroll() int

func (*Context) SetEncodeParams

func (ctxt *Context) SetEncodeParams(width int, height int, pxlFmt PixelFormat)

func (*Context) SetEncodeParams2

func (ctxt *Context) SetEncodeParams2(width int, height int, pxlFmt PixelFormat, hasBframes bool, gopSize int)

func (*Context) SetTimebase

func (ctxt *Context) SetTimebase(num1 int, den1 int)

func (*Context) SideDataOnlyPackets

func (ctxt *Context) SideDataOnlyPackets() int

func (*Context) SkipAlpha

func (ctxt *Context) SkipAlpha() int

func (*Context) SkipBottom

func (ctxt *Context) SkipBottom() int

func (*Context) SkipCount

func (ctxt *Context) SkipCount() int

func (*Context) SkipFrame

func (ctxt *Context) SkipFrame() AvDiscard

func (*Context) SkipIdct

func (ctxt *Context) SkipIdct() AvDiscard

func (*Context) SkipLoopFilter

func (ctxt *Context) SkipLoopFilter() AvDiscard

func (*Context) SkipTop

func (ctxt *Context) SkipTop() int

func (*Context) SliceCount

func (ctxt *Context) SliceCount() int

func (*Context) SliceFlags

func (ctxt *Context) SliceFlags() int

func (*Context) Slices

func (ctxt *Context) Slices() int

func (*Context) SpatialCplxMasking

func (ctxt *Context) SpatialCplxMasking() float64

func (*Context) StrictStdCompliance

func (ctxt *Context) StrictStdCompliance() int

func (*Context) SubCharencMode

func (ctxt *Context) SubCharencMode() int

func (*Context) SubtitleHeaderSize

func (ctxt *Context) SubtitleHeaderSize() int

func (*Context) TemporalCplxMasking

func (ctxt *Context) TemporalCplxMasking() float64

func (*Context) ThreadCount

func (ctxt *Context) ThreadCount() int

func (*Context) ThreadSafeCallbacks

func (ctxt *Context) ThreadSafeCallbacks() int

func (*Context) ThreadType

func (ctxt *Context) ThreadType() int

func (*Context) TicksPerFrame

func (ctxt *Context) TicksPerFrame() int

func (*Context) Trellis

func (ctxt *Context) Trellis() int

func (*Context) Width

func (ctxt *Context) Width() int

func (*Context) WorkaroundBugs

func (ctxt *Context) WorkaroundBugs() int

type Descriptor

type Descriptor C.struct_AVCodecDescriptor

func AvcodecDescriptorGet

func AvcodecDescriptorGet(id CodecId) *Descriptor

const Descriptor *avcodec_descriptor_get (enum CodecId id)

func AvcodecDescriptorGetByName

func AvcodecDescriptorGetByName(n string) *Descriptor

func (*Descriptor) AvcodecDescriptorNext

func (d *Descriptor) AvcodecDescriptorNext() *Descriptor

Iterate over all codec descriptors known to libavcodec.

type Dictionary

type Dictionary C.struct_AVDictionary

type Frame

type Frame C.struct_AVFrame

func (*Frame) Pts

func (f *Frame) Pts() int64

type MediaType

type MediaType C.enum_AVMediaType

func AvcodecGetType

func AvcodecGetType(c CodecId) MediaType

Get the type of the given codec.

type Packet

type Packet C.struct_AVPacket

func AvPacketAlloc

func AvPacketAlloc() *Packet

func (*Packet) AvCopyPacket

func (p *Packet) AvCopyPacket(r *Packet) int

Copy packet, including contents.

func (*Packet) AvCopyPacketSideData

func (p *Packet) AvCopyPacketSideData(r *Packet) int

Copy packet side data.

func (*Packet) AvDupPacket

func (p *Packet) AvDupPacket() int

func (*Packet) AvFreePacket

func (p *Packet) AvFreePacket()

Free a packet.

func (*Packet) AvGrowPacket

func (p *Packet) AvGrowPacket(s int) int

Increase packet size, correctly zeroing padding.

func (*Packet) AvInitPacket

func (p *Packet) AvInitPacket()

Initialize optional fields of a packet with default values.

func (*Packet) AvNewPacket

func (p *Packet) AvNewPacket(s int) int

Allocate the payload of a packet and initialize its fields with default values.

func (*Packet) AvPacketCopyProps

func (p *Packet) AvPacketCopyProps(s *Packet) int

Copy only "properties" fields from src to dst.

func (*Packet) AvPacketFreeSideData

func (p *Packet) AvPacketFreeSideData()

Convenience function to free all the side data stored.

func (*Packet) AvPacketFromData

func (p *Packet) AvPacketFromData(d *uint8, s int) int

Initialize a reference-counted packet from av_malloc()ed data.

func (*Packet) AvPacketGetSideData

func (p *Packet) AvPacketGetSideData(t AvPacketSideDataType, s *int) *uint8

Get side information from packet.

func (*Packet) AvPacketMergeSideData

func (p *Packet) AvPacketMergeSideData() int

int av_packet_merge_side_data (Packet *pkt)

func (*Packet) AvPacketMoveRef

func (p *Packet) AvPacketMoveRef(s *Packet)

Move every field in src to dst and reset src.

func (*Packet) AvPacketNewSideData

func (p *Packet) AvPacketNewSideData(t AvPacketSideDataType, s int) *uint8

Allocate new information of a packet.

func (*Packet) AvPacketRef

func (p *Packet) AvPacketRef(s *Packet) int

Setup a new reference to the data described by a given packet.

func (*Packet) AvPacketRescaleTs

func (p *Packet) AvPacketRescaleTs(r, r2 Rational)

Convert valid timing fields (timestamps / durations) in a packet from one timebase to another.

func (*Packet) AvPacketShrinkSideData

func (p *Packet) AvPacketShrinkSideData(t AvPacketSideDataType, s int) int

Shrink the already allocated side data buffer.

func (*Packet) AvPacketSplitSideData

func (p *Packet) AvPacketSplitSideData() int

int av_packet_split_side_data (Packet *pkt)

func (*Packet) AvPacketUnref

func (p *Packet) AvPacketUnref()

Wipe the packet.

func (*Packet) AvShrinkPacket

func (p *Packet) AvShrinkPacket(s int)

Reduce packet size, correctly zeroing padding.

func (*Packet) Buf

func (p *Packet) Buf() *AvBufferRef

func (*Packet) ConvergenceDuration

func (p *Packet) ConvergenceDuration() int64

func (*Packet) Data

func (p *Packet) Data() *uint8

func (*Packet) Dts

func (p *Packet) Dts() int64

func (*Packet) Duration

func (p *Packet) Duration() int

func (*Packet) Flags

func (p *Packet) Flags() int

func (*Packet) Pos

func (p *Packet) Pos() int64

func (*Packet) Pts

func (p *Packet) Pts() int64

func (*Packet) SetDts

func (p *Packet) SetDts(dts int64)

func (*Packet) SetFlags

func (p *Packet) SetFlags(flags int)

func (*Packet) SetPts

func (p *Packet) SetPts(pts int64)

func (*Packet) SetStreamIndex

func (p *Packet) SetStreamIndex(idx int)

func (*Packet) SideDataElems

func (p *Packet) SideDataElems() int

func (*Packet) Size

func (p *Packet) Size() int

func (*Packet) StreamIndex

func (p *Packet) StreamIndex() int

type Parser

type Parser C.struct_AVCodecParser

func (*Parser) AvParserNext

func (p *Parser) AvParserNext() *Parser

func (*Parser) AvRegisterCodecParser

func (p *Parser) AvRegisterCodecParser()

type ParserContext

type ParserContext C.struct_AVCodecParserContext

func AvParserInit

func AvParserInit(c int) *ParserContext

type Picture

type Picture C.struct_AVPicture

func (*Picture) AvPictureCopy

func (p *Picture) AvPictureCopy(d *Picture, pf PixelFormat, w, h int)

AvPictureCopy -Copy image src to dst.

func (*Picture) AvPictureCrop

func (p *Picture) AvPictureCrop(d *Picture, pf PixelFormat, t, l int) int

AvPictureCrop - Crop image top and left side.

func (*Picture) AvPicturePad

func (p *Picture) AvPicturePad(d *Picture, h, w int, pf PixelFormat, t, b, l, r int, c *int) int

AvPicturePad - Pad image.

func (*Picture) AvpictureAlloc

func (p *Picture) AvpictureAlloc(t PixelFormat, w, h int) int

AvpictureAlloc - Free a picture previously allocated by avpicture_alloc(). Allocate memory for the pixels of a picture and setup the Picture fields for it.

func (*Picture) AvpictureFill

func (p *Picture) AvpictureFill(pt *uint8, pf PixelFormat, w, h int) int

AvpictureFill - Setup the picture fields based on the specified image parameters and the provided image data buffer.

func (*Picture) AvpictureFree

func (p *Picture) AvpictureFree()

AvpictureFree - Free

func (*Picture) AvpictureLayout

func (p *Picture) AvpictureLayout(pf PixelFormat, w, h int, d *string, ds int) int

AvpictureLayout copies pixel data from an Picture into a buffer.

type PixelFormat

type PixelFormat C.enum_AVPixelFormat

func (PixelFormat) AvcodecFindBestPixFmtOf2

func (p PixelFormat) AvcodecFindBestPixFmtOf2(f2, s PixelFormat, a int, l *int) PixelFormat

func (*PixelFormat) AvcodecFindBestPixFmtOfList

func (p *PixelFormat) AvcodecFindBestPixFmtOfList(s PixelFormat, a int, l *int) PixelFormat

Find the best pixel format to convert to given a certain source pixel format.

func (PixelFormat) AvcodecGetChromaSubSample

func (p PixelFormat) AvcodecGetChromaSubSample(h, v *int)

Utility function to access log2_chroma_w log2_chroma_h from the pixel format AvPixFmtDescriptor.

func (PixelFormat) AvcodecGetPixFmtLoss

func (p PixelFormat) AvcodecGetPixFmtLoss(f PixelFormat, a int) int

func (PixelFormat) AvcodecPixFmtToCodecTag

func (p PixelFormat) AvcodecPixFmtToCodecTag() uint

Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found.

func (PixelFormat) String

func (pf PixelFormat) String() string

type Rational

type Rational C.struct_AVRational

func NewRational

func NewRational(num, den int) Rational

func (*Rational) Assign

func (r *Rational) Assign(o Rational)

func (Rational) Den

func (r Rational) Den() int

func (Rational) Num

func (r Rational) Num() int

func (*Rational) Set

func (r *Rational) Set(num, den int)

func (Rational) String

func (r Rational) String() string

type RcOverride

type RcOverride C.struct_RcOverride

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL