FFmpeg coverage


Directory: ../../../ffmpeg/
File: src/libavformat/isom_tags.c
Date: 2022-12-05 20:26:17
Exec Total Coverage
Lines: 0 4 0.0%
Functions: 0 2 0.0%
Branches: 0 0 -%

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