Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* ISO Media codec tags |
3 |
|
|
* Copyright (c) 2001 Fabrice Bellard |
4 |
|
|
* Copyright (c) 2002 Francois Revol <revol@free.fr> |
5 |
|
|
* Copyright (c) 2006 Baptiste Coudurier <baptiste.coudurier@free.fr> |
6 |
|
|
* |
7 |
|
|
* This file is part of FFmpeg. |
8 |
|
|
* |
9 |
|
|
* FFmpeg is free software; you can redistribute it and/or |
10 |
|
|
* modify it under the terms of the GNU Lesser General Public |
11 |
|
|
* License as published by the Free Software Foundation; either |
12 |
|
|
* version 2.1 of the License, or (at your option) any later version. |
13 |
|
|
* |
14 |
|
|
* FFmpeg is distributed in the hope that it will be useful, |
15 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 |
|
|
* Lesser General Public License for more details. |
18 |
|
|
* |
19 |
|
|
* You should have received a copy of the GNU Lesser General Public |
20 |
|
|
* License along with FFmpeg; if not, write to the Free Software |
21 |
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22 |
|
|
*/ |
23 |
|
|
|
24 |
|
|
#include "libavcodec/codec_id.h" |
25 |
|
|
#include "avformat.h" |
26 |
|
|
#include "internal.h" |
27 |
|
|
#include "isom.h" |
28 |
|
|
|
29 |
|
|
const AVCodecTag ff_codec_movvideo_tags[] = { |
30 |
|
|
/* { AV_CODEC_ID_, MKTAG('I', 'V', '5', '0') }, *//* Indeo 5.0 */ |
31 |
|
|
|
32 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('r', 'a', 'w', ' ') }, /* uncompressed RGB */ |
33 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('y', 'u', 'v', '2') }, /* uncompressed YUV422 */ |
34 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('2', 'v', 'u', 'y') }, /* uncompressed 8-bit 4:2:2 */ |
35 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('y', 'u', 'v', 's') }, /* same as 2VUY but byte-swapped */ |
36 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('v', '3', '0', '8') }, /* uncompressed 8-bit 4:4:4 */ |
37 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('v', '4', '0', '8') }, /* uncompressed 8-bit 4:4:4:4 */ |
38 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('v', '4', '1', '0') }, /* uncompressed 10-bit 4:4:4 */ |
39 |
|
|
|
40 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('L', '5', '5', '5') }, |
41 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('L', '5', '6', '5') }, |
42 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', '5', '6', '5') }, |
43 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('2', '4', 'B', 'G') }, |
44 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') }, |
45 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') }, |
46 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') }, |
47 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', '1', '6', 'g') }, |
48 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', '4', '8', 'r') }, |
49 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', '6', '4', 'a') }, |
50 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'b', 'g') }, /* BOXX */ |
51 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'r', 'g') }, |
52 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'y', 'v') }, |
53 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('N', 'O', '1', '6') }, |
54 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('D', 'V', 'O', 'O') }, /* Digital Voodoo SD 8 Bit */ |
55 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', '4', '2', '0') }, /* Radius DV YUV PAL */ |
56 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', '4', '1', '1') }, /* Radius DV YUV NTSC */ |
57 |
|
|
|
58 |
|
|
{ AV_CODEC_ID_R10K, MKTAG('R', '1', '0', 'k') }, /* uncompressed 10-bit RGB */ |
59 |
|
|
{ AV_CODEC_ID_R10K, MKTAG('R', '1', '0', 'g') }, /* uncompressed 10-bit RGB */ |
60 |
|
|
{ AV_CODEC_ID_R210, MKTAG('r', '2', '1', '0') }, /* uncompressed 10-bit RGB */ |
61 |
|
|
{ AV_CODEC_ID_AVUI, MKTAG('A', 'V', 'U', 'I') }, /* AVID Uncompressed deinterleaved UYVY422 */ |
62 |
|
|
{ AV_CODEC_ID_AVRP, MKTAG('A', 'V', 'r', 'p') }, /* Avid 1:1 10-bit RGB Packer */ |
63 |
|
|
{ AV_CODEC_ID_AVRP, MKTAG('S', 'U', 'D', 'S') }, /* Avid DS Uncompressed */ |
64 |
|
|
{ AV_CODEC_ID_V210, MKTAG('v', '2', '1', '0') }, /* uncompressed 10-bit 4:2:2 */ |
65 |
|
|
{ AV_CODEC_ID_V210, MKTAG('b', 'x', 'y', '2') }, /* BOXX 10-bit 4:2:2 */ |
66 |
|
|
#if FF_API_V408_CODECID |
67 |
|
|
{ AV_CODEC_ID_V308, MKTAG('v', '3', '0', '8') }, /* uncompressed 8-bit 4:4:4 */ |
68 |
|
|
{ AV_CODEC_ID_V408, MKTAG('v', '4', '0', '8') }, /* uncompressed 8-bit 4:4:4:4 */ |
69 |
|
|
{ AV_CODEC_ID_V410, MKTAG('v', '4', '1', '0') }, /* uncompressed 10-bit 4:4:4 */ |
70 |
|
|
#endif |
71 |
|
|
{ AV_CODEC_ID_Y41P, MKTAG('Y', '4', '1', 'P') }, /* uncompressed 12-bit 4:1:1 */ |
72 |
|
|
{ AV_CODEC_ID_YUV4, MKTAG('y', 'u', 'v', '4') }, /* libquicktime packed yuv420p */ |
73 |
|
|
{ AV_CODEC_ID_TARGA_Y216, MKTAG('Y', '2', '1', '6') }, |
74 |
|
|
|
75 |
|
|
{ AV_CODEC_ID_MJPEG, MKTAG('j', 'p', 'e', 'g') }, /* PhotoJPEG */ |
76 |
|
|
{ AV_CODEC_ID_MJPEG, MKTAG('m', 'j', 'p', 'a') }, /* Motion-JPEG (format A) */ |
77 |
|
|
{ AV_CODEC_ID_MJPEG, MKTAG('A', 'V', 'D', 'J') }, /* MJPEG with alpha-channel (AVID JFIF meridien compressed) */ |
78 |
|
|
{ AV_CODEC_ID_MJPEG, MKTAG('A', 'V', 'R', 'n') }, /* MJPEG with alpha-channel (AVID ABVB/Truevision NuVista) */ |
79 |
|
|
{ AV_CODEC_ID_MJPEG, MKTAG('d', 'm', 'b', '1') }, /* Motion JPEG OpenDML */ |
80 |
|
|
{ AV_CODEC_ID_MJPEGB, MKTAG('m', 'j', 'p', 'b') }, /* Motion-JPEG (format B) */ |
81 |
|
|
|
82 |
|
|
{ AV_CODEC_ID_SVQ1, MKTAG('S', 'V', 'Q', '1') }, /* Sorenson Video v1 */ |
83 |
|
|
{ AV_CODEC_ID_SVQ1, MKTAG('s', 'v', 'q', '1') }, /* Sorenson Video v1 */ |
84 |
|
|
{ AV_CODEC_ID_SVQ1, MKTAG('s', 'v', 'q', 'i') }, /* Sorenson Video v1 (from QT specs)*/ |
85 |
|
|
{ AV_CODEC_ID_SVQ3, MKTAG('S', 'V', 'Q', '3') }, /* Sorenson Video v3 */ |
86 |
|
|
|
87 |
|
|
{ AV_CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') }, |
88 |
|
|
{ AV_CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, /* OpenDiVX *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */ |
89 |
|
|
{ AV_CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, |
90 |
|
|
{ AV_CODEC_ID_MPEG4, MKTAG('3', 'I', 'V', '2') }, /* experimental: 3IVX files before ivx D4 4.5.1 */ |
91 |
|
|
|
92 |
|
|
{ AV_CODEC_ID_H263, MKTAG('h', '2', '6', '3') }, /* H.263 */ |
93 |
|
|
{ AV_CODEC_ID_H263, MKTAG('s', '2', '6', '3') }, /* H.263 ?? works */ |
94 |
|
|
|
95 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', 'p') }, /* DV PAL */ |
96 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', ' ') }, /* DV NTSC */ |
97 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'l', 'p') }, /* DV PAL 16:9 produced by Radius SoftDV */ |
98 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'l', ' ') }, /* DV NTSC 16:9 produced by Radius SoftDV */ |
99 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'p', 'p') }, /* DVCPRO PAL produced by FCP */ |
100 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', '5', 'p') }, /* DVCPRO50 PAL produced by FCP */ |
101 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', '5', 'n') }, /* DVCPRO50 NTSC produced by FCP */ |
102 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('A', 'V', 'd', 'v') }, /* AVID DV */ |
103 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('A', 'V', 'd', '1') }, /* AVID DV100 */ |
104 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', 'q') }, /* DVCPRO HD 720p50 */ |
105 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', 'p') }, /* DVCPRO HD 720p60 */ |
106 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '1') }, |
107 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '2') }, |
108 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '4') }, |
109 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '5') }, /* DVCPRO HD 50i produced by FCP */ |
110 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '6') }, /* DVCPRO HD 60i produced by FCP */ |
111 |
|
|
{ AV_CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', '3') }, /* DVCPRO HD 30p produced by FCP */ |
112 |
|
|
|
113 |
|
|
{ AV_CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') }, /* On2 VP3 */ |
114 |
|
|
{ AV_CODEC_ID_RPZA, MKTAG('r', 'p', 'z', 'a') }, /* Apple Video (RPZA) */ |
115 |
|
|
{ AV_CODEC_ID_CINEPAK, MKTAG('c', 'v', 'i', 'd') }, /* Cinepak */ |
116 |
|
|
{ AV_CODEC_ID_8BPS, MKTAG('8', 'B', 'P', 'S') }, /* Planar RGB (8BPS) */ |
117 |
|
|
{ AV_CODEC_ID_SMC, MKTAG('s', 'm', 'c', ' ') }, /* Apple Graphics (SMC) */ |
118 |
|
|
{ AV_CODEC_ID_QTRLE, MKTAG('r', 'l', 'e', ' ') }, /* Apple Animation (RLE) */ |
119 |
|
|
{ AV_CODEC_ID_SGIRLE, MKTAG('r', 'l', 'e', '1') }, /* SGI RLE 8-bit */ |
120 |
|
|
{ AV_CODEC_ID_MSRLE, MKTAG('W', 'R', 'L', 'E') }, |
121 |
|
|
{ AV_CODEC_ID_QDRAW, MKTAG('q', 'd', 'r', 'w') }, /* QuickDraw */ |
122 |
|
|
{ AV_CODEC_ID_CDTOONS, MKTAG('Q', 'k', 'B', 'k') }, /* CDToons */ |
123 |
|
|
|
124 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('W', 'R', 'A', 'W') }, |
125 |
|
|
|
126 |
|
|
{ AV_CODEC_ID_VVC, MKTAG('v', 'v', 'c', '1') }, |
127 |
|
|
{ AV_CODEC_ID_VVC, MKTAG('v', 'v', 'i', '1') }, |
128 |
|
|
|
129 |
|
|
{ AV_CODEC_ID_HEVC, MKTAG('h', 'e', 'v', '1') }, /* HEVC/H.265 which indicates parameter sets may be in ES */ |
130 |
|
|
{ AV_CODEC_ID_HEVC, MKTAG('h', 'v', 'c', '1') }, /* HEVC/H.265 which indicates parameter sets shall not be in ES */ |
131 |
|
|
{ AV_CODEC_ID_HEVC, MKTAG('d', 'v', 'h', 'e') }, /* HEVC-based Dolby Vision derived from hev1 */ |
132 |
|
|
/* dvh1 is handled within mov.c */ |
133 |
|
|
|
134 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, /* AVC-1/H.264 */ |
135 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '2') }, |
136 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '3') }, |
137 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '4') }, |
138 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', 'p') }, /* AVC-Intra 50M 720p24/30/60 */ |
139 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', 'q') }, /* AVC-Intra 50M 720p25/50 */ |
140 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', '2') }, /* AVC-Intra 50M 1080p25/50 */ |
141 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', '3') }, /* AVC-Intra 50M 1080p24/30/60 */ |
142 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', '5') }, /* AVC-Intra 50M 1080i50 */ |
143 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '5', '6') }, /* AVC-Intra 50M 1080i60 */ |
144 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', 'p') }, /* AVC-Intra 100M 720p24/30/60 */ |
145 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', 'q') }, /* AVC-Intra 100M 720p25/50 */ |
146 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', '2') }, /* AVC-Intra 100M 1080p25/50 */ |
147 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', '3') }, /* AVC-Intra 100M 1080p24/30/60 */ |
148 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', '5') }, /* AVC-Intra 100M 1080i50 */ |
149 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', '1', '6') }, /* AVC-Intra 100M 1080i60 */ |
150 |
|
|
{ AV_CODEC_ID_H264, MKTAG('A', 'V', 'i', 'n') }, /* AVC-Intra with implicit SPS/PPS */ |
151 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'i', 'v', 'x') }, /* XAVC 10-bit 4:2:2 */ |
152 |
|
|
{ AV_CODEC_ID_H264, MKTAG('r', 'v', '6', '4') }, /* X-Com Radvision */ |
153 |
|
|
{ AV_CODEC_ID_H264, MKTAG('x', 'a', 'l', 'g') }, /* XAVC-L HD422 produced by FCP */ |
154 |
|
|
{ AV_CODEC_ID_H264, MKTAG('a', 'v', 'l', 'g') }, /* Panasonic P2 AVC-LongG */ |
155 |
|
|
{ AV_CODEC_ID_H264, MKTAG('d', 'v', 'a', '1') }, /* AVC-based Dolby Vision derived from avc1 */ |
156 |
|
|
{ AV_CODEC_ID_H264, MKTAG('d', 'v', 'a', 'v') }, /* AVC-based Dolby Vision derived from avc3 */ |
157 |
|
|
|
158 |
|
|
{ AV_CODEC_ID_EVC, MKTAG('e', 'v', 'c', '1') }, /* EVC/MPEG-5 */ |
159 |
|
|
|
160 |
|
|
{ AV_CODEC_ID_VP8, MKTAG('v', 'p', '0', '8') }, /* VP8 */ |
161 |
|
|
{ AV_CODEC_ID_VP9, MKTAG('v', 'p', '0', '9') }, /* VP9 */ |
162 |
|
|
{ AV_CODEC_ID_AV1, MKTAG('a', 'v', '0', '1') }, /* AV1 */ |
163 |
|
|
|
164 |
|
|
{ AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', '1', 'v', ' ') }, |
165 |
|
|
{ AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', '1', 'v', '1') }, /* Apple MPEG-1 Camcorder */ |
166 |
|
|
{ AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'e', 'g') }, /* MPEG */ |
167 |
|
|
{ AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', '1', 'v') }, /* CoreMedia CMVideoCodecType */ |
168 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', '2', 'v', '1') }, /* Apple MPEG-2 Camcorder */ |
169 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '1') }, /* MPEG-2 HDV 720p30 */ |
170 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '2') }, /* MPEG-2 HDV 1080i60 */ |
171 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '3') }, /* MPEG-2 HDV 1080i50 */ |
172 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '4') }, /* MPEG-2 HDV 720p24 */ |
173 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '5') }, /* MPEG-2 HDV 720p25 */ |
174 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '6') }, /* MPEG-2 HDV 1080p24 */ |
175 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '7') }, /* MPEG-2 HDV 1080p25 */ |
176 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '8') }, /* MPEG-2 HDV 1080p30 */ |
177 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', '9') }, /* MPEG-2 HDV 720p60 JVC */ |
178 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('h', 'd', 'v', 'a') }, /* MPEG-2 HDV 720p50 */ |
179 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '5', 'n') }, /* MPEG-2 IMX NTSC 525/60 50mb/s produced by FCP */ |
180 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '5', 'p') }, /* MPEG-2 IMX PAL 625/50 50mb/s produced by FCP */ |
181 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '4', 'n') }, /* MPEG-2 IMX NTSC 525/60 40mb/s produced by FCP */ |
182 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '4', 'p') }, /* MPEG-2 IMX PAL 625/50 40mb/s produced by FCP */ |
183 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '3', 'n') }, /* MPEG-2 IMX NTSC 525/60 30mb/s produced by FCP */ |
184 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'x', '3', 'p') }, /* MPEG-2 IMX PAL 625/50 30mb/s produced by FCP */ |
185 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', '1') }, /* XDCAM HD422 720p30 CBR */ |
186 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', '4') }, /* XDCAM HD422 720p24 CBR */ |
187 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', '5') }, /* XDCAM HD422 720p25 CBR */ |
188 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', '9') }, /* XDCAM HD422 720p60 CBR */ |
189 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'a') }, /* XDCAM HD422 720p50 CBR */ |
190 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'b') }, /* XDCAM HD422 1080i60 CBR */ |
191 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'c') }, /* XDCAM HD422 1080i50 CBR */ |
192 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'd') }, /* XDCAM HD422 1080p24 CBR */ |
193 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'e') }, /* XDCAM HD422 1080p25 CBR */ |
194 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', '5', 'f') }, /* XDCAM HD422 1080p30 CBR */ |
195 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '1') }, /* XDCAM EX 720p30 VBR */ |
196 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '2') }, /* XDCAM HD 1080i60 */ |
197 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '3') }, /* XDCAM HD 1080i50 VBR */ |
198 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '4') }, /* XDCAM EX 720p24 VBR */ |
199 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '5') }, /* XDCAM EX 720p25 VBR */ |
200 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '6') }, /* XDCAM HD 1080p24 VBR */ |
201 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '7') }, /* XDCAM HD 1080p25 VBR */ |
202 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '8') }, /* XDCAM HD 1080p30 VBR */ |
203 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', '9') }, /* XDCAM EX 720p60 VBR */ |
204 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'a') }, /* XDCAM EX 720p50 VBR */ |
205 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'b') }, /* XDCAM EX 1080i60 VBR */ |
206 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'c') }, /* XDCAM EX 1080i50 VBR */ |
207 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'd') }, /* XDCAM EX 1080p24 VBR */ |
208 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'e') }, /* XDCAM EX 1080p25 VBR */ |
209 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'v', 'f') }, /* XDCAM EX 1080p30 VBR */ |
210 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'h', 'd') }, /* XDCAM HD 540p */ |
211 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('x', 'd', 'h', '2') }, /* XDCAM HD422 540p */ |
212 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('A', 'V', 'm', 'p') }, /* AVID IMX PAL */ |
213 |
|
|
{ AV_CODEC_ID_MPEG2VIDEO, MKTAG('m', 'p', '2', 'v') }, /* FCP5 */ |
214 |
|
|
|
215 |
|
|
{ AV_CODEC_ID_JPEG2000, MKTAG('m', 'j', 'p', '2') }, /* JPEG 2000 produced by FCP */ |
216 |
|
|
|
217 |
|
|
{ AV_CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') }, /* Truevision Targa */ |
218 |
|
|
{ AV_CODEC_ID_TIFF, MKTAG('t', 'i', 'f', 'f') }, /* TIFF embedded in MOV */ |
219 |
|
|
{ AV_CODEC_ID_GIF, MKTAG('g', 'i', 'f', ' ') }, /* embedded gif files as frames (usually one "click to play movie" frame) */ |
220 |
|
|
{ AV_CODEC_ID_PNG, MKTAG('p', 'n', 'g', ' ') }, |
221 |
|
|
{ AV_CODEC_ID_PNG, MKTAG('M', 'N', 'G', ' ') }, |
222 |
|
|
|
223 |
|
|
{ AV_CODEC_ID_VC1, MKTAG('v', 'c', '-', '1') }, /* SMPTE RP 2025 */ |
224 |
|
|
{ AV_CODEC_ID_CAVS, MKTAG('a', 'v', 's', '2') }, |
225 |
|
|
|
226 |
|
|
{ AV_CODEC_ID_DIRAC, MKTAG('d', 'r', 'a', 'c') }, |
227 |
|
|
{ AV_CODEC_ID_DNXHD, MKTAG('A', 'V', 'd', 'n') }, /* AVID DNxHD */ |
228 |
|
|
{ AV_CODEC_ID_DNXHD, MKTAG('A', 'V', 'd', 'h') }, /* AVID DNxHR */ |
229 |
|
|
{ AV_CODEC_ID_H263, MKTAG('H', '2', '6', '3') }, |
230 |
|
|
{ AV_CODEC_ID_MSMPEG4V3, MKTAG('3', 'I', 'V', 'D') }, /* 3ivx DivX Doctor */ |
231 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('A', 'V', '1', 'x') }, /* AVID 1:1x */ |
232 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('A', 'V', 'u', 'p') }, |
233 |
|
|
{ AV_CODEC_ID_SGI, MKTAG('s', 'g', 'i', ' ') }, /* SGI */ |
234 |
|
|
{ AV_CODEC_ID_DPX, MKTAG('d', 'p', 'x', ' ') }, /* DPX */ |
235 |
|
|
{ AV_CODEC_ID_EXR, MKTAG('e', 'x', 'r', ' ') }, /* OpenEXR */ |
236 |
|
|
|
237 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 'h') }, /* Apple ProRes 422 High Quality */ |
238 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 'n') }, /* Apple ProRes 422 Standard Definition */ |
239 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 's') }, /* Apple ProRes 422 LT */ |
240 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 'o') }, /* Apple ProRes 422 Proxy */ |
241 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', '4', 'h') }, /* Apple ProRes 4444 */ |
242 |
|
|
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', '4', 'x') }, /* Apple ProRes 4444 XQ */ |
243 |
|
|
{ AV_CODEC_ID_FLIC, MKTAG('f', 'l', 'i', 'c') }, |
244 |
|
|
|
245 |
|
|
{ AV_CODEC_ID_AIC, MKTAG('i', 'c', 'o', 'd') }, |
246 |
|
|
|
247 |
|
|
{ AV_CODEC_ID_HAP, MKTAG('H', 'a', 'p', '1') }, |
248 |
|
|
{ AV_CODEC_ID_HAP, MKTAG('H', 'a', 'p', '5') }, |
249 |
|
|
{ AV_CODEC_ID_HAP, MKTAG('H', 'a', 'p', 'Y') }, |
250 |
|
|
{ AV_CODEC_ID_HAP, MKTAG('H', 'a', 'p', 'A') }, |
251 |
|
|
{ AV_CODEC_ID_HAP, MKTAG('H', 'a', 'p', 'M') }, |
252 |
|
|
|
253 |
|
|
{ AV_CODEC_ID_DXV, MKTAG('D', 'X', 'D', '3') }, |
254 |
|
|
{ AV_CODEC_ID_DXV, MKTAG('D', 'X', 'D', 'I') }, |
255 |
|
|
|
256 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', '0') }, |
257 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', 'A') }, |
258 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', 'G') }, |
259 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '0') }, |
260 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '2') }, |
261 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '4') }, |
262 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'R', 'G') }, |
263 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'R', 'A') }, |
264 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'G', '0') }, |
265 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'Y', '0') }, |
266 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'Y', '2') }, |
267 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'Y', '4') }, |
268 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'Y', 'A') }, |
269 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '2', 'R', 'A') }, |
270 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '2', 'R', 'G') }, |
271 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '4', 'R', 'A') }, |
272 |
|
|
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '4', 'R', 'G') }, |
273 |
|
|
|
274 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '0') }, |
275 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '1') }, |
276 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '2') }, |
277 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '3') }, |
278 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '4') }, |
279 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '5') }, |
280 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '6') }, |
281 |
|
|
{ AV_CODEC_ID_SHEERVIDEO, MKTAG('S', 'h', 'r', '7') }, |
282 |
|
|
|
283 |
|
|
{ AV_CODEC_ID_PIXLET, MKTAG('p', 'x', 'l', 't') }, |
284 |
|
|
|
285 |
|
|
{ AV_CODEC_ID_NOTCHLC, MKTAG('n', 'c', 'l', 'c') }, |
286 |
|
|
|
287 |
|
|
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'G', 'R') }, /* ASC Bayer BGGR */ |
288 |
|
|
|
289 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('6', '0', '1', 'N') }, |
290 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('6', '0', '1', 'P') }, |
291 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('d', 't', 'n', 't') }, |
292 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('d', 't', 'N', 'T') }, |
293 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('d', 't', 'p', 'a') }, |
294 |
|
|
{ AV_CODEC_ID_MEDIA100, MKTAG('d', 't', 'P', 'A') }, |
295 |
|
|
|
296 |
|
|
{ AV_CODEC_ID_CFHD, MKTAG('C', 'F', 'H', 'D') }, |
297 |
|
|
|
298 |
|
|
{ AV_CODEC_ID_LCEVC, MKTAG('l', 'v', 'c', '1') }, /* LCEVC raw payload */ |
299 |
|
|
|
300 |
|
|
{ AV_CODEC_ID_NONE, 0 }, |
301 |
|
|
}; |
302 |
|
|
|
303 |
|
|
const AVCodecTag ff_codec_movaudio_tags[] = { |
304 |
|
|
{ AV_CODEC_ID_AAC, MKTAG('m', 'p', '4', 'a') }, |
305 |
|
|
{ AV_CODEC_ID_AC3, MKTAG('a', 'c', '-', '3') }, /* ETSI TS 102 366 Annex F */ |
306 |
|
|
{ AV_CODEC_ID_AC3, MKTAG('s', 'a', 'c', '3') }, /* Nero Recode */ |
307 |
|
|
{ AV_CODEC_ID_AC4, MKTAG('a', 'c', '-', '4') }, |
308 |
|
|
{ AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i', 'm', 'a', '4') }, |
309 |
|
|
{ AV_CODEC_ID_ALAC, MKTAG('a', 'l', 'a', 'c') }, |
310 |
|
|
{ AV_CODEC_ID_AMR_NB, MKTAG('s', 'a', 'm', 'r') }, /* AMR-NB 3gp */ |
311 |
|
|
{ AV_CODEC_ID_AMR_WB, MKTAG('s', 'a', 'w', 'b') }, /* AMR-WB 3gp */ |
312 |
|
|
{ AV_CODEC_ID_DTS, MKTAG('d', 't', 's', 'c') }, /* DTS formats prior to DTS-HD */ |
313 |
|
|
{ AV_CODEC_ID_DTS, MKTAG('d', 't', 's', 'h') }, /* DTS-HD audio formats */ |
314 |
|
|
{ AV_CODEC_ID_DTS, MKTAG('d', 't', 's', 'l') }, /* DTS-HD Lossless formats */ |
315 |
|
|
{ AV_CODEC_ID_DTS, MKTAG('d', 't', 's', 'e') }, /* DTS Express */ |
316 |
|
|
{ AV_CODEC_ID_DTS, MKTAG('D', 'T', 'S', ' ') }, /* non-standard */ |
317 |
|
|
{ AV_CODEC_ID_EAC3, MKTAG('e', 'c', '-', '3') }, /* ETSI TS 102 366 Annex F (only valid in ISOBMFF) */ |
318 |
|
|
{ AV_CODEC_ID_DVAUDIO, MKTAG('v', 'd', 'v', 'a') }, |
319 |
|
|
{ AV_CODEC_ID_DVAUDIO, MKTAG('d', 'v', 'c', 'a') }, |
320 |
|
|
{ AV_CODEC_ID_GSM, MKTAG('a', 'g', 's', 'm') }, |
321 |
|
|
{ AV_CODEC_ID_ILBC, MKTAG('i', 'l', 'b', 'c') }, |
322 |
|
|
{ AV_CODEC_ID_MACE3, MKTAG('M', 'A', 'C', '3') }, |
323 |
|
|
{ AV_CODEC_ID_MACE6, MKTAG('M', 'A', 'C', '6') }, |
324 |
|
|
{ AV_CODEC_ID_MP1, MKTAG('.', 'm', 'p', '1') }, |
325 |
|
|
{ AV_CODEC_ID_MP2, MKTAG('.', 'm', 'p', '2') }, |
326 |
|
|
{ AV_CODEC_ID_MP3, MKTAG('.', 'm', 'p', '3') }, |
327 |
|
|
{ AV_CODEC_ID_MP3, MKTAG('m', 'p', '3', ' ') }, /* vlc */ |
328 |
|
|
{ AV_CODEC_ID_MP3, 0x6D730055 }, |
329 |
|
|
{ AV_CODEC_ID_NELLYMOSER, MKTAG('n', 'm', 'o', 's') }, /* Flash Media Server */ |
330 |
|
|
{ AV_CODEC_ID_NELLYMOSER, MKTAG('N', 'E', 'L', 'L') }, /* Perian */ |
331 |
|
|
{ AV_CODEC_ID_PCM_ALAW, MKTAG('a', 'l', 'a', 'w') }, |
332 |
|
|
{ AV_CODEC_ID_PCM_F32BE, MKTAG('f', 'l', '3', '2') }, |
333 |
|
|
{ AV_CODEC_ID_PCM_F32LE, MKTAG('f', 'l', '3', '2') }, |
334 |
|
|
{ AV_CODEC_ID_PCM_F64BE, MKTAG('f', 'l', '6', '4') }, |
335 |
|
|
{ AV_CODEC_ID_PCM_F64LE, MKTAG('f', 'l', '6', '4') }, |
336 |
|
|
{ AV_CODEC_ID_PCM_MULAW, MKTAG('u', 'l', 'a', 'w') }, |
337 |
|
|
{ AV_CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, |
338 |
|
|
{ AV_CODEC_ID_PCM_S16LE, MKTAG('s', 'o', 'w', 't') }, |
339 |
|
|
{ AV_CODEC_ID_PCM_S16BE, MKTAG('l', 'p', 'c', 'm') }, |
340 |
|
|
{ AV_CODEC_ID_PCM_S16LE, MKTAG('l', 'p', 'c', 'm') }, |
341 |
|
|
{ AV_CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') }, |
342 |
|
|
{ AV_CODEC_ID_PCM_S24LE, MKTAG('i', 'n', '2', '4') }, |
343 |
|
|
{ AV_CODEC_ID_PCM_S32BE, MKTAG('i', 'n', '3', '2') }, |
344 |
|
|
{ AV_CODEC_ID_PCM_S32LE, MKTAG('i', 'n', '3', '2') }, |
345 |
|
|
{ AV_CODEC_ID_PCM_S8, MKTAG('s', 'o', 'w', 't') }, |
346 |
|
|
{ AV_CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, |
347 |
|
|
{ AV_CODEC_ID_PCM_U8, MKTAG('N', 'O', 'N', 'E') }, |
348 |
|
|
{ AV_CODEC_ID_QCELP, MKTAG('Q', 'c', 'l', 'p') }, |
349 |
|
|
{ AV_CODEC_ID_QCELP, MKTAG('Q', 'c', 'l', 'q') }, |
350 |
|
|
{ AV_CODEC_ID_QCELP, MKTAG('s', 'q', 'c', 'p') }, /* ISO Media fourcc */ |
351 |
|
|
{ AV_CODEC_ID_QDM2, MKTAG('Q', 'D', 'M', '2') }, |
352 |
|
|
{ AV_CODEC_ID_QDMC, MKTAG('Q', 'D', 'M', 'C') }, |
353 |
|
|
{ AV_CODEC_ID_SPEEX, MKTAG('s', 'p', 'e', 'x') }, /* Flash Media Server */ |
354 |
|
|
{ AV_CODEC_ID_SPEEX, MKTAG('S', 'P', 'X', 'N') }, /* ZygoAudio (quality 10 mode) */ |
355 |
|
|
{ AV_CODEC_ID_EVRC, MKTAG('s', 'e', 'v', 'c') }, /* 3GPP2 */ |
356 |
|
|
{ AV_CODEC_ID_SMV, MKTAG('s', 's', 'm', 'v') }, /* 3GPP2 */ |
357 |
|
|
{ AV_CODEC_ID_FLAC, MKTAG('f', 'L', 'a', 'C') }, |
358 |
|
|
{ AV_CODEC_ID_TRUEHD, MKTAG('m', 'l', 'p', 'a') }, /* mp4ra.org */ |
359 |
|
|
{ AV_CODEC_ID_OPUS, MKTAG('O', 'p', 'u', 's') }, /* mp4ra.org */ |
360 |
|
|
{ AV_CODEC_ID_MPEGH_3D_AUDIO, MKTAG('m', 'h', 'm', '1') }, /* MPEG-H 3D Audio bitstream */ |
361 |
|
|
{ AV_CODEC_ID_NONE, 0 }, |
362 |
|
|
}; |
363 |
|
|
|
364 |
|
✗ |
const struct AVCodecTag *avformat_get_mov_video_tags(void) |
365 |
|
|
{ |
366 |
|
✗ |
return ff_codec_movvideo_tags; |
367 |
|
|
} |
368 |
|
|
|
369 |
|
✗ |
const struct AVCodecTag *avformat_get_mov_audio_tags(void) |
370 |
|
|
{ |
371 |
|
✗ |
return ff_codec_movaudio_tags; |
372 |
|
|
} |
373 |
|
|
|