2 #------------------------------------------------------------------------------
3 # $File: animation,v 1.57 2015/11/29 22:11:07 christos Exp $
4 # animation: file(1) magic for animation/movie formats
7 # MPEG, FLI, DL originally from vax@ccwf.cc.utexas.edu (VaX#n8)
8 # FLC, SGI, Apple originally from Daniel Quinlan (quinlan@yggdrasil.com)
10 # SGI and Apple formats
11 0 string MOVI Silicon Graphics movie file
12 !:mime video/x-sgi-movie
13 4 string moov Apple QuickTime
14 !:mime video/quicktime
15 >12 string mvhd \b movie (fast start)
16 >12 string mdra \b URL
17 >12 string cmov \b movie (fast start, compressed header)
18 >12 string rmra \b multiple URLs
19 4 string mdat Apple QuickTime movie (unoptimized)
20 !:mime video/quicktime
21 #4 string wide Apple QuickTime movie (unoptimized)
22 #!:mime video/quicktime
23 #4 string skip Apple QuickTime movie (modified)
24 #!:mime video/quicktime
25 #4 string free Apple QuickTime movie (modified)
26 #!:mime video/quicktime
27 4 string idsc Apple QuickTime image (fast start)
28 !:mime image/x-quicktime
29 #4 string idat Apple QuickTime image (unoptimized)
30 #!:mime image/x-quicktime
31 4 string pckg Apple QuickTime compressed archive
32 !:mime application/x-quicktime-player
33 4 string/W jP JPEG 2000 image
35 # http://www.ftyps.com/ with local additions
36 4 string ftyp ISO Media
37 >8 string 3g2 \b, MPEG v4 system, 3GPP2
39 >>11 byte 4 \b v4 (H.263/AMR GSM 6.10)
40 >>11 byte 5 \b v5 (H.263/AMR GSM 6.10)
41 >>11 byte 6 \b v6 (ITU H.264/AMR GSM 6.10)
42 >>11 byte a \b C.S0050-0 V1.0
43 >>11 byte b \b C.S0050-0-A V1.0.0
44 >>11 byte c \b C.S0050-0-B V1.0
45 >8 string 3ge \b, MPEG v4 system, 3GPP
47 >>11 byte 6 \b, Release 6 MBMS Extended Presentations
48 >>11 byte 7 \b, Release 7 MBMS Extended Presentations
49 >8 string 3gg \b, MPEG v4 system, 3GPP
50 >11 byte 6 \b, Release 6 General Profile
52 >8 string 3gp \b, MPEG v4 system, 3GPP
53 >11 byte 1 \b, Release %d (non existent)
54 >11 byte 2 \b, Release %d (non existent)
55 >11 byte 3 \b, Release %d (non existent)
56 >11 byte 4 \b, Release %d
57 >11 byte 5 \b, Release %d
58 >11 byte 6 \b, Release %d
59 >11 byte 7 \b, Release %d Streaming Servers
61 >8 string 3gs \b, MPEG v4 system, 3GPP
62 >11 byte 7 \b, Release %d Streaming Servers
64 >8 string avc1 \b, MPEG v4 system, 3GPP JVT AVC [ISO 14496-12:2005]
66 >8 string/W qt \b, Apple QuickTime movie
67 !:mime video/quicktime
68 >8 string CAEP \b, Canon Digital Camera
69 >8 string caqv \b, Casio Digital Camera
70 >8 string CDes \b, Convergent Design
71 >8 string da0a \b, DMB MAF w/ MPEG Layer II aud, MOT slides, DLS, JPG/PNG/MNG
72 >8 string da0b \b, DMB MAF, ext DA0A, with 3GPP timed text, DID, TVA, REL, IPMP
73 >8 string da1a \b, DMB MAF audio with ER-BSAC audio, JPG/PNG/MNG images
74 >8 string da1b \b, DMB MAF, ext da1a, with 3GPP timed text, DID, TVA, REL, IPMP
75 >8 string da2a \b, DMB MAF aud w/ HE-AAC v2 aud, MOT slides, DLS, JPG/PNG/MNG
76 >8 string da2b \b, DMB MAF, ext da2a, with 3GPP timed text, DID, TVA, REL, IPMP
77 >8 string da3a \b, DMB MAF aud with HE-AAC aud, JPG/PNG/MNG images
78 >8 string da3b \b, DMB MAF, ext da3a w/ BIFS, 3GPP, DID, TVA, REL, IPMP
79 >8 string dash \b, MPEG v4 system, Dynamic Adaptive Streaming over HTTP
81 >8 string dmb1 \b, DMB MAF supporting all the components defined in the spec
82 >8 string dmpf \b, Digital Media Project
83 >8 string drc1 \b, Dirac (wavelet compression), encap in ISO base media (MP4)
84 >8 string dv1a \b, DMB MAF vid w/ AVC vid, ER-BSAC aud, BIFS, JPG/PNG/MNG, TS
85 >8 string dv1b \b, DMB MAF, ext dv1a, with 3GPP timed text, DID, TVA, REL, IPMP
86 >8 string dv2a \b, DMB MAF vid w/ AVC vid, HE-AAC v2 aud, BIFS, JPG/PNG/MNG, TS
87 >8 string dv2b \b, DMB MAF, ext dv2a, with 3GPP timed text, DID, TVA, REL, IPMP
88 >8 string dv3a \b, DMB MAF vid w/ AVC vid, HE-AAC aud, BIFS, JPG/PNG/MNG, TS
89 >8 string dv3b \b, DMB MAF, ext dv3a, with 3GPP timed text, DID, TVA, REL, IPMP
90 >8 string dvr1 \b, DVB (.DVB) over RTP
91 !:mime video/vnd.dvb.file
92 >8 string dvt1 \b, DVB (.DVB) over MPEG-2 Transport Stream
93 !:mime video/vnd.dvb.file
94 >8 string F4V \b, Video for Adobe Flash Player 9+ (.F4V)
96 >8 string F4P \b, Protected Video for Adobe Flash Player 9+ (.F4P)
98 >8 string F4A \b, Audio for Adobe Flash Player 9+ (.F4A)
100 >8 string F4B \b, Audio Book for Adobe Flash Player 9+ (.F4B)
102 >8 string isc2 \b, ISMACryp 2.0 Encrypted File
103 # ?/enc-isoff-generic
104 >8 string iso2 \b, MP4 Base Media v2 [ISO 14496-12:2005]
106 >8 string isom \b, MP4 Base Media v1 [IS0 14496-12:2003]
108 >8 string/W jp2 \b, JPEG 2000
110 >8 string JP2 \b, JPEG 2000 Image (.JP2) [ISO 15444-1 ?]
112 >8 string JP20 \b, Unknown, from GPAC samples (prob non-existent)
113 >8 string jpm \b, JPEG 2000 Compound Image (.JPM) [ISO 15444-6]
115 >8 string jpx \b, JPEG 2000 w/ extensions (.JPX) [ISO 15444-2]
117 >8 string KDDI \b, 3GPP2 EZmovie for KDDI 3G cellphones
119 >8 string M4A \b, Apple iTunes ALAC/AAC-LC (.M4A) Audio
121 >8 string M4B \b, Apple iTunes ALAC/AAC-LC (.M4B) Audio Book
123 >8 string M4P \b, Apple iTunes ALAC/AAC-LC (.M4P) AES Protected Audio
125 >8 string M4V \b, Apple iTunes Video (.M4V) Video
127 >8 string M4VH \b, Apple TV (.M4V)
129 >8 string M4VP \b, Apple iPhone (.M4V)
131 >8 string mj2s \b, Motion JPEG 2000 [ISO 15444-3] Simple Profile
133 >8 string mjp2 \b, Motion JPEG 2000 [ISO 15444-3] General Profile
135 >8 string mmp4 \b, MPEG-4/3GPP Mobile Profile (.MP4 / .3GP) (for NTT)
137 >8 string mobi \b, MPEG-4, MOBI format
139 >8 string mp21 \b, MPEG-21 [ISO/IEC 21000-9]
140 >8 string mp41 \b, MP4 v1 [ISO 14496-1:ch13]
142 >8 string mp42 \b, MP4 v2 [ISO 14496-14]
144 >8 string mp71 \b, MP4 w/ MPEG-7 Metadata [per ISO 14496-12]
145 >8 string mp7t \b, MPEG v4 system, MPEG v7 XML
146 >8 string mp7b \b, MPEG v4 system, MPEG v7 binary XML
147 >8 string mmp4 \b, MPEG v4 system, 3GPP Mobile
149 >8 string MPPI \b, Photo Player, MAF [ISO/IEC 23000-3]
150 >8 string mqt \b, Sony / Mobile QuickTime (.MQV) US Pat 7,477,830
151 !:mime video/quicktime
152 >8 string MSNV \b, MPEG-4 (.MP4) for SonyPSP
154 >8 string NDAS \b, MP4 v2 [ISO 14496-14] Nero Digital AAC Audio
156 >8 string NDSC \b, MPEG-4 (.MP4) Nero Cinema Profile
158 >8 string NDSH \b, MPEG-4 (.MP4) Nero HDTV Profile
160 >8 string NDSM \b, MPEG-4 (.MP4) Nero Mobile Profile
162 >8 string NDSP \b, MPEG-4 (.MP4) Nero Portable Profile
164 >8 string NDSS \b, MPEG-4 (.MP4) Nero Standard Profile
166 >8 string NDXC \b, H.264/MPEG-4 AVC (.MP4) Nero Cinema Profile
168 >8 string NDXH \b, H.264/MPEG-4 AVC (.MP4) Nero HDTV Profile
170 >8 string NDXM \b, H.264/MPEG-4 AVC (.MP4) Nero Mobile Profile
172 >8 string NDXP \b, H.264/MPEG-4 AVC (.MP4) Nero Portable Profile
174 >8 string NDXS \b, H.264/MPEG-4 AVC (.MP4) Nero Standard Profile
176 >8 string odcf \b, OMA DCF DRM Format 2.0 (OMA-TS-DRM-DCF-V2_0-20060303-A)
177 >8 string opf2 \b, OMA PDCF DRM Format 2.1 (OMA-TS-DRM-DCF-V2_1-20070724-C)
178 >8 string opx2 \b, OMA PDCF DRM + XBS ext (OMA-TS-DRM_XBS-V1_0-20070529-C)
179 >8 string pana \b, Panasonic Digital Camera
180 >8 string qt \b, Apple QuickTime (.MOV/QT)
181 !:mime video/quicktime
182 >8 string ROSS \b, Ross Video
183 >8 string sdv \b, SD Memory Card Video
184 >8 string ssc1 \b, Samsung stereo, single stream (patent pending)
185 >8 string ssc2 \b, Samsung stereo, dual stream (patent pending)
188 # Scans for all common MPEG header start codes
190 >4 byte&0x1F 0x07 JVT NAL sequence, H.264 video
191 >>5 byte 66 \b, baseline
193 >>5 byte 88 \b, extended
195 0 belong&0xFFFFFF00 0x00000100
196 >3 byte 0xBA MPEG sequence
198 >>4 byte &0x40 \b, v2, program multiplex
199 >>4 byte ^0x40 \b, v1, system multiplex
200 >3 byte 0xBB MPEG sequence, v1/2, multiplex (missing pack header)
201 >3 byte&0x1F 0x07 MPEG sequence, H.264 video
202 >>4 byte 66 \b, baseline
204 >>4 byte 88 \b, extended
206 # GRR too general as it catches also FoxPro Memo example NG.FPT
207 >3 byte 0xB0 MPEG sequence, v4
208 # TODO: maybe this extra line exclude FoxPro Memo example NG.FPT starting with 000001b0 00000100 00000000
209 #>>4 byte !0 MPEG sequence, v4
210 !:mime video/mpeg4-generic
211 >>5 belong 0x000001B5
213 >>>>10 byte&0xF0 16 \b, video
214 >>>>10 byte&0xF0 32 \b, still texture
215 >>>>10 byte&0xF0 48 \b, mesh
216 >>>>10 byte&0xF0 64 \b, face
217 >>>9 byte&0xF8 8 \b, video
218 >>>9 byte&0xF8 16 \b, still texture
219 >>>9 byte&0xF8 24 \b, mesh
220 >>>9 byte&0xF8 32 \b, face
221 >>4 byte 1 \b, simple @ L1
222 >>4 byte 2 \b, simple @ L2
223 >>4 byte 3 \b, simple @ L3
224 >>4 byte 4 \b, simple @ L0
225 >>4 byte 17 \b, simple scalable @ L1
226 >>4 byte 18 \b, simple scalable @ L2
227 >>4 byte 33 \b, core @ L1
228 >>4 byte 34 \b, core @ L2
229 >>4 byte 50 \b, main @ L2
230 >>4 byte 51 \b, main @ L3
231 >>4 byte 53 \b, main @ L4
232 >>4 byte 66 \b, n-bit @ L2
233 >>4 byte 81 \b, scalable texture @ L1
234 >>4 byte 97 \b, simple face animation @ L1
235 >>4 byte 98 \b, simple face animation @ L2
236 >>4 byte 99 \b, simple face basic animation @ L1
237 >>4 byte 100 \b, simple face basic animation @ L2
238 >>4 byte 113 \b, basic animation text @ L1
239 >>4 byte 114 \b, basic animation text @ L2
240 >>4 byte 129 \b, hybrid @ L1
241 >>4 byte 130 \b, hybrid @ L2
242 >>4 byte 145 \b, advanced RT simple @ L!
243 >>4 byte 146 \b, advanced RT simple @ L2
244 >>4 byte 147 \b, advanced RT simple @ L3
245 >>4 byte 148 \b, advanced RT simple @ L4
246 >>4 byte 161 \b, core scalable @ L1
247 >>4 byte 162 \b, core scalable @ L2
248 >>4 byte 163 \b, core scalable @ L3
249 >>4 byte 177 \b, advanced coding efficiency @ L1
250 >>4 byte 178 \b, advanced coding efficiency @ L2
251 >>4 byte 179 \b, advanced coding efficiency @ L3
252 >>4 byte 180 \b, advanced coding efficiency @ L4
253 >>4 byte 193 \b, advanced core @ L1
254 >>4 byte 194 \b, advanced core @ L2
255 >>4 byte 209 \b, advanced scalable texture @ L1
256 >>4 byte 210 \b, advanced scalable texture @ L2
257 >>4 byte 211 \b, advanced scalable texture @ L3
258 >>4 byte 225 \b, simple studio @ L1
259 >>4 byte 226 \b, simple studio @ L2
260 >>4 byte 227 \b, simple studio @ L3
261 >>4 byte 228 \b, simple studio @ L4
262 >>4 byte 229 \b, core studio @ L1
263 >>4 byte 230 \b, core studio @ L2
264 >>4 byte 231 \b, core studio @ L3
265 >>4 byte 232 \b, core studio @ L4
266 >>4 byte 240 \b, advanced simple @ L0
267 >>4 byte 241 \b, advanced simple @ L1
268 >>4 byte 242 \b, advanced simple @ L2
269 >>4 byte 243 \b, advanced simple @ L3
270 >>4 byte 244 \b, advanced simple @ L4
271 >>4 byte 245 \b, advanced simple @ L5
272 >>4 byte 247 \b, advanced simple @ L3b
273 >>4 byte 248 \b, FGS @ L0
274 >>4 byte 249 \b, FGS @ L1
275 >>4 byte 250 \b, FGS @ L2
276 >>4 byte 251 \b, FGS @ L3
277 >>4 byte 252 \b, FGS @ L4
278 >>4 byte 253 \b, FGS @ L5
279 >3 byte 0xB5 MPEG sequence, v4
280 !:mime video/mpeg4-generic
282 >>>5 byte&0xF0 16 \b, video (missing profile header)
283 >>>5 byte&0xF0 32 \b, still texture (missing profile header)
284 >>>5 byte&0xF0 48 \b, mesh (missing profile header)
285 >>>5 byte&0xF0 64 \b, face (missing profile header)
286 >>4 byte&0xF8 8 \b, video (missing profile header)
287 >>4 byte&0xF8 16 \b, still texture (missing profile header)
288 >>4 byte&0xF8 24 \b, mesh (missing profile header)
289 >>4 byte&0xF8 32 \b, face (missing profile header)
290 >3 byte 0xB3 MPEG sequence
292 >>12 belong 0x000001B8 \b, v1, progressive Y'CbCr 4:2:0 video
293 >>12 belong 0x000001B2 \b, v1, progressive Y'CbCr 4:2:0 video
294 >>12 belong 0x000001B5 \b, v2,
295 >>>16 byte&0x0F 1 \b HP
296 >>>16 byte&0x0F 2 \b Spt
297 >>>16 byte&0x0F 3 \b SNR
298 >>>16 byte&0x0F 4 \b MP
299 >>>16 byte&0x0F 5 \b SP
300 >>>17 byte&0xF0 64 \b@HL
301 >>>17 byte&0xF0 96 \b@H-14
302 >>>17 byte&0xF0 128 \b@ML
303 >>>17 byte&0xF0 160 \b@LL
304 >>>17 byte &0x08 \b progressive
305 >>>17 byte ^0x08 \b interlaced
306 >>>17 byte&0x06 2 \b Y'CbCr 4:2:0 video
307 >>>17 byte&0x06 4 \b Y'CbCr 4:2:2 video
308 >>>17 byte&0x06 6 \b Y'CbCr 4:4:4 video
311 >>>>140 belong 0x000001B8 \b, v1, progressive Y'CbCr 4:2:0 video
312 >>>>140 belong 0x000001B2 \b, v1, progressive Y'CbCr 4:2:0 video
313 >>>>140 belong 0x000001B5 \b, v2,
314 >>>>>144 byte&0x0F 1 \b HP
315 >>>>>144 byte&0x0F 2 \b Spt
316 >>>>>144 byte&0x0F 3 \b SNR
317 >>>>>144 byte&0x0F 4 \b MP
318 >>>>>144 byte&0x0F 5 \b SP
319 >>>>>145 byte&0xF0 64 \b@HL
320 >>>>>145 byte&0xF0 96 \b@H-14
321 >>>>>145 byte&0xF0 128 \b@ML
322 >>>>>145 byte&0xF0 160 \b@LL
323 >>>>>145 byte &0x08 \b progressive
324 >>>>>145 byte ^0x08 \b interlaced
325 >>>>>145 byte&0x06 2 \b Y'CbCr 4:2:0 video
326 >>>>>145 byte&0x06 4 \b Y'CbCr 4:2:2 video
327 >>>>>145 byte&0x06 6 \b Y'CbCr 4:4:4 video
328 >>76 belong 0x000001B8 \b, v1, progressive Y'CbCr 4:2:0 video
329 >>76 belong 0x000001B2 \b, v1, progressive Y'CbCr 4:2:0 video
330 >>76 belong 0x000001B5 \b, v2,
331 >>>80 byte&0x0F 1 \b HP
332 >>>80 byte&0x0F 2 \b Spt
333 >>>80 byte&0x0F 3 \b SNR
334 >>>80 byte&0x0F 4 \b MP
335 >>>80 byte&0x0F 5 \b SP
336 >>>81 byte&0xF0 64 \b@HL
337 >>>81 byte&0xF0 96 \b@H-14
338 >>>81 byte&0xF0 128 \b@ML
339 >>>81 byte&0xF0 160 \b@LL
340 >>>81 byte &0x08 \b progressive
341 >>>81 byte ^0x08 \b interlaced
342 >>>81 byte&0x06 2 \b Y'CbCr 4:2:0 video
343 >>>81 byte&0x06 4 \b Y'CbCr 4:2:2 video
344 >>>81 byte&0x06 6 \b Y'CbCr 4:4:4 video
345 >>4 belong&0xFFFFFF00 0x78043800 \b, HD-TV 1920P
346 >>>7 byte&0xF0 0x10 \b, 16:9
347 >>4 belong&0xFFFFFF00 0x50002D00 \b, SD-TV 1280I
348 >>>7 byte&0xF0 0x10 \b, 16:9
349 >>4 belong&0xFFFFFF00 0x30024000 \b, PAL Capture
350 >>>7 byte&0xF0 0x10 \b, 4:3
351 >>4 beshort&0xFFF0 0x2C00 \b, 4CIF
352 >>>5 beshort&0x0FFF 0x01E0 \b NTSC
353 >>>5 beshort&0x0FFF 0x0240 \b PAL
354 >>>7 byte&0xF0 0x20 \b, 4:3
355 >>>7 byte&0xF0 0x30 \b, 16:9
356 >>>7 byte&0xF0 0x40 \b, 11:5
357 >>>7 byte&0xF0 0x80 \b, PAL 4:3
358 >>>7 byte&0xF0 0xC0 \b, NTSC 4:3
359 >>4 belong&0xFFFFFF00 0x2801E000 \b, LD-TV 640P
360 >>>7 byte&0xF0 0x10 \b, 4:3
361 >>4 belong&0xFFFFFF00 0x1400F000 \b, 320x240
362 >>>7 byte&0xF0 0x10 \b, 4:3
363 >>4 belong&0xFFFFFF00 0x0F00A000 \b, 240x160
364 >>>7 byte&0xF0 0x10 \b, 4:3
365 >>4 belong&0xFFFFFF00 0x0A007800 \b, 160x120
366 >>>7 byte&0xF0 0x10 \b, 4:3
367 >>4 beshort&0xFFF0 0x1600 \b, CIF
368 >>>5 beshort&0x0FFF 0x00F0 \b NTSC
369 >>>5 beshort&0x0FFF 0x0120 \b PAL
370 >>>7 byte&0xF0 0x20 \b, 4:3
371 >>>7 byte&0xF0 0x30 \b, 16:9
372 >>>7 byte&0xF0 0x40 \b, 11:5
373 >>>7 byte&0xF0 0x80 \b, PAL 4:3
374 >>>7 byte&0xF0 0xC0 \b, NTSC 4:3
375 >>>5 beshort&0x0FFF 0x0240 \b PAL 625
376 >>>>7 byte&0xF0 0x20 \b, 4:3
377 >>>>7 byte&0xF0 0x30 \b, 16:9
378 >>>>7 byte&0xF0 0x40 \b, 11:5
379 >>4 beshort&0xFFF0 0x2D00 \b, CCIR/ITU
380 >>>5 beshort&0x0FFF 0x01E0 \b NTSC 525
381 >>>5 beshort&0x0FFF 0x0240 \b PAL 625
382 >>>7 byte&0xF0 0x20 \b, 4:3
383 >>>7 byte&0xF0 0x30 \b, 16:9
384 >>>7 byte&0xF0 0x40 \b, 11:5
385 >>4 beshort&0xFFF0 0x1E00 \b, SVCD
386 >>>5 beshort&0x0FFF 0x01E0 \b NTSC 525
387 >>>5 beshort&0x0FFF 0x0240 \b PAL 625
388 >>>7 byte&0xF0 0x20 \b, 4:3
389 >>>7 byte&0xF0 0x30 \b, 16:9
390 >>>7 byte&0xF0 0x40 \b, 11:5
391 >>7 byte&0x0F 1 \b, 23.976 fps
392 >>7 byte&0x0F 2 \b, 24 fps
393 >>7 byte&0x0F 3 \b, 25 fps
394 >>7 byte&0x0F 4 \b, 29.97 fps
395 >>7 byte&0x0F 5 \b, 30 fps
396 >>7 byte&0x0F 6 \b, 50 fps
397 >>7 byte&0x0F 7 \b, 59.94 fps
398 >>7 byte&0x0F 8 \b, 60 fps
399 >>11 byte &0x04 \b, Constrained
401 # MPEG ADTS Audio (*.mpx/mxa/aac)
402 # from dreesen@math.fu-berlin.de
403 # modified to fully support MPEG ADTS
406 # modified by Joerg Jenderek
407 # GRR the original test are too common for many DOS files
408 # so don't accept as MP3 until we've tested the rate
409 0 beshort&0xFFFE 0xFFFA
411 >2 byte&0xF0 0x10 MPEG ADTS, layer III, v1, 32 kbps
413 >2 byte&0xF0 0x20 MPEG ADTS, layer III, v1, 40 kbps
415 >2 byte&0xF0 0x30 MPEG ADTS, layer III, v1, 48 kbps
417 >2 byte&0xF0 0x40 MPEG ADTS, layer III, v1, 56 kbps
419 >2 byte&0xF0 0x50 MPEG ADTS, layer III, v1, 64 kbps
421 >2 byte&0xF0 0x60 MPEG ADTS, layer III, v1, 80 kbps
423 >2 byte&0xF0 0x70 MPEG ADTS, layer III, v1, 96 kbps
425 >2 byte&0xF0 0x80 MPEG ADTS, layer III, v1, 112 kbps
427 >2 byte&0xF0 0x90 MPEG ADTS, layer III, v1, 128 kbps
429 >2 byte&0xF0 0xA0 MPEG ADTS, layer III, v1, 160 kbps
431 >2 byte&0xF0 0xB0 MPEG ADTS, layer III, v1, 192 kbps
433 >2 byte&0xF0 0xC0 MPEG ADTS, layer III, v1, 224 kbps
435 >2 byte&0xF0 0xD0 MPEG ADTS, layer III, v1, 256 kbps
437 >2 byte&0xF0 0xE0 MPEG ADTS, layer III, v1, 320 kbps
440 >2 byte&0x0C 0x00 \b, 44.1 kHz
441 >2 byte&0x0C 0x04 \b, 48 kHz
442 >2 byte&0x0C 0x08 \b, 32 kHz
444 >3 byte&0xC0 0x00 \b, Stereo
445 >3 byte&0xC0 0x40 \b, JntStereo
446 >3 byte&0xC0 0x80 \b, 2x Monaural
447 >3 byte&0xC0 0xC0 \b, Monaural
448 #>1 byte ^0x01 \b, Data Verify
449 #>2 byte &0x02 \b, Packet Pad
450 #>2 byte &0x01 \b, Custom Flag
451 #>3 byte &0x08 \b, Copyrighted
452 #>3 byte &0x04 \b, Original Source
453 #>3 byte&0x03 1 \b, NR: 50/15 ms
454 #>3 byte&0x03 3 \b, NR: CCIT J.17
457 0 beshort&0xFFFE 0xFFFC MPEG ADTS, layer II, v1
460 >2 byte&0xF0 0x10 \b, 32 kbps
461 >2 byte&0xF0 0x20 \b, 48 kbps
462 >2 byte&0xF0 0x30 \b, 56 kbps
463 >2 byte&0xF0 0x40 \b, 64 kbps
464 >2 byte&0xF0 0x50 \b, 80 kbps
465 >2 byte&0xF0 0x60 \b, 96 kbps
466 >2 byte&0xF0 0x70 \b, 112 kbps
467 >2 byte&0xF0 0x80 \b, 128 kbps
468 >2 byte&0xF0 0x90 \b, 160 kbps
469 >2 byte&0xF0 0xA0 \b, 192 kbps
470 >2 byte&0xF0 0xB0 \b, 224 kbps
471 >2 byte&0xF0 0xC0 \b, 256 kbps
472 >2 byte&0xF0 0xD0 \b, 320 kbps
473 >2 byte&0xF0 0xE0 \b, 384 kbps
475 >2 byte&0x0C 0x00 \b, 44.1 kHz
476 >2 byte&0x0C 0x04 \b, 48 kHz
477 >2 byte&0x0C 0x08 \b, 32 kHz
479 >3 byte&0xC0 0x00 \b, Stereo
480 >3 byte&0xC0 0x40 \b, JntStereo
481 >3 byte&0xC0 0x80 \b, 2x Monaural
482 >3 byte&0xC0 0xC0 \b, Monaural
483 #>1 byte ^0x01 \b, Data Verify
484 #>2 byte &0x02 \b, Packet Pad
485 #>2 byte &0x01 \b, Custom Flag
486 #>3 byte &0x08 \b, Copyrighted
487 #>3 byte &0x04 \b, Original Source
488 #>3 byte&0x03 1 \b, NR: 50/15 ms
489 #>3 byte&0x03 3 \b, NR: CCIT J.17
492 # updated by Joerg Jenderek
493 # GRR the original test are too common for many DOS files, so test 32 <= kbits <= 448
494 # GRR this test is still too general as it catches a BOM of UTF-16 files (0xFFFE)
495 # FIXME: Almost all little endian UTF-16 text with BOM are clobbered by these entries
496 #0 beshort&0xFFFE 0xFFFE
498 #>>2 ubyte&0xF0 <0xE1 MPEG ADTS, layer I, v1
500 #>>>2 byte&0xF0 0x10 \b, 32 kbps
501 #>>>2 byte&0xF0 0x20 \b, 64 kbps
502 #>>>2 byte&0xF0 0x30 \b, 96 kbps
503 #>>>2 byte&0xF0 0x40 \b, 128 kbps
504 #>>>2 byte&0xF0 0x50 \b, 160 kbps
505 #>>>2 byte&0xF0 0x60 \b, 192 kbps
506 #>>>2 byte&0xF0 0x70 \b, 224 kbps
507 #>>>2 byte&0xF0 0x80 \b, 256 kbps
508 #>>>2 byte&0xF0 0x90 \b, 288 kbps
509 #>>>2 byte&0xF0 0xA0 \b, 320 kbps
510 #>>>2 byte&0xF0 0xB0 \b, 352 kbps
511 #>>>2 byte&0xF0 0xC0 \b, 384 kbps
512 #>>>2 byte&0xF0 0xD0 \b, 416 kbps
513 #>>>2 byte&0xF0 0xE0 \b, 448 kbps
515 #>>>2 byte&0x0C 0x00 \b, 44.1 kHz
516 #>>>2 byte&0x0C 0x04 \b, 48 kHz
517 #>>>2 byte&0x0C 0x08 \b, 32 kHz
519 #>>>3 byte&0xC0 0x00 \b, Stereo
520 #>>>3 byte&0xC0 0x40 \b, JntStereo
521 #>>>3 byte&0xC0 0x80 \b, 2x Monaural
522 #>>>3 byte&0xC0 0xC0 \b, Monaural
523 ##>1 byte ^0x01 \b, Data Verify
524 ##>2 byte &0x02 \b, Packet Pad
525 ##>2 byte &0x01 \b, Custom Flag
526 ##>3 byte &0x08 \b, Copyrighted
527 ##>3 byte &0x04 \b, Original Source
528 ##>3 byte&0x03 1 \b, NR: 50/15 ms
529 ##>3 byte&0x03 3 \b, NR: CCIT J.17
532 0 beshort&0xFFFE 0xFFF2 MPEG ADTS, layer III, v2
535 >2 byte&0xF0 0x10 \b, 8 kbps
536 >2 byte&0xF0 0x20 \b, 16 kbps
537 >2 byte&0xF0 0x30 \b, 24 kbps
538 >2 byte&0xF0 0x40 \b, 32 kbps
539 >2 byte&0xF0 0x50 \b, 40 kbps
540 >2 byte&0xF0 0x60 \b, 48 kbps
541 >2 byte&0xF0 0x70 \b, 56 kbps
542 >2 byte&0xF0 0x80 \b, 64 kbps
543 >2 byte&0xF0 0x90 \b, 80 kbps
544 >2 byte&0xF0 0xA0 \b, 96 kbps
545 >2 byte&0xF0 0xB0 \b, 112 kbps
546 >2 byte&0xF0 0xC0 \b, 128 kbps
547 >2 byte&0xF0 0xD0 \b, 144 kbps
548 >2 byte&0xF0 0xE0 \b, 160 kbps
550 >2 byte&0x0C 0x00 \b, 22.05 kHz
551 >2 byte&0x0C 0x04 \b, 24 kHz
552 >2 byte&0x0C 0x08 \b, 16 kHz
554 >3 byte&0xC0 0x00 \b, Stereo
555 >3 byte&0xC0 0x40 \b, JntStereo
556 >3 byte&0xC0 0x80 \b, 2x Monaural
557 >3 byte&0xC0 0xC0 \b, Monaural
558 #>1 byte ^0x01 \b, Data Verify
559 #>2 byte &0x02 \b, Packet Pad
560 #>2 byte &0x01 \b, Custom Flag
561 #>3 byte &0x08 \b, Copyrighted
562 #>3 byte &0x04 \b, Original Source
563 #>3 byte&0x03 1 \b, NR: 50/15 ms
564 #>3 byte&0x03 3 \b, NR: CCIT J.17
567 0 beshort&0xFFFE 0xFFF4 MPEG ADTS, layer II, v2
570 >2 byte&0xF0 0x10 \b, 8 kbps
571 >2 byte&0xF0 0x20 \b, 16 kbps
572 >2 byte&0xF0 0x30 \b, 24 kbps
573 >2 byte&0xF0 0x40 \b, 32 kbps
574 >2 byte&0xF0 0x50 \b, 40 kbps
575 >2 byte&0xF0 0x60 \b, 48 kbps
576 >2 byte&0xF0 0x70 \b, 56 kbps
577 >2 byte&0xF0 0x80 \b, 64 kbps
578 >2 byte&0xF0 0x90 \b, 80 kbps
579 >2 byte&0xF0 0xA0 \b, 96 kbps
580 >2 byte&0xF0 0xB0 \b, 112 kbps
581 >2 byte&0xF0 0xC0 \b, 128 kbps
582 >2 byte&0xF0 0xD0 \b, 144 kbps
583 >2 byte&0xF0 0xE0 \b, 160 kbps
585 >2 byte&0x0C 0x00 \b, 22.05 kHz
586 >2 byte&0x0C 0x04 \b, 24 kHz
587 >2 byte&0x0C 0x08 \b, 16 kHz
589 >3 byte&0xC0 0x00 \b, Stereo
590 >3 byte&0xC0 0x40 \b, JntStereo
591 >3 byte&0xC0 0x80 \b, 2x Monaural
592 >3 byte&0xC0 0xC0 \b, Monaural
593 #>1 byte ^0x01 \b, Data Verify
594 #>2 byte &0x02 \b, Packet Pad
595 #>2 byte &0x01 \b, Custom Flag
596 #>3 byte &0x08 \b, Copyrighted
597 #>3 byte &0x04 \b, Original Source
598 #>3 byte&0x03 1 \b, NR: 50/15 ms
599 #>3 byte&0x03 3 \b, NR: CCIT J.17
602 0 beshort&0xFFFE 0xFFF6 MPEG ADTS, layer I, v2
605 >2 byte&0xF0 0x10 \b, 32 kbps
606 >2 byte&0xF0 0x20 \b, 48 kbps
607 >2 byte&0xF0 0x30 \b, 56 kbps
608 >2 byte&0xF0 0x40 \b, 64 kbps
609 >2 byte&0xF0 0x50 \b, 80 kbps
610 >2 byte&0xF0 0x60 \b, 96 kbps
611 >2 byte&0xF0 0x70 \b, 112 kbps
612 >2 byte&0xF0 0x80 \b, 128 kbps
613 >2 byte&0xF0 0x90 \b, 144 kbps
614 >2 byte&0xF0 0xA0 \b, 160 kbps
615 >2 byte&0xF0 0xB0 \b, 176 kbps
616 >2 byte&0xF0 0xC0 \b, 192 kbps
617 >2 byte&0xF0 0xD0 \b, 224 kbps
618 >2 byte&0xF0 0xE0 \b, 256 kbps
620 >2 byte&0x0C 0x00 \b, 22.05 kHz
621 >2 byte&0x0C 0x04 \b, 24 kHz
622 >2 byte&0x0C 0x08 \b, 16 kHz
624 >3 byte&0xC0 0x00 \b, Stereo
625 >3 byte&0xC0 0x40 \b, JntStereo
626 >3 byte&0xC0 0x80 \b, 2x Monaural
627 >3 byte&0xC0 0xC0 \b, Monaural
628 #>1 byte ^0x01 \b, Data Verify
629 #>2 byte &0x02 \b, Packet Pad
630 #>2 byte &0x01 \b, Custom Flag
631 #>3 byte &0x08 \b, Copyrighted
632 #>3 byte &0x04 \b, Original Source
633 #>3 byte&0x03 1 \b, NR: 50/15 ms
634 #>3 byte&0x03 3 \b, NR: CCIT J.17
637 0 beshort&0xFFFE 0xFFE2 MPEG ADTS, layer III, v2.5
640 >2 byte&0xF0 0x10 \b, 8 kbps
641 >2 byte&0xF0 0x20 \b, 16 kbps
642 >2 byte&0xF0 0x30 \b, 24 kbps
643 >2 byte&0xF0 0x40 \b, 32 kbps
644 >2 byte&0xF0 0x50 \b, 40 kbps
645 >2 byte&0xF0 0x60 \b, 48 kbps
646 >2 byte&0xF0 0x70 \b, 56 kbps
647 >2 byte&0xF0 0x80 \b, 64 kbps
648 >2 byte&0xF0 0x90 \b, 80 kbps
649 >2 byte&0xF0 0xA0 \b, 96 kbps
650 >2 byte&0xF0 0xB0 \b, 112 kbps
651 >2 byte&0xF0 0xC0 \b, 128 kbps
652 >2 byte&0xF0 0xD0 \b, 144 kbps
653 >2 byte&0xF0 0xE0 \b, 160 kbps
655 >2 byte&0x0C 0x00 \b, 11.025 kHz
656 >2 byte&0x0C 0x04 \b, 12 kHz
657 >2 byte&0x0C 0x08 \b, 8 kHz
659 >3 byte&0xC0 0x00 \b, Stereo
660 >3 byte&0xC0 0x40 \b, JntStereo
661 >3 byte&0xC0 0x80 \b, 2x Monaural
662 >3 byte&0xC0 0xC0 \b, Monaural
663 #>1 byte ^0x01 \b, Data Verify
664 #>2 byte &0x02 \b, Packet Pad
665 #>2 byte &0x01 \b, Custom Flag
666 #>3 byte &0x08 \b, Copyrighted
667 #>3 byte &0x04 \b, Original Source
668 #>3 byte&0x03 1 \b, NR: 50/15 ms
669 #>3 byte&0x03 3 \b, NR: CCIT J.17
671 # AAC (aka MPEG-2 NBC audio) and MPEG-4 audio
673 # Stored AAC streams (instead of the MP4 format)
674 0 string ADIF MPEG ADIF, AAC
675 !:mime audio/x-hx-aac-adif
677 >>13 byte &0x10 \b, VBR
678 >>13 byte ^0x10 \b, CBR
679 >>16 byte&0x1E 0x02 \b, single stream
680 >>16 byte&0x1E 0x04 \b, 2 streams
681 >>16 byte&0x1E 0x06 \b, 3 streams
682 >>16 byte &0x08 \b, 4 or more streams
683 >>16 byte &0x10 \b, 8 or more streams
684 >>4 byte &0x80 \b, Copyrighted
685 >>13 byte &0x40 \b, Original Source
686 >>13 byte &0x20 \b, Home Flag
688 >>4 byte &0x10 \b, VBR
689 >>4 byte ^0x10 \b, CBR
690 >>7 byte&0x1E 0x02 \b, single stream
691 >>7 byte&0x1E 0x04 \b, 2 streams
692 >>7 byte&0x1E 0x06 \b, 3 streams
693 >>7 byte &0x08 \b, 4 or more streams
694 >>7 byte &0x10 \b, 8 or more streams
695 >>4 byte &0x40 \b, Original Stream(s)
696 >>4 byte &0x20 \b, Home Source
698 # Live or stored single AAC stream (used with MPEG-2 systems)
699 0 beshort&0xFFF6 0xFFF0 MPEG ADTS, AAC
700 !:mime audio/x-hx-aac-adts
704 >>2 byte &0xC0 \b LTP
705 >2 byte&0xc0 0x00 \b Main
706 >2 byte&0xc0 0x40 \b LC
707 >2 byte&0xc0 0x80 \b SSR
709 >2 byte&0x3c 0x00 \b, 96 kHz
710 >2 byte&0x3c 0x04 \b, 88.2 kHz
711 >2 byte&0x3c 0x08 \b, 64 kHz
712 >2 byte&0x3c 0x0c \b, 48 kHz
713 >2 byte&0x3c 0x10 \b, 44.1 kHz
714 >2 byte&0x3c 0x14 \b, 32 kHz
715 >2 byte&0x3c 0x18 \b, 24 kHz
716 >2 byte&0x3c 0x1c \b, 22.05 kHz
717 >2 byte&0x3c 0x20 \b, 16 kHz
718 >2 byte&0x3c 0x24 \b, 12 kHz
719 >2 byte&0x3c 0x28 \b, 11.025 kHz
720 >2 byte&0x3c 0x2c \b, 8 kHz
722 >2 beshort&0x01c0 0x0040 \b, monaural
723 >2 beshort&0x01c0 0x0080 \b, stereo
724 >2 beshort&0x01c0 0x00c0 \b, stereo + center
725 >2 beshort&0x01c0 0x0100 \b, stereo+center+LFE
726 >2 beshort&0x01c0 0x0140 \b, surround
727 >2 beshort&0x01c0 0x0180 \b, surround + LFE
728 >2 beshort &0x01C0 \b, surround + side
729 #>1 byte ^0x01 \b, Data Verify
730 #>2 byte &0x02 \b, Custom Flag
731 #>3 byte &0x20 \b, Original Stream
732 #>3 byte &0x10 \b, Home Source
733 #>3 byte &0x08 \b, Copyrighted
735 # Live MPEG-4 audio streams (instead of RTP FlexMux)
736 0 beshort&0xFFE0 0x56E0 MPEG-4 LOAS
737 !:mime audio/x-mp4a-latm
738 #>1 beshort&0x1FFF x \b, %hu byte packet
740 >>4 byte&0x3C 0x04 \b, single stream
741 >>4 byte&0x3C 0x08 \b, 2 streams
742 >>4 byte&0x3C 0x0C \b, 3 streams
743 >>4 byte &0x08 \b, 4 or more streams
744 >>4 byte &0x20 \b, 8 or more streams
746 >>4 byte&0x78 0x08 \b, single stream
747 >>4 byte&0x78 0x10 \b, 2 streams
748 >>4 byte&0x78 0x18 \b, 3 streams
749 >>4 byte &0x20 \b, 4 or more streams
750 >>4 byte &0x40 \b, 8 or more streams
751 # This magic isn't strong enough (matches plausible ISO-8859-1 text)
752 #0 beshort 0x4DE1 MPEG-4 LO-EP audio stream
753 #!:mime audio/x-mp4a-latm
755 # Summary: FLI animation format
756 # Created by: Daniel Quinlan <quinlan@yggdrasil.com>
757 # Modified by (1): Abel Cheung <abelcheung@gmail.com> (avoid over-generic detection)
759 # standard FLI always has 320x200 resolution and 8 bit color
762 >>>12 leshort 8 FLI animation, 320x200x8
764 >>>>6 leshort x \b, %d frames
765 # frame speed is multiple of 1/70s
766 >>>>16 leshort x \b, %d/70s per frame
768 # Summary: FLC animation format
769 # Created by: Daniel Quinlan <quinlan@yggdrasil.com>
770 # Modified by (1): Abel Cheung <abelcheung@gmail.com> (avoid over-generic detection)
772 # standard FLC always use 8 bit color
773 >12 leshort 8 FLC animation
776 >>10 leshort x \bx%dx8
777 >>6 uleshort x \b, %d frames
778 >>16 uleshort x \b, %dms per frame
780 # DL animation format
781 # XXX - collision with most `mips' magic
783 # I couldn't find a real magic number for these, however, this
784 # -appears- to work. Note that it might catch other files, too, so be
787 # Note that title and author appear in the two 20-byte chunks
788 # at decimal offsets 2 and 22, respectively, but they are XOR'ed with
789 # 255 (hex FF)! The DL format is really bad.
791 #0 byte 1 DL version 1, medium format (160x100, 4 images/screen)
792 #!:mime video/x-unknown
793 #>42 byte x - %d screens,
794 #>43 byte x %d commands
795 #0 byte 2 DL version 2
796 #!:mime video/x-unknown
797 #>1 byte 1 - large format (320x200,1 image/screen),
798 #>1 byte 2 - medium format (160x100,4 images/screen),
799 #>1 byte >2 - unknown format,
800 #>42 byte x %d screens,
801 #>43 byte x %d commands
802 # Based on empirical evidence, DL version 3 have several nulls following the
803 # \003. Most of them start with non-null values at hex offset 0x34 or so.
804 #0 string \3\0\0\0\0\0\0\0\0\0\0\0 DL version 3
806 # iso 13818 transport stream
808 # from Oskar Schirmer <schirmer@scara.com> Feb 3, 2001 (ISO 13818.1)
809 # syncbyte 8 bit 0x47
811 # payload_start 1 bit 1
815 # adaptfld_ctrl 2 bit 1 or 3
816 # conti_count 4 bit -
817 0 belong&0xFF5FFF10 0x47400010
818 >188 byte 0x47 MPEG transport stream data
820 # DIF digital video file format <mpruett@sgi.com>
821 0 belong&0xffffff00 0x1f070000 DIF
822 >4 byte &0x01 (DVCPRO) movie file
823 >4 byte ^0x01 (DV) movie file
827 # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
828 0 belong 0x3026b275 Microsoft ASF
829 !:mime video/x-ms-asf
831 # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
832 0 string \x8aMNG MNG video data,
834 >4 belong !0x0d0a1a0a CORRUPTED,
839 # JNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
840 0 string \x8bJNG JNG video data,
842 >4 belong !0x0d0a1a0a CORRUPTED,
847 # Vivo video (Wolfram Kleff)
848 3 string \x0D\x0AVersion:Vivo Vivo video data
850 # VRML (Virtual Reality Modelling Language)
851 0 string/w #VRML\ V1.0\ ascii VRML 1 file
853 0 string/w #VRML\ V2.0\ utf8 ISO/IEC 14772 VRML 97 file
856 # X3D (Extensible 3D) [http://www.web3d.org/specifications/x3d-3.0.dtd]
857 # From Michel Briand <michelbriand@free.fr>
858 0 string/t \<?xml\ version="
860 >20 search/1000/cw \<!DOCTYPE\ X3D X3D (Extensible 3D) model xml text
863 #---------------------------------------------------------------------------
864 # HVQM4: compressed movie format designed by Hudson for Nintendo GameCube
865 # From Mark Sheppard <msheppard@climax.co.uk>, 2002-10-03
869 >0 byte x GameCube movie,
870 >0x34 ubeshort x %d x
872 >0x26 ubeshort x %dus,
873 >0x42 ubeshort 0 no audio
874 >0x42 ubeshort >0 %dHz audio
876 # From: "Stefan A. Haubenthal" <polluks@web.de>
877 0 string DVDVIDEO-VTS Video title set,
879 0 string DVDVIDEO-VMG Video manager,
882 # From: Behan Webster <behanw@websterwood.com>
883 # NuppelVideo used by Mythtv (*.nuv)
884 # Note: there are two identical stanzas here differing only in the
885 # initial string matched. It used to be done with a regex, but we're
886 # trying to get rid of those.
887 0 string NuppelVideo MythTV NuppelVideo
891 >36 string P \bprogressive,
892 >36 string I \binterlaced,
893 >40 ledouble x \baspect:%.2f,
894 >48 ledouble x \bfps:%.2f
895 0 string MythTV MythTV NuppelVideo
899 >36 string P \bprogressive,
900 >36 string I \binterlaced,
901 >40 ledouble x \baspect:%.2f,
902 >48 ledouble x \bfps:%.2f
906 # FIXME: This section is from the old magic.mime file and needs
907 # integrating with the rest
916 #!:mime video/mp4v-es
918 #!:mime video/mp4v-es
921 #0 belong&0xFF5FFF10 0x47400010
929 # URL: http://wiki.multimedia.cx/index.php?title=Bink_Container
930 # From: <hoehle@users.sourceforge.net> 2008-07-18
931 0 string BIK Bink Video
932 >3 regex =[a-z] rev.%s
933 #>4 ulelong x size %d
936 >8 ulelong x \b, %d frames
937 >32 ulelong x at rate %d/
939 >40 ulelong =0 \b, no audio
940 >40 ulelong !0 \b, %d audio track
942 # follow properties of the first audio track only
944 >>51 byte&0x20 0 mono
945 >>51 byte&0x20 !0 stereo
946 #>>51 byte&0x10 0 FFT
947 #>>51 byte&0x10 !0 DCT
949 # Type: NUT Container
950 # URL: http://wiki.multimedia.cx/index.php?title=NUT
951 # From: Adam Buchbinder <adam.buchbinder@gmail.com>
952 0 string nut/multimedia\ container\0 NUT multimedia container
954 # Type: Nullsoft Video (NSV)
955 # URL: http://wiki.multimedia.cx/index.php?title=Nullsoft_Video
956 # From: Mike Melanson <mike@multimedia.cx>
957 0 string NSVf Nullsoft Video
959 # Type: REDCode Video
960 # URL: http://www.red.com/ ; http://wiki.multimedia.cx/index.php?title=REDCode
961 # From: Mike Melanson <mike@multimedia.cx>
962 4 string RED1 REDCode Video
964 # Type: MTV Multimedia File
965 # URL: http://wiki.multimedia.cx/index.php?title=MTV
966 # From: Mike Melanson <mike@multimedia.cx>
967 0 string AMVS MTV Multimedia File
970 # URL: http://wiki.multimedia.cx/index.php?title=ARMovie
971 # From: Mike Melanson <mike@multimedia.cx>
972 0 string ARMovie\012 ARMovie
974 # Type: Interplay MVE Movie
975 # URL: http://wiki.multimedia.cx/index.php?title=Interplay_MVE
976 # From: Mike Melanson <mike@multimedia.cx>
977 0 string Interplay\040MVE\040File\032 Interplay MVE Movie
979 # Type: Windows Television DVR File
980 # URL: http://wiki.multimedia.cx/index.php?title=WTV
981 # From: Mike Melanson <mike@mutlimedia.cx>
982 # This takes the form of a Windows-style GUID
983 0 bequad 0xB7D800203749DA11
984 >8 bequad 0xA64E0007E95EAD8D Windows Television DVR Media
986 # Type: Sega FILM/CPK Multimedia
987 # URL: http://wiki.multimedia.cx/index.php?title=Sega_FILM
988 # From: Mike Melanson <mike@multimedia.cx>
989 0 string FILM Sega FILM/CPK Multimedia,
993 # Type: Nintendo THP Multimedia
994 # URL: http://wiki.multimedia.cx/index.php?title=THP
995 # From: Mike Melanson <mike@multimedia.cx>
996 0 string THP\0 Nintendo THP Multimedia
998 # Type: BBC Dirac Video
999 # URL: http://wiki.multimedia.cx/index.php?title=Dirac
1000 # From: Mike Melanson <mike@multimedia.cx>
1001 0 string BBCD BBC Dirac Video
1003 # Type: RAD Game Tools Smacker Multimedia
1004 # URL: http://wiki.multimedia.cx/index.php?title=Smacker
1005 # From: Mike Melanson <mike@multimedia.cx>
1006 0 string SMK RAD Game Tools Smacker Multimedia
1007 >3 byte x version %c,
1010 >12 lelong x %d frames