Skip to content

Instantly share code, notes, and snippets.

@pjobson
Forked from u1735067/mkv-output-codec-list.csv
Created August 10, 2018 06:01
Show Gist options
  • Save pjobson/2603ea6c6697a761b3618f6ebcc8f063 to your computer and use it in GitHub Desktop.
Save pjobson/2603ea6c6697a761b3618f6ebcc8f063 to your computer and use it in GitHub Desktop.
Constant Wrapper function Codec_ID Extension Extension alt. Python dict
MKV_A_AC3 xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital (AC-3)"); A_AC3 ac3 'A_AC3': 'ac3'
MKV_A_EAC3 xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital Plus (E-AC-3)"); A_EAC3 eac3 'A_EAC3': 'eac3'
A_MPEG/L* xtr_base_c(new_codec_id, new_tid, tspec,"MPEG-1 Audio Layer 2/3"); A_MPEG/L2 mp2 'A_MPEG/L2': 'mp2'
A_MPEG/L3 mp3 'A_MPEG/L3': 'mp3'
MKV_A_DTS xtr_base_c(new_codec_id, new_tid, tspec,"Digital Theater System (DTS)"); A_DTS dts 'A_DTS': 'dts'
MKV_A_PCM xtr_wav_c(new_codec_id, new_tid, tspec); A_PCM/INT/LIT wav 'A_PCM/INT/LIT': 'wav'
MKV_A_PCM_BE xtr_wav_c(new_codec_id, new_tid, tspec); A_PCM/INT/BIG wav 'A_PCM/INT/BIG': 'wav'
MKV_A_FLAC xtr_flac_c(new_codec_id, new_tid, tspec); A_FLAC flac ogg 'A_FLAC': 'flac'
MKV_A_ALAC xtr_alac_c(new_codec_id, new_tid, tspec); A_ALAC caf m4a 'A_ALAC': 'caf'
MKV_A_VORBIS xtr_oggvorbis_c(new_codec_id, new_tid, tspec); A_VORBIS oga ogg 'A_VORBIS': 'oga'
MKV_A_OPUS xtr_oggopus_c(new_codec_id, new_tid, tspec); A_OPUS opus ogg 'A_OPUS': 'opus'
A_AAC* xtr_aac_c(new_codec_id, new_tid, tspec); A_AAC aac m4a 'A_AAC': 'aac'
A_REAL/* xtr_rmff_c(new_codec_id, new_tid, tspec); A_REAL/ ra rm 'A_REAL/': 'ra'
MKV_A_MLP xtr_base_c(new_codec_id, new_tid, tspec,"MLP"); A_MLP mlp 'A_MLP': 'mlp'
MKV_A_TRUEHD xtr_base_c(new_codec_id, new_tid, tspec,"TrueHD"); A_TRUEHD thd 'A_TRUEHD': 'thd'
MKV_A_TTA xtr_tta_c(new_codec_id, new_tid, tspec); A_TTA1 tta 'A_TTA1': 'tta'
MKV_A_WAVPACK4 xtr_wavpack4_c(new_codec_id, new_tid, tspec); A_WAVPACK4 wv 'A_WAVPACK4': 'wv'
MKV_V_MSCOMP xtr_avi_c(new_codec_id, new_tid, tspec); V_MS/VFW/FOURCC avi 'V_MS/VFW/FOURCC': 'avi'
MKV_V_MPEG4_AVC xtr_avc_c(new_codec_id, new_tid, tspec); V_MPEG4/ISO/AVC h264 'V_MPEG4/ISO/AVC': 'h264'
MKV_V_MPEGH_HEVC xtr_hevc_c(new_codec_id, new_tid, tspec); V_MPEGH/ISO/HEVC h265 'V_MPEGH/ISO/HEVC': 'h265'
V_REAL/* xtr_rmff_c(new_codec_id, new_tid, tspec); V_REAL/ rv rm 'V_REAL/': 'rv'
MKV_V_MPEG1 xtr_mpeg1_2_video_c(new_codec_id, new_tid, tspec); V_MPEG1 m1v 'V_MPEG1': 'm1v'
MKV_V_MPEG2 xtr_mpeg1_2_video_c(new_codec_id, new_tid, tspec); V_MPEG2 m2v 'V_MPEG2': 'm2v'
MKV_V_THEORA xtr_oggtheora_c(new_codec_id, new_tid, tspec); V_THEORA ogv 'V_THEORA': 'ogv'
MKV_V_VP8 xtr_ivf_c(new_codec_id, new_tid, tspec); V_VP8 ivf 'V_VP8': 'ivf'
MKV_V_VP9 xtr_ivf_c(new_codec_id, new_tid, tspec); V_VP9 ivf 'V_VP9': 'ivf'
MKV_S_TEXTUTF8 xtr_srt_c(new_codec_id, new_tid, tspec); S_TEXT/UTF8 srt 'S_TEXT/UTF8': 'srt'
MKV_S_TEXTASCII xtr_srt_c(new_codec_id, new_tid, tspec); S_TEXT/ASCII srt 'S_TEXT/ASCII': 'srt'
MKV_S_TEXTSSA xtr_ssa_c(new_codec_id, new_tid, tspec); S_TEXT/SSA ssa 'S_TEXT/SSA': 'ssa'
MKV_S_TEXTASS xtr_ssa_c(new_codec_id, new_tid, tspec); S_TEXT/ASS ass 'S_TEXT/ASS': 'ass'
S_SSA xtr_ssa_c(new_codec_id, new_tid, tspec); S_SSA ssa 'S_SSA': 'ssa'
S_ASS xtr_ssa_c(new_codec_id, new_tid, tspec); S_ASS ass 'S_ASS': 'ass'
MKV_S_VOBSUB xtr_vobsub_c(new_codec_id, new_tid, tspec); S_VOBSUB sub 'S_VOBSUB': 'sub'
MKV_S_TEXTUSF xtr_usf_c(new_codec_id, new_tid, tspec); S_TEXT/USF usf 'S_TEXT/USF': 'usf'
MKV_S_KATE xtr_oggkate_c(new_codec_id, new_tid, tspec); S_KATE ogx 'S_KATE': 'ogx'
MKV_S_HDMV_PGS xtr_hdmv_pgs_c(new_codec_id, new_tid, tspec); S_HDMV/PGS sup 'S_HDMV/PGS': 'sup'
MKV_S_HDMV_TEXTST xtr_hdmv_textst_c(new_codec_id, new_tid, tspec); S_HDMV/TEXTST textst 'S_HDMV/TEXTST': 'textst'
MKV_S_TEXTWEBVTT xtr_webvtt_c(new_codec_id, new_tid, tspec); S_TEXT/WEBVTT vtt 'S_TEXT/WEBVTT': 'vtt'
@mbassiouny33
Copy link

S_VOBSUB may also refer to an .idx file, not necessarily .sub file. While Both are basically DVD subtitles, so it would not matter. But I think it the extension "idx" should be added to the list for the sake of completeness

@pjobson
Copy link
Author

pjobson commented Jan 14, 2023

@mbassiouny33

This list is simply a fork of someone else's work. https://gist.github.com/u1735067/932271dfb106a9898ef232861100e3cf

This is not a definition list it is simply an abstraction from the files listed, some of which are gone now. This page only exists as a reference for myself. If you're looking to make a definition list, I highly recommend you fork the original and use that to make your own work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment