#[repr(transparent)]pub struct AVCodecID(pub i32);
Expand description
Enum representing various FFmpeg codec IDs.
Each codec corresponds to an FFmpeg-supported format, including video, audio, and subtitle codecs. The full list of FFmpeg codecs can be found in the official documentation:
These IDs are directly mapped from AV_CODEC_ID_*
constants in FFmpeg.
Tuple Fields§
§0: i32
Implementations§
Source§impl AVCodecID
impl AVCodecID
Sourcepub const Mpeg1Video: Self
pub const Mpeg1Video: Self
MPEG-1 Video codec. Commonly used in Video CDs and early digital broadcasting.
Sourcepub const Mpeg2Video: Self
pub const Mpeg2Video: Self
MPEG-2 Video codec. Used in DVDs, digital TV broadcasting, and early HD video.
Sourcepub const H261: Self
pub const H261: Self
H.261 video codec. An early video compression standard used for video conferencing.
Sourcepub const H263: Self
pub const H263: Self
H.263 video codec. A predecessor to H.264, used in video conferencing and mobile video.
Sourcepub const Rv20: Self
pub const Rv20: Self
RealVideo 2.0 codec. Improved version of RealVideo for streaming applications.
Sourcepub const MjpegB: Self
pub const MjpegB: Self
Motion JPEG-B codec. A variant of Motion JPEG with a slightly different encoding method.
Sourcepub const Ljpeg: Self
pub const Ljpeg: Self
Lossless JPEG codec. Used for medical imaging and other applications needing lossless compression.
Sourcepub const Mpeg4: Self
pub const Mpeg4: Self
MPEG-4 Part 2 video codec. Used in DivX, Xvid, and some early video formats before H.264.
Sourcepub const MsMpeg4V1: Self
pub const MsMpeg4V1: Self
Microsoft MPEG-4 Version 1 codec. An early proprietary MPEG-4-based codec.
Sourcepub const MsMpeg4V2: Self
pub const MsMpeg4V2: Self
Microsoft MPEG-4 Version 2 codec. Improved version of the earlier Microsoft MPEG-4 codec.
Sourcepub const MsMpeg4V3: Self
pub const MsMpeg4V3: Self
Microsoft MPEG-4 Version 3 codec. Used in older Windows Media Video (WMV) files.
Sourcepub const H263P: Self
pub const H263P: Self
H.263+ video codec. An improved version of H.263 with better compression efficiency.
Sourcepub const Svq3: Self
pub const Svq3: Self
Sorenson Video 3 codec. A more advanced version used in some QuickTime movies.
Sourcepub const DvVideo: Self
pub const DvVideo: Self
DV Video codec. Used in Digital Video (DV) camcorders and professional video production.
Sourcepub const Huffyuv: Self
pub const Huffyuv: Self
HuffYUV codec. A lossless video compression codec commonly used for archiving.
Sourcepub const Cyuv: Self
pub const Cyuv: Self
Creative Labs YUV codec. Used in some old hardware-accelerated video capture cards.
Sourcepub const H264: Self
pub const H264: Self
H.264 / AVC codec. One of the most widely used video codecs, offering efficient compression.
Sourcepub const InterplayVideo: Self
pub const InterplayVideo: Self
Interplay Video codec. Used in some video game cutscenes from Interplay.
Sourcepub const Cinepak: Self
pub const Cinepak: Self
Cinepak codec. A widely used video codec in the 1990s for CD-ROM games and early digital videos.
Sourcepub const MsRle: Self
pub const MsRle: Self
Microsoft RLE codec. Used for simple Run-Length Encoding (RLE) video compression.
Sourcepub const MsVideo1: Self
pub const MsVideo1: Self
Microsoft Video 1 codec. A basic, low-quality video codec used in early Windows applications.
Sourcepub const EightBps: Self
pub const EightBps: Self
QuickTime 8BPS codec. A simple video compression format used in QuickTime.
Sourcepub const Truemotion1: Self
pub const Truemotion1: Self
TrueMotion 1 codec. A codec developed by Duck Corporation for video compression.
Sourcepub const Qtrle: Self
pub const Qtrle: Self
QuickTime RLE codec. A run-length encoding format used in QuickTime movies.
Sourcepub const PgmYuv: Self
pub const PgmYuv: Self
Portable Graymap with YUV format (PGMYUV). A grayscale format with additional chroma information.
Sourcepub const Pam: Self
pub const Pam: Self
Portable Arbitrary Map (PAM) codec. A more flexible version of PNM image formats.
Sourcepub const Vc1: Self
pub const Vc1: Self
VC-1 codec. A video codec developed by Microsoft, used in Blu-ray and streaming.
Sourcepub const Aasc: Self
pub const Aasc: Self
Autodesk AASC codec. Used for animation compression in early Autodesk software.
Sourcepub const Indeo2: Self
pub const Indeo2: Self
Indeo Video 2 codec. A proprietary format from Intel, predating Indeo 3.
Sourcepub const Truemotion2: Self
pub const Truemotion2: Self
TrueMotion 2 codec. An improved version of TrueMotion 1, used in older games.
Sourcepub const SmackVideo: Self
pub const SmackVideo: Self
Smacker Video codec. Used in video game cutscenes.
Sourcepub const Cavs: Self
pub const Cavs: Self
Chinese AVS video codec. Similar to H.264, used in Chinese video applications.
Sourcepub const Jpeg2000: Self
pub const Jpeg2000: Self
JPEG 2000 codec. A successor to JPEG, offering better compression and quality.
Sourcepub const Targa: Self
pub const Targa: Self
Targa video codec. Used for storing uncompressed TGA images in video sequences.
Sourcepub const DsicinVideo: Self
pub const DsicinVideo: Self
DSICIN Video codec. Used in games by Westwood Studios.
Sourcepub const TiertexSeqVideo: Self
pub const TiertexSeqVideo: Self
Tiertex SEQ Video codec. Used in old DOS and Amiga video games.
Sourcepub const Tiff: Self
pub const Tiff: Self
TIFF codec. A flexible image format supporting both lossless and compressed storage.
Sourcepub const BethSoftVid: Self
pub const BethSoftVid: Self
Bethesda Softworks Video codec. Used in older Bethesda games.
Sourcepub const Txd: Self
pub const Txd: Self
RenderWare TXD codec. Used in Grand Theft Auto III and other RenderWare-based games.
Sourcepub const Indeo4: Self
pub const Indeo4: Self
Indeo Video 4 codec. An improved version of Indeo 3 with better compression.
Sourcepub const A64Multi5: Self
pub const A64Multi5: Self
A64 Multi5 codec. A variant of A64 Multi with additional encoding options.
Sourcepub const ProRes: Self
pub const ProRes: Self
Apple ProRes codec. A professional intermediate codec commonly used in video editing.
Sourcepub const Wmv3Image: Self
pub const Wmv3Image: Self
WMV3 Image codec. A still image format based on Windows Media Video 9.
Sourcepub const UtVideo: Self
pub const UtVideo: Self
Ut Video codec. A lossless video codec optimized for fast encoding and decoding.
Sourcepub const Dxtory: Self
pub const Dxtory: Self
Dxtory codec. Used in game recording software for high-performance capture.
Sourcepub const Mss1: Self
pub const Mss1: Self
MSS1 codec. Microsoft Screen Codec 1, used for remote desktop applications.
Sourcepub const Mss2: Self
pub const Mss2: Self
MSS2 codec. Microsoft Screen Codec 2, used in Windows Media video recordings.
Sourcepub const BRenderPix: Self
pub const BRenderPix: Self
BRender PIX codec. A proprietary video compression format.
Sourcepub const Screenpresso: Self
pub const Screenpresso: Self
Screenpresso codec. A proprietary screen recording codec.
Sourcepub const Truemotion2Rt: Self
pub const Truemotion2Rt: Self
TrueMotion 2RT codec. A real-time variant of TrueMotion 2.
Sourcepub const SheerVideo: Self
pub const SheerVideo: Self
SheerVideo codec. A professional-grade lossless video codec.
Sourcepub const Pixlet: Self
pub const Pixlet: Self
Pixlet codec. A video codec developed by Apple for high-performance playback.
Sourcepub const ClearVideo: Self
pub const ClearVideo: Self
ClearVideo codec. A wavelet-based video compression format.
Sourcepub const Av1: Self
pub const Av1: Self
AV1 codec. A modern open-source video codec designed for high compression efficiency.
Sourcepub const NotchLc: Self
pub const NotchLc: Self
NotchLC codec. A GPU-accelerated intermediate codec for Notch software.
Sourcepub const PhotoCd: Self
pub const PhotoCd: Self
PhotoCD codec. A high-quality image format used for storing photographs.
Sourcepub const SimbiosisImx: Self
pub const SimbiosisImx: Self
Simbiosis IMX codec. A proprietary video format.
Sourcepub const JpegXl: Self
pub const JpegXl: Self
JPEG XL codec. A modern successor to JPEG with better compression and quality.
Sourcepub const RadianceHdr: Self
pub const RadianceHdr: Self
Radiance HDR codec. A high-dynamic-range image format.
Sourcepub const PcmU16Le: Self
pub const PcmU16Le: Self
PCM Unsigned 16-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmMuLaw: Self
pub const PcmMuLaw: Self
PCM Mu-Law codec. A logarithmic audio compression format used in telephony.
Sourcepub const PcmALaw: Self
pub const PcmALaw: Self
PCM A-Law codec. A logarithmic audio compression format used in telephony.
Sourcepub const PcmU32Le: Self
pub const PcmU32Le: Self
PCM Unsigned 32-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmU24Le: Self
pub const PcmU24Le: Self
PCM Unsigned 24-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmS24Daud: Self
pub const PcmS24Daud: Self
PCM Signed 24-bit DAUD codec. Used in digital audio applications.
Sourcepub const PcmS16LePlanar: Self
pub const PcmS16LePlanar: Self
PCM Signed 16-bit Little Endian Planar codec. Uncompressed raw audio format stored in planar format.
Sourcepub const PcmF32Be: Self
pub const PcmF32Be: Self
PCM Floating-Point 32-bit Big Endian codec. Uncompressed raw audio format.
Sourcepub const PcmF32Le: Self
pub const PcmF32Le: Self
PCM Floating-Point 32-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmF64Be: Self
pub const PcmF64Be: Self
PCM Floating-Point 64-bit Big Endian codec. Uncompressed raw audio format.
Sourcepub const PcmF64Le: Self
pub const PcmF64Le: Self
PCM Floating-Point 64-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmS8Planar: Self
pub const PcmS8Planar: Self
PCM Signed 8-bit Planar codec. Uncompressed raw audio stored in planar format.
Sourcepub const PcmS24LePlanar: Self
pub const PcmS24LePlanar: Self
PCM Signed 24-bit Little Endian Planar codec. Uncompressed raw audio stored in planar format.
Sourcepub const PcmS32LePlanar: Self
pub const PcmS32LePlanar: Self
PCM Signed 32-bit Little Endian Planar codec. Uncompressed raw audio stored in planar format.
Sourcepub const PcmS16BePlanar: Self
pub const PcmS16BePlanar: Self
PCM Signed 16-bit Big Endian Planar codec. Uncompressed raw audio stored in planar format.
Sourcepub const PcmF16Le: Self
pub const PcmF16Le: Self
PCM Floating-Point 16-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const PcmF24Le: Self
pub const PcmF24Le: Self
PCM Floating-Point 24-bit Little Endian codec. Uncompressed raw audio format.
Sourcepub const AdpcmImaQt: Self
pub const AdpcmImaQt: Self
ADPCM IMA QuickTime codec. Adaptive Differential Pulse-Code Modulation used in QuickTime.
Sourcepub const AdpcmImaWav: Self
pub const AdpcmImaWav: Self
ADPCM IMA WAV codec. Adaptive Differential Pulse-Code Modulation used in WAV files.
Sourcepub const AdpcmImaDk3: Self
pub const AdpcmImaDk3: Self
ADPCM IMA DK3 codec. Adaptive Differential Pulse-Code Modulation, variant DK3.
Sourcepub const AdpcmImaDk4: Self
pub const AdpcmImaDk4: Self
ADPCM IMA DK4 codec. Adaptive Differential Pulse-Code Modulation, variant DK4.
Sourcepub const AdpcmImaWs: Self
pub const AdpcmImaWs: Self
ADPCM IMA Westwood codec. Used in Westwood Studios video games.
Sourcepub const AdpcmImaSmjpeg: Self
pub const AdpcmImaSmjpeg: Self
ADPCM IMA Smacker codec. Used in Smacker video format.
Sourcepub const AdpcmMs: Self
pub const AdpcmMs: Self
ADPCM Microsoft codec. Microsoft variant of Adaptive Differential Pulse-Code Modulation.
Sourcepub const AdpcmYamaha: Self
pub const AdpcmYamaha: Self
ADPCM Yamaha codec. A variant of ADPCM used in Yamaha audio applications.
Sourcepub const AdpcmSbpro4: Self
pub const AdpcmSbpro4: Self
ADPCM Sound Blaster Pro 4-bit codec. Used in Sound Blaster Pro hardware.
Sourcepub const AdpcmSbpro3: Self
pub const AdpcmSbpro3: Self
ADPCM Sound Blaster Pro 3-bit codec. Used in Sound Blaster Pro hardware.
Sourcepub const AdpcmSbpro2: Self
pub const AdpcmSbpro2: Self
ADPCM Sound Blaster Pro 2-bit codec. Used in Sound Blaster Pro hardware.
Sourcepub const AdpcmImaAmv: Self
pub const AdpcmImaAmv: Self
ADPCM IMA AMV codec. Used in AMV video format.
Sourcepub const AdpcmImaEaSead: Self
pub const AdpcmImaEaSead: Self
ADPCM IMA Electronic Arts SEAD codec. Used in Electronic Arts games.
Sourcepub const AdpcmImaEaEacs: Self
pub const AdpcmImaEaEacs: Self
ADPCM IMA Electronic Arts EACS codec. Used in Electronic Arts games.
Sourcepub const AdpcmEaXas: Self
pub const AdpcmEaXas: Self
ADPCM Electronic Arts XAS codec. Used in Electronic Arts games.
Sourcepub const AdpcmEaMaxisXa: Self
pub const AdpcmEaMaxisXa: Self
ADPCM Electronic Arts Maxis XA codec. Used in Maxis-developed games.
Sourcepub const AdpcmImaIss: Self
pub const AdpcmImaIss: Self
ADPCM IMA ISS codec. Used in ISS audio format.
Sourcepub const AdpcmImaApc: Self
pub const AdpcmImaApc: Self
ADPCM IMA APC codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaOki: Self
pub const AdpcmImaOki: Self
ADPCM IMA OKI codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaRad: Self
pub const AdpcmImaRad: Self
ADPCM IMA RAD codec. A proprietary ADPCM format.
Sourcepub const AdpcmG726Le: Self
pub const AdpcmG726Le: Self
ADPCM G.726LE codec. A variant of G.726 with little-endian encoding.
Sourcepub const AdpcmThpLe: Self
pub const AdpcmThpLe: Self
ADPCM THP LE codec. Used in Nintendo THP files with little-endian storage.
Sourcepub const AdpcmImaDat4: Self
pub const AdpcmImaDat4: Self
ADPCM IMA DAT4 codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaSsi: Self
pub const AdpcmImaSsi: Self
ADPCM IMA SSI codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaApm: Self
pub const AdpcmImaApm: Self
ADPCM IMA APM codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaAlp: Self
pub const AdpcmImaAlp: Self
ADPCM IMA ALP codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaMtf: Self
pub const AdpcmImaMtf: Self
ADPCM IMA MTF codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaCunning: Self
pub const AdpcmImaCunning: Self
ADPCM IMA Cunning codec. A proprietary ADPCM format.
Sourcepub const AdpcmImaMoflex: Self
pub const AdpcmImaMoflex: Self
ADPCM IMA Moflex codec. Used in Moflex multimedia format.
Sourcepub const AdpcmImaAcorn: Self
pub const AdpcmImaAcorn: Self
ADPCM IMA Acorn codec. A proprietary ADPCM format.
Sourcepub const AmrNb: Self
pub const AmrNb: Self
AMR Narrowband codec. Adaptive Multi-Rate codec, used in mobile telephony.
Sourcepub const InterplayDpcm: Self
pub const InterplayDpcm: Self
Interplay DPCM codec. Used in Interplay Entertainment video game audio.
Sourcepub const GremlinDpcm: Self
pub const GremlinDpcm: Self
Gremlin DPCM codec. Used in Gremlin Interactive games.
Sourcepub const Aac: Self
pub const Aac: Self
AAC codec. Advanced Audio Coding, widely used in streaming and mobile applications.
Sourcepub const Dts: Self
pub const Dts: Self
DTS codec. Digital Theater Systems audio, commonly used in Blu-ray and cinema.
Sourcepub const Flac: Self
pub const Flac: Self
FLAC codec. Free Lossless Audio Codec, widely used for high-quality audio storage.
Sourcepub const WestwoodSnd1: Self
pub const WestwoodSnd1: Self
Westwood SND1 codec. Used in Westwood Studios games.
Sourcepub const TrueSpeech: Self
pub const TrueSpeech: Self
TrueSpeech codec. A low-bitrate speech codec developed by DSP Group.
Sourcepub const SmackAudio: Self
pub const SmackAudio: Self
Smacker Audio codec. Used in Smacker video files.
Sourcepub const DsicinAudio: Self
pub const DsicinAudio: Self
Discworld II Audio codec. Used in certain FMV-based video games.
Sourcepub const Musepack7: Self
pub const Musepack7: Self
Musepack v7 codec. A lossy audio format optimized for high-quality compression.
Sourcepub const Atrac3: Self
pub const Atrac3: Self
ATRAC3 codec. Sony’s Adaptive Transform Acoustic Coding, used in MiniDisc and PSP.
Sourcepub const Nellymoser: Self
pub const Nellymoser: Self
Nellymoser codec. Used in Flash-based streaming audio.
Sourcepub const WmaVoice: Self
pub const WmaVoice: Self
Windows Media Audio Voice codec. Used for low-bitrate speech in Windows Media applications.
Sourcepub const WmaPro: Self
pub const WmaPro: Self
Windows Media Audio Professional codec. A high-fidelity version of Windows Media Audio.
Sourcepub const WmaLossless: Self
pub const WmaLossless: Self
Windows Media Audio Lossless codec. A lossless compression format from Microsoft.
Sourcepub const Eac3: Self
pub const Eac3: Self
Enhanced AC-3 codec. Also known as E-AC-3, used in digital broadcasting and Blu-ray.
Sourcepub const Atrac1: Self
pub const Atrac1: Self
ATRAC1 codec. The original Adaptive Transform Acoustic Coding format from Sony.
Sourcepub const BinkAudioRdft: Self
pub const BinkAudioRdft: Self
Bink Audio RDFT codec. Used in Bink video files.
Sourcepub const BinkAudioDct: Self
pub const BinkAudioDct: Self
Bink Audio DCT codec. Another audio format used in Bink multimedia.
Sourcepub const EightSvxExp: Self
pub const EightSvxExp: Self
8SVX Exponential codec. An audio format used on Amiga computers.
Sourcepub const EightSvxFib: Self
pub const EightSvxFib: Self
8SVX Fibonacci codec. Another variant of the 8SVX Amiga audio format.
Sourcepub const Opus: Self
pub const Opus: Self
Opus codec. A highly efficient and low-latency audio codec for streaming and VoIP.
Sourcepub const ComfortNoise: Self
pub const ComfortNoise: Self
Comfort Noise codec. Used in VoIP applications to generate artificial background noise.
Sourcepub const FfwaveSynth: Self
pub const FfwaveSynth: Self
FFmpeg WaveSynth codec. A synthetic waveform generator.
Sourcepub const DsdLsbf: Self
pub const DsdLsbf: Self
DSD LSBF codec. Direct Stream Digital format with least-significant-bit first ordering.
Sourcepub const DsdMsbf: Self
pub const DsdMsbf: Self
DSD MSBF codec. Direct Stream Digital format with most-significant-bit first ordering.
Sourcepub const DsdLsbfPlanar: Self
pub const DsdLsbfPlanar: Self
DSD LSBF Planar codec. Planar version of DSD LSBF.
Sourcepub const DsdMsbfPlanar: Self
pub const DsdMsbfPlanar: Self
DSD MSBF Planar codec. Planar version of DSD MSBF.
Sourcepub const InterplayAcm: Self
pub const InterplayAcm: Self
Interplay ACM codec. Used in Interplay Entertainment video games.
Sourcepub const Atrac9: Self
pub const Atrac9: Self
ATRAC9 codec. A high-efficiency Sony audio codec used in PlayStation consoles.
Sourcepub const AcelpKelvin: Self
pub const AcelpKelvin: Self
ACELP Kelvin codec. A speech codec.
Sourcepub const Mpegh3DAudio: Self
pub const Mpegh3DAudio: Self
MPEG-H 3D Audio codec. A next-generation audio standard with 3D sound.
Sourcepub const Ac4: Self
pub const Ac4: Self
AC4 codec. A next-generation Dolby audio codec for broadcasting and streaming.
Sourcepub const DvdSubtitle: Self
pub const DvdSubtitle: Self
DVD Subtitle codec. Subtitle format used in DVDs.
Sourcepub const DvbSubtitle: Self
pub const DvbSubtitle: Self
DVB Subtitle codec. Subtitle format used in DVB broadcasts.
Sourcepub const MovText: Self
pub const MovText: Self
MOV Text codec. Text-based subtitles stored in QuickTime/MOV containers.
Sourcepub const HdmvPgsSubtitle: Self
pub const HdmvPgsSubtitle: Self
HDMV PGS Subtitle codec. Blu-ray subtitle format using graphical images.
Sourcepub const DvbTeletext: Self
pub const DvbTeletext: Self
DVB Teletext codec. Teletext format used in DVB broadcasts.
Sourcepub const Srt: Self
pub const Srt: Self
SRT codec. SubRip Subtitle format, one of the most common subtitle formats.
Sourcepub const JacoSub: Self
pub const JacoSub: Self
JacoSub codec. A subtitle format used in older multimedia applications.
Sourcepub const Sami: Self
pub const Sami: Self
SAMI codec. Synchronized Accessible Media Interchange, a subtitle format from Microsoft.
Sourcepub const SubViewer1: Self
pub const SubViewer1: Self
SubViewer 1 codec. A simple subtitle format similar to SRT.
Sourcepub const VPlayer: Self
pub const VPlayer: Self
VPlayer codec. A subtitle format used in older multimedia applications.
Sourcepub const HdmvTextSubtitle: Self
pub const HdmvTextSubtitle: Self
HDMV Text Subtitle codec. A subtitle format used in Blu-ray movies.
Sourcepub const AribCaption: Self
pub const AribCaption: Self
ARIB Caption codec. A subtitle format used in Japanese digital broadcasting.
Sourcepub const Scte35: Self
pub const Scte35: Self
SCTE-35 codec. Standard for inserting cue points in digital broadcasting.
DVD Navigation codec. Data format used for interactive DVD menus.
Sourcepub const BinData: Self
pub const BinData: Self
Binary Data codec. Used for arbitrary binary data storage in multimedia files.
Sourcepub const Lcevc: Self
pub const Lcevc: Self
LCEVC codec. Low Complexity Enhancement Video Coding, a scalable video enhancement format.
Sourcepub const Mpeg2Ts: Self
pub const Mpeg2Ts: Self
MPEG-2 Transport Stream codec. A container format for digital broadcasting.
Sourcepub const Mpeg4Systems: Self
pub const Mpeg4Systems: Self
MPEG-4 Systems codec. A container format for MPEG-4 multimedia.
Sourcepub const FfMetadata: Self
pub const FfMetadata: Self
FFmpeg Metadata codec. Stores metadata in multimedia files.
Sourcepub const WrappedAvFrame: Self
pub const WrappedAvFrame: Self
Wrapped AVFrame codec. Used internally by FFmpeg to wrap raw frame data.