00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "matroska.h"
00023
00024 const CodecTags ff_mkv_codec_tags[]={
00025 {"A_AAC" , CODEC_ID_AAC},
00026 {"A_AC3" , CODEC_ID_AC3},
00027 {"A_DTS" , CODEC_ID_DTS},
00028 {"A_EAC3" , CODEC_ID_EAC3},
00029 {"A_FLAC" , CODEC_ID_FLAC},
00030 {"A_MLP" , CODEC_ID_MLP},
00031 {"A_MPEG/L2" , CODEC_ID_MP2},
00032 {"A_MPEG/L1" , CODEC_ID_MP2},
00033 {"A_MPEG/L3" , CODEC_ID_MP3},
00034 {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F32LE},
00035 {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F64LE},
00036 {"A_PCM/INT/BIG" , CODEC_ID_PCM_S16BE},
00037 {"A_PCM/INT/BIG" , CODEC_ID_PCM_S24BE},
00038 {"A_PCM/INT/BIG" , CODEC_ID_PCM_S32BE},
00039 {"A_PCM/INT/LIT" , CODEC_ID_PCM_S16LE},
00040 {"A_PCM/INT/LIT" , CODEC_ID_PCM_S24LE},
00041 {"A_PCM/INT/LIT" , CODEC_ID_PCM_S32LE},
00042 {"A_PCM/INT/LIT" , CODEC_ID_PCM_U8},
00043 {"A_QUICKTIME/QDM2" , CODEC_ID_QDM2},
00044 {"A_REAL/14_4" , CODEC_ID_RA_144},
00045 {"A_REAL/28_8" , CODEC_ID_RA_288},
00046 {"A_REAL/ATRC" , CODEC_ID_ATRAC3},
00047 {"A_REAL/COOK" , CODEC_ID_COOK},
00048 {"A_REAL/SIPR" , CODEC_ID_SIPR},
00049 {"A_TRUEHD" , CODEC_ID_TRUEHD},
00050 {"A_TTA1" , CODEC_ID_TTA},
00051 {"A_VORBIS" , CODEC_ID_VORBIS},
00052 {"A_WAVPACK4" , CODEC_ID_WAVPACK},
00053
00054 {"S_TEXT/UTF8" , CODEC_ID_TEXT},
00055 {"S_TEXT/UTF8" , CODEC_ID_SRT},
00056 {"S_TEXT/ASCII" , CODEC_ID_TEXT},
00057 {"S_TEXT/ASS" , CODEC_ID_SSA},
00058 {"S_TEXT/SSA" , CODEC_ID_SSA},
00059 {"S_ASS" , CODEC_ID_SSA},
00060 {"S_SSA" , CODEC_ID_SSA},
00061 {"S_VOBSUB" , CODEC_ID_DVD_SUBTITLE},
00062 {"S_HDMV/PGS" , CODEC_ID_HDMV_PGS_SUBTITLE},
00063
00064 {"V_DIRAC" , CODEC_ID_DIRAC},
00065 {"V_MJPEG" , CODEC_ID_MJPEG},
00066 {"V_MPEG1" , CODEC_ID_MPEG1VIDEO},
00067 {"V_MPEG2" , CODEC_ID_MPEG2VIDEO},
00068 {"V_MPEG4/ISO/ASP" , CODEC_ID_MPEG4},
00069 {"V_MPEG4/ISO/AP" , CODEC_ID_MPEG4},
00070 {"V_MPEG4/ISO/SP" , CODEC_ID_MPEG4},
00071 {"V_MPEG4/ISO/AVC" , CODEC_ID_H264},
00072 {"V_MPEG4/MS/V3" , CODEC_ID_MSMPEG4V3},
00073 {"V_REAL/RV10" , CODEC_ID_RV10},
00074 {"V_REAL/RV20" , CODEC_ID_RV20},
00075 {"V_REAL/RV30" , CODEC_ID_RV30},
00076 {"V_REAL/RV40" , CODEC_ID_RV40},
00077 {"V_SNOW" , CODEC_ID_SNOW},
00078 {"V_THEORA" , CODEC_ID_THEORA},
00079 {"V_UNCOMPRESSED" , CODEC_ID_RAWVIDEO},
00080 {"V_VP8" , CODEC_ID_VP8},
00081
00082 {"" , CODEC_ID_NONE}
00083 };
00084
00085 const CodecMime ff_mkv_mime_tags[] = {
00086 {"text/plain" , CODEC_ID_TEXT},
00087 {"image/gif" , CODEC_ID_GIF},
00088 {"image/jpeg" , CODEC_ID_MJPEG},
00089 {"image/png" , CODEC_ID_PNG},
00090 {"image/tiff" , CODEC_ID_TIFF},
00091 {"application/x-truetype-font", CODEC_ID_TTF},
00092 {"application/x-font" , CODEC_ID_TTF},
00093
00094 {"" , CODEC_ID_NONE}
00095 };
00096
00097 const AVMetadataConv ff_mkv_metadata_conv[] = {
00098 { "LEAD_PERFORMER", "performer" },
00099 { "PART_NUMBER" , "track" },
00100 { 0 }
00101 };
00102
00103 const char * const matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT] = {
00104 "mono",
00105 "left_right",
00106 "bottom_top",
00107 "top_bottom",
00108 "checkerboard_rl",
00109 "checkerboard_lr"
00110 "row_interleaved_rl",
00111 "row_interleaved_lr",
00112 "col_interleaved_rl",
00113 "col_interleaved_lr",
00114 "anaglyph_cyan_red",
00115 "right_left",
00116 "anaglyph_green_magenta",
00117 "block_lr",
00118 "block_rl",
00119 };
00120
00121 const char * const matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT] = {
00122 "left",
00123 "right",
00124 "background",
00125 };