FFmpeg
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
libavformat
matroska.c
Go to the documentation of this file.
1
/*
2
* Matroska common data
3
* Copyright (c) 2003-2004 The ffmpeg Project
4
*
5
* This file is part of FFmpeg.
6
*
7
* FFmpeg is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* FFmpeg is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with FFmpeg; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#include "
matroska.h
"
23
24
/* If you add a tag here that is not in ff_codec_bmp_tags[]
25
or ff_codec_wav_tags[], add it also to additional_audio_tags[]
26
or additional_video_tags[] in matroskaenc.c */
27
const
CodecTags
ff_mkv_codec_tags
[]={
28
{
"A_AAC"
,
AV_CODEC_ID_AAC
},
29
{
"A_AC3"
,
AV_CODEC_ID_AC3
},
30
{
"A_ALAC"
,
AV_CODEC_ID_ALAC
},
31
{
"A_DTS"
,
AV_CODEC_ID_DTS
},
32
{
"A_EAC3"
,
AV_CODEC_ID_EAC3
},
33
{
"A_FLAC"
,
AV_CODEC_ID_FLAC
},
34
{
"A_MLP"
,
AV_CODEC_ID_MLP
},
35
{
"A_MPEG/L2"
,
AV_CODEC_ID_MP2
},
36
{
"A_MPEG/L1"
,
AV_CODEC_ID_MP2
},
37
{
"A_MPEG/L3"
,
AV_CODEC_ID_MP3
},
38
{
"A_OPUS/EXPERIMENTAL"
,
AV_CODEC_ID_OPUS
},
39
{
"A_OPUS"
,
AV_CODEC_ID_OPUS
},
40
{
"A_PCM/FLOAT/IEEE"
,
AV_CODEC_ID_PCM_F32LE
},
41
{
"A_PCM/FLOAT/IEEE"
,
AV_CODEC_ID_PCM_F64LE
},
42
{
"A_PCM/INT/BIG"
,
AV_CODEC_ID_PCM_S16BE
},
43
{
"A_PCM/INT/BIG"
,
AV_CODEC_ID_PCM_S24BE
},
44
{
"A_PCM/INT/BIG"
,
AV_CODEC_ID_PCM_S32BE
},
45
{
"A_PCM/INT/LIT"
,
AV_CODEC_ID_PCM_S16LE
},
46
{
"A_PCM/INT/LIT"
,
AV_CODEC_ID_PCM_S24LE
},
47
{
"A_PCM/INT/LIT"
,
AV_CODEC_ID_PCM_S32LE
},
48
{
"A_PCM/INT/LIT"
,
AV_CODEC_ID_PCM_U8
},
49
{
"A_QUICKTIME/QDM2"
,
AV_CODEC_ID_QDM2
},
50
{
"A_REAL/14_4"
,
AV_CODEC_ID_RA_144
},
51
{
"A_REAL/28_8"
,
AV_CODEC_ID_RA_288
},
52
{
"A_REAL/ATRC"
,
AV_CODEC_ID_ATRAC3
},
53
{
"A_REAL/COOK"
,
AV_CODEC_ID_COOK
},
54
{
"A_REAL/SIPR"
,
AV_CODEC_ID_SIPR
},
55
{
"A_TRUEHD"
,
AV_CODEC_ID_TRUEHD
},
56
{
"A_TTA1"
,
AV_CODEC_ID_TTA
},
57
{
"A_VORBIS"
,
AV_CODEC_ID_VORBIS
},
58
{
"A_WAVPACK4"
,
AV_CODEC_ID_WAVPACK
},
59
60
{
"S_TEXT/UTF8"
,
AV_CODEC_ID_SUBRIP
},
61
{
"S_TEXT/UTF8"
,
AV_CODEC_ID_TEXT
},
62
{
"S_TEXT/UTF8"
,
AV_CODEC_ID_SRT
},
63
{
"S_TEXT/ASCII"
,
AV_CODEC_ID_TEXT
},
64
{
"S_TEXT/ASS"
,
AV_CODEC_ID_SSA
},
65
{
"S_TEXT/SSA"
,
AV_CODEC_ID_SSA
},
66
{
"S_ASS"
,
AV_CODEC_ID_SSA
},
67
{
"S_SSA"
,
AV_CODEC_ID_SSA
},
68
{
"S_VOBSUB"
,
AV_CODEC_ID_DVD_SUBTITLE
},
69
{
"S_DVBSUB"
,
AV_CODEC_ID_DVB_SUBTITLE
},
70
{
"S_HDMV/PGS"
,
AV_CODEC_ID_HDMV_PGS_SUBTITLE
},
71
72
{
"V_DIRAC"
,
AV_CODEC_ID_DIRAC
},
73
{
"V_MJPEG"
,
AV_CODEC_ID_MJPEG
},
74
{
"V_MPEG1"
,
AV_CODEC_ID_MPEG1VIDEO
},
75
{
"V_MPEG2"
,
AV_CODEC_ID_MPEG2VIDEO
},
76
{
"V_MPEG4/ISO/ASP"
,
AV_CODEC_ID_MPEG4
},
77
{
"V_MPEG4/ISO/AP"
,
AV_CODEC_ID_MPEG4
},
78
{
"V_MPEG4/ISO/SP"
,
AV_CODEC_ID_MPEG4
},
79
{
"V_MPEG4/ISO/AVC"
,
AV_CODEC_ID_H264
},
80
{
"V_MPEG4/MS/V3"
,
AV_CODEC_ID_MSMPEG4V3
},
81
{
"V_PRORES"
,
AV_CODEC_ID_PRORES
},
82
{
"V_REAL/RV10"
,
AV_CODEC_ID_RV10
},
83
{
"V_REAL/RV20"
,
AV_CODEC_ID_RV20
},
84
{
"V_REAL/RV30"
,
AV_CODEC_ID_RV30
},
85
{
"V_REAL/RV40"
,
AV_CODEC_ID_RV40
},
86
{
"V_SNOW"
,
AV_CODEC_ID_SNOW
},
87
{
"V_THEORA"
,
AV_CODEC_ID_THEORA
},
88
{
"V_UNCOMPRESSED"
,
AV_CODEC_ID_RAWVIDEO
},
89
{
"V_VP8"
,
AV_CODEC_ID_VP8
},
90
{
"V_VP9"
,
AV_CODEC_ID_VP9
},
91
92
{
""
,
AV_CODEC_ID_NONE
}
93
};
94
95
const
CodecMime
ff_mkv_mime_tags
[] = {
96
{
"text/plain"
,
AV_CODEC_ID_TEXT
},
97
{
"image/gif"
,
AV_CODEC_ID_GIF
},
98
{
"image/jpeg"
,
AV_CODEC_ID_MJPEG
},
99
{
"image/png"
,
AV_CODEC_ID_PNG
},
100
{
"image/tiff"
,
AV_CODEC_ID_TIFF
},
101
{
"application/x-truetype-font"
,
AV_CODEC_ID_TTF
},
102
{
"application/x-font"
,
AV_CODEC_ID_TTF
},
103
{
"application/vnd.ms-opentype"
,
AV_CODEC_ID_OTF
},
104
105
{
""
,
AV_CODEC_ID_NONE
}
106
};
107
108
const
AVMetadataConv
ff_mkv_metadata_conv
[] = {
109
{
"LEAD_PERFORMER"
,
"performer"
},
110
{
"PART_NUMBER"
,
"track"
},
111
{ 0 }
112
};
113
114
const
char
*
const
ff_matroska_video_stereo_mode
[
MATROSKA_VIDEO_STEREO_MODE_COUNT
] = {
115
"mono"
,
116
"left_right"
,
117
"bottom_top"
,
118
"top_bottom"
,
119
"checkerboard_rl"
,
120
"checkerboard_lr"
,
121
"row_interleaved_rl"
,
122
"row_interleaved_lr"
,
123
"col_interleaved_rl"
,
124
"col_interleaved_lr"
,
125
"anaglyph_cyan_red"
,
126
"right_left"
,
127
"anaglyph_green_magenta"
,
128
"block_lr"
,
129
"block_rl"
,
130
};
131
132
const
char
*
const
ff_matroska_video_stereo_plane
[
MATROSKA_VIDEO_STEREO_PLANE_COUNT
] = {
133
"left"
,
134
"right"
,
135
"background"
,
136
};
Generated on Sat May 25 2013 04:01:17 for FFmpeg by
1.8.2