xref: /minix3/external/bsd/file/dist/magic/magdir/riff (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras
2ef01931fSBen Gras#------------------------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# $File: riff,v 1.30 2014/09/23 17:02:12 christos Exp $
4ef01931fSBen Gras# riff:  file(1) magic for RIFF format
5ef01931fSBen Gras# See
6ef01931fSBen Gras#
7ef01931fSBen Gras#	http://www.seanet.com/users/matts/riffmci/riffmci.htm
8ef01931fSBen Gras#
9*0a6a1f1dSLionel Sambuc
10*0a6a1f1dSLionel Sambuc# audio format tag. Assume limits: max 1024 bit, 128 channels, 1 MHz
11*0a6a1f1dSLionel Sambuc0   name    riff-wave
12*0a6a1f1dSLionel Sambuc>0	leshort		1		\b, Microsoft PCM
13*0a6a1f1dSLionel Sambuc>>14	leshort		>0
14*0a6a1f1dSLionel Sambuc>>>14	leshort		<1024	\b, %d bit
15*0a6a1f1dSLionel Sambuc>0	leshort		2		\b, Microsoft ADPCM
16*0a6a1f1dSLionel Sambuc>0	leshort		6		\b, ITU G.711 A-law
17*0a6a1f1dSLionel Sambuc>0	leshort		7		\b, ITU G.711 mu-law
18*0a6a1f1dSLionel Sambuc>0	leshort		8		\b, Microsoft DTS
19*0a6a1f1dSLionel Sambuc>0	leshort		17		\b, IMA ADPCM
20*0a6a1f1dSLionel Sambuc>0	leshort		20		\b, ITU G.723 ADPCM (Yamaha)
21*0a6a1f1dSLionel Sambuc>0	leshort		49		\b, GSM 6.10
22*0a6a1f1dSLionel Sambuc>0	leshort		64		\b, ITU G.721 ADPCM
23*0a6a1f1dSLionel Sambuc>0	leshort		80		\b, MPEG
24*0a6a1f1dSLionel Sambuc>0	leshort		85		\b, MPEG Layer 3
25*0a6a1f1dSLionel Sambuc>0	leshort		0x2001		\b, DTS
26*0a6a1f1dSLionel Sambuc>2	leshort		=1		\b, mono
27*0a6a1f1dSLionel Sambuc>2	leshort		=2		\b, stereo
28*0a6a1f1dSLionel Sambuc>2	leshort		>2
29*0a6a1f1dSLionel Sambuc>>2	leshort		<128	\b, %d channels
30*0a6a1f1dSLionel Sambuc>4	lelong		>0
31*0a6a1f1dSLionel Sambuc>>4	lelong		<1000000	%d Hz
32*0a6a1f1dSLionel Sambuc
33*0a6a1f1dSLionel Sambuc# try to find "fmt "
34*0a6a1f1dSLionel Sambuc0   name    riff-walk
35*0a6a1f1dSLionel Sambuc>0  string  fmt\x20
36*0a6a1f1dSLionel Sambuc>>4 lelong  <0x80
37*0a6a1f1dSLionel Sambuc>>>8 use    riff-wave
38*0a6a1f1dSLionel Sambuc>0  string  LIST
39*0a6a1f1dSLionel Sambuc>>&(4.l+4)  use riff-walk
40*0a6a1f1dSLionel Sambuc>0  string  DISP
41*0a6a1f1dSLionel Sambuc>>&(4.l+4)  use riff-walk
42*0a6a1f1dSLionel Sambuc>0  string  bext
43*0a6a1f1dSLionel Sambuc>>&(4.l+4)  use riff-walk
44*0a6a1f1dSLionel Sambuc>0  string  Fake
45*0a6a1f1dSLionel Sambuc>>&(4.l+4)  use riff-walk
46*0a6a1f1dSLionel Sambuc>0  string  fact
47*0a6a1f1dSLionel Sambuc>>&(4.l+4)  use riff-walk
48*0a6a1f1dSLionel Sambuc>0  string  VP8
49*0a6a1f1dSLionel Sambuc>>11		byte		0x9d
50*0a6a1f1dSLionel Sambuc>>>12		byte		0x01
51*0a6a1f1dSLionel Sambuc>>>>13		byte		0x2a	\b, VP8 encoding
52*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0x3fff	x	\b, %d
53*0a6a1f1dSLionel Sambuc>>>>>16		leshort&0x3fff	x	\bx%d, Scaling:
54*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x0000	\b [none]
55*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x1000	\b [5/4]
56*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x2000	\b [5/3]
57*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x3000	\b [2]
58*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x0000	\bx[none]
59*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x1000	\bx[5/4]
60*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x2000	\bx[5/3]
61*0a6a1f1dSLionel Sambuc>>>>>14		leshort&0xc000	0x3000	\bx[2]
62*0a6a1f1dSLionel Sambuc>>>>>15		byte&0x80	=0x00	\b, YUV color
63*0a6a1f1dSLionel Sambuc>>>>>15		byte&0x80	=0x80	\b, bad color specification
64*0a6a1f1dSLionel Sambuc>>>>>15		byte&0x40	=0x40	\b, no clamping required
65*0a6a1f1dSLionel Sambuc>>>>>15		byte&0x40	=0x00	\b, decoders should clamp
66*0a6a1f1dSLionel Sambuc#>0  string  x		we got %s
67*0a6a1f1dSLionel Sambuc#>>&(4.l+4)  use riff-walk
68*0a6a1f1dSLionel Sambuc
6984d9c625SLionel Sambuc# AVI section extended by Patrik Radman <patrik+file-magic@iki.fi>
70ef01931fSBen Gras#
71ef01931fSBen Gras0	string		RIFF		RIFF (little-endian) data
72ef01931fSBen Gras# RIFF Palette format
73ef01931fSBen Gras>8	string		PAL		\b, palette
74ef01931fSBen Gras>>16	leshort		x		\b, version %d
75ef01931fSBen Gras>>18	leshort		x		\b, %d entries
76ef01931fSBen Gras# RIFF Device Independent Bitmap format
77ef01931fSBen Gras>8	string		RDIB		\b, device-independent bitmap
78ef01931fSBen Gras>>16	string		BM
79ef01931fSBen Gras>>>30	leshort		12		\b, OS/2 1.x format
80ef01931fSBen Gras>>>>34	leshort		x		\b, %d x
81ef01931fSBen Gras>>>>36	leshort		x		%d
82ef01931fSBen Gras>>>30	leshort		64		\b, OS/2 2.x format
83ef01931fSBen Gras>>>>34	leshort		x		\b, %d x
84ef01931fSBen Gras>>>>36	leshort		x		%d
85ef01931fSBen Gras>>>30	leshort		40		\b, Windows 3.x format
86ef01931fSBen Gras>>>>34	lelong		x		\b, %d x
87ef01931fSBen Gras>>>>38	lelong		x		%d x
88ef01931fSBen Gras>>>>44	leshort		x		%d
89ef01931fSBen Gras# RIFF MIDI format
90ef01931fSBen Gras>8	string		RMID		\b, MIDI
91ef01931fSBen Gras# RIFF Multimedia Movie File format
92ef01931fSBen Gras>8	string		RMMP		\b, multimedia movie
93ef01931fSBen Gras# RIFF wrapper for MP3
94ef01931fSBen Gras>8	string		RMP3		\b, MPEG Layer 3 audio
95ef01931fSBen Gras# Microsoft WAVE format (*.wav)
96ef01931fSBen Gras>8	string		WAVE		\b, WAVE audio
97ef01931fSBen Gras!:mime	audio/x-wav
98*0a6a1f1dSLionel Sambuc>>12    string  >\0
99*0a6a1f1dSLionel Sambuc>>>12   use     riff-walk
100ef01931fSBen Gras# Corel Draw Picture
101ef01931fSBen Gras>8	string		CDRA		\b, Corel Draw Picture
102ef01931fSBen Gras!:mime	image/x-coreldraw
103*0a6a1f1dSLionel Sambuc>8	string		CDR6		\b, Corel Draw Picture, version 6
104*0a6a1f1dSLionel Sambuc!:mime	image/x-coreldraw
105*0a6a1f1dSLionel Sambuc>8	string		NUNDROOT	\b, Steinberg CuBase
106ef01931fSBen Gras# AVI == Audio Video Interleave
107ef01931fSBen Gras>8	string		AVI\040		\b, AVI
108ef01931fSBen Gras!:mime	video/x-msvideo
109ef01931fSBen Gras>>12    string          LIST
110ef01931fSBen Gras>>>20   string          hdrlavih
111*0a6a1f1dSLionel Sambuc>>>>&36 lelong          x               \b, %u x
112*0a6a1f1dSLionel Sambuc>>>>&40 lelong          x               %u,
113ef01931fSBen Gras>>>>&4  lelong          >1000000        <1 fps,
114ef01931fSBen Gras>>>>&4  lelong          1000000         1.00 fps,
115ef01931fSBen Gras>>>>&4  lelong          500000          2.00 fps,
116ef01931fSBen Gras>>>>&4  lelong          333333          3.00 fps,
117ef01931fSBen Gras>>>>&4  lelong          250000          4.00 fps,
118ef01931fSBen Gras>>>>&4  lelong          200000          5.00 fps,
119ef01931fSBen Gras>>>>&4  lelong          166667          6.00 fps,
120ef01931fSBen Gras>>>>&4  lelong          142857          7.00 fps,
121ef01931fSBen Gras>>>>&4  lelong          125000          8.00 fps,
122ef01931fSBen Gras>>>>&4  lelong          111111          9.00 fps,
123ef01931fSBen Gras>>>>&4  lelong          100000          10.00 fps,
124ef01931fSBen Gras# ]9.9,10.1[
125ef01931fSBen Gras>>>>&4  lelong          <101010
126ef01931fSBen Gras>>>>>&-4        lelong  >99010
127ef01931fSBen Gras>>>>>>&-4       lelong  !100000         ~10 fps,
128ef01931fSBen Gras>>>>&4  lelong          83333           12.00 fps,
129ef01931fSBen Gras# ]11.9,12.1[
130ef01931fSBen Gras>>>>&4  lelong          <84034
131ef01931fSBen Gras>>>>>&-4        lelong  >82645
132ef01931fSBen Gras>>>>>>&-4       lelong  !83333          ~12 fps,
133ef01931fSBen Gras>>>>&4  lelong          66667           15.00 fps,
134ef01931fSBen Gras# ]14.9,15.1[
135ef01931fSBen Gras>>>>&4  lelong          <67114
136ef01931fSBen Gras>>>>>&-4        lelong  >66225
137ef01931fSBen Gras>>>>>>&-4       lelong  !66667          ~15 fps,
138ef01931fSBen Gras>>>>&4  lelong          50000           20.00 fps,
139ef01931fSBen Gras>>>>&4  lelong          41708           23.98 fps,
140ef01931fSBen Gras>>>>&4  lelong          41667           24.00 fps,
141ef01931fSBen Gras# ]23.9,24.1[
142ef01931fSBen Gras>>>>&4  lelong          <41841
143ef01931fSBen Gras>>>>>&-4        lelong  >41494
144ef01931fSBen Gras>>>>>>&-4       lelong  !41708
145ef01931fSBen Gras>>>>>>>&-4      lelong  !41667          ~24 fps,
146ef01931fSBen Gras>>>>&4  lelong          40000           25.00 fps,
147ef01931fSBen Gras# ]24.9,25.1[
148ef01931fSBen Gras>>>>&4  lelong          <40161
149ef01931fSBen Gras>>>>>&-4        lelong  >39841
150ef01931fSBen Gras>>>>>>&-4       lelong  !40000          ~25 fps,
151ef01931fSBen Gras>>>>&4  lelong          33367           29.97 fps,
152ef01931fSBen Gras>>>>&4  lelong          33333           30.00 fps,
153ef01931fSBen Gras# ]29.9,30.1[
154ef01931fSBen Gras>>>>&4  lelong          <33445
155ef01931fSBen Gras>>>>>&-4        lelong  >33223
156ef01931fSBen Gras>>>>>>&-4       lelong  !33367
157ef01931fSBen Gras>>>>>>>&-4      lelong  !33333          ~30 fps,
158ef01931fSBen Gras>>>>&4  lelong          <32224          >30 fps,
159ef01931fSBen Gras##>>>>&4  lelong          x               (%lu)
160ef01931fSBen Gras##>>>>&20 lelong          x               %lu frames,
161ef01931fSBen Gras# Note: The tests below assume that the AVI has 1 or 2 streams,
162ef01931fSBen Gras#       "vids" optionally followed by "auds".
163ef01931fSBen Gras#       (Should cover 99.9% of all AVIs.)
164ef01931fSBen Gras# assuming avih length = 56
165ef01931fSBen Gras>>>88   string  LIST
166ef01931fSBen Gras>>>>96  string  strlstrh
167ef01931fSBen Gras>>>>>108        string  vids    video:
168ef01931fSBen Gras>>>>>>&0        lelong  0               uncompressed
169ef01931fSBen Gras# skip past vids strh
170ef01931fSBen Gras>>>>>>(104.l+108)       string  strf
171ef01931fSBen Gras>>>>>>>(104.l+132)      lelong          1       RLE 8bpp
172ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        cvid    Cinepak
173ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        i263    Intel I.263
174ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        iv32    Indeo 3.2
175ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        iv41    Indeo 4.1
176ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        iv50    Indeo 5.0
177ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        mp42    Microsoft MPEG-4 v2
178ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        mp43    Microsoft MPEG-4 v3
179ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        fmp4    FFMpeg MPEG-4
180ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        mjpg    Motion JPEG
181ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        div3    DivX 3
182ef01931fSBen Gras>>>>>>>>112             string/c        div3    Low-Motion
183ef01931fSBen Gras>>>>>>>>112             string/c        div4    Fast-Motion
184ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        divx    DivX 4
185ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        dx50    DivX 5
186ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        xvid    XviD
187ef01931fSBen Gras>>>>>>>(104.l+132)	string/c	h264	H.264
188ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        wmv3    Windows Media Video 9
189ef01931fSBen Gras>>>>>>>(104.l+132)      string/c        h264    X.264 or H.264
190ef01931fSBen Gras>>>>>>>(104.l+132)      lelong  0
191ef01931fSBen Gras##>>>>>>>(104.l+132)      string  x       (%.4s)
192ef01931fSBen Gras# skip past first (video) LIST
193ef01931fSBen Gras>>>>(92.l+96)   string  LIST
194ef01931fSBen Gras>>>>>(92.l+104) string  strlstrh
195ef01931fSBen Gras>>>>>>(92.l+116)        string          auds    \b, audio:
196ef01931fSBen Gras# auds strh length = 56:
197ef01931fSBen Gras>>>>>>>(92.l+172)       string          strf
198ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0001  uncompressed PCM
199ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0002  ADPCM
200ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0006  aLaw
201ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0007  uLaw
202ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0050  MPEG-1 Layer 1 or 2
203ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0055  MPEG-1 Layer 3
204ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x2000  Dolby AC3
205ef01931fSBen Gras>>>>>>>>(92.l+180)      leshort 0x0161  DivX
206ef01931fSBen Gras##>>>>>>>>(92.l+180)      leshort x       (0x%.4x)
207ef01931fSBen Gras>>>>>>>>(92.l+182)      leshort 1       (mono,
208ef01931fSBen Gras>>>>>>>>(92.l+182)      leshort 2       (stereo,
209ef01931fSBen Gras>>>>>>>>(92.l+182)      leshort >2      (%d channels,
210ef01931fSBen Gras>>>>>>>>(92.l+184)      lelong  x       %d Hz)
211ef01931fSBen Gras# auds strh length = 64:
212ef01931fSBen Gras>>>>>>>(92.l+180)       string          strf
213ef01931fSBen Gras>>>>>>>>(92.l+188)      leshort 0x0001  uncompressed PCM
214ef01931fSBen Gras>>>>>>>>(92.l+188)      leshort 0x0002  ADPCM
215ef01931fSBen Gras>>>>>>>>(92.l+188)      leshort 0x0055  MPEG-1 Layer 3
216ef01931fSBen Gras>>>>>>>>(92.l+188)      leshort 0x2000  Dolby AC3
217ef01931fSBen Gras>>>>>>>>(92.l+188)      leshort 0x0161  DivX
218ef01931fSBen Gras##>>>>>>>>(92.l+188)      leshort x       (0x%.4x)
219ef01931fSBen Gras>>>>>>>>(92.l+190)      leshort 1       (mono,
220ef01931fSBen Gras>>>>>>>>(92.l+190)      leshort 2       (stereo,
221ef01931fSBen Gras>>>>>>>>(92.l+190)      leshort >2      (%d channels,
222ef01931fSBen Gras>>>>>>>>(92.l+192)      lelong  x       %d Hz)
223ef01931fSBen Gras# Animated Cursor format
224ef01931fSBen Gras>8	string		ACON		\b, animated cursor
225ef01931fSBen Gras# SoundFont 2 <mpruett@sgi.com>
226ef01931fSBen Gras>8	string		sfbk		SoundFont/Bank
227ef01931fSBen Gras# MPEG-1 wrapped in a RIFF, apparently
228ef01931fSBen Gras>8      string          CDXA            \b, wrapped MPEG-1 (CDXA)
229ef01931fSBen Gras>8	string		4XMV		\b, 4X Movie file
230835f6802SDirk Vogt# AMV-type AVI file: http://wiki.multimedia.cx/index.php?title=AMV
231835f6802SDirk Vogt>8	string		AMV\040		\b, AMV
232*0a6a1f1dSLionel Sambuc>8      string          WEBP            \b, Web/P image
233*0a6a1f1dSLionel Sambuc>>12	use		riff-walk
234ef01931fSBen Gras
235ef01931fSBen Gras#
236ef01931fSBen Gras# XXX - some of the below may only appear in little-endian form.
237ef01931fSBen Gras#
238ef01931fSBen Gras# Also "MV93" appears to be for one form of Macromedia Director
239ef01931fSBen Gras# files, and "GDMF" appears to be another multimedia format.
240ef01931fSBen Gras#
241ef01931fSBen Gras0	string		RIFX		RIFF (big-endian) data
242ef01931fSBen Gras# RIFF Palette format
243ef01931fSBen Gras>8	string		PAL		\b, palette
244ef01931fSBen Gras>>16	beshort		x		\b, version %d
245ef01931fSBen Gras>>18	beshort		x		\b, %d entries
246ef01931fSBen Gras# RIFF Device Independent Bitmap format
247ef01931fSBen Gras>8	string		RDIB		\b, device-independent bitmap
248ef01931fSBen Gras>>16	string		BM
249ef01931fSBen Gras>>>30	beshort		12		\b, OS/2 1.x format
250ef01931fSBen Gras>>>>34	beshort		x		\b, %d x
251ef01931fSBen Gras>>>>36	beshort		x		%d
252ef01931fSBen Gras>>>30	beshort		64		\b, OS/2 2.x format
253ef01931fSBen Gras>>>>34	beshort		x		\b, %d x
254ef01931fSBen Gras>>>>36	beshort		x		%d
255ef01931fSBen Gras>>>30	beshort		40		\b, Windows 3.x format
256ef01931fSBen Gras>>>>34	belong		x		\b, %d x
257ef01931fSBen Gras>>>>38	belong		x		%d x
258ef01931fSBen Gras>>>>44	beshort		x		%d
259ef01931fSBen Gras# RIFF MIDI format
260ef01931fSBen Gras>8	string		RMID		\b, MIDI
261ef01931fSBen Gras# RIFF Multimedia Movie File format
262ef01931fSBen Gras>8	string		RMMP		\b, multimedia movie
263ef01931fSBen Gras# Microsoft WAVE format (*.wav)
264ef01931fSBen Gras>8	string		WAVE		\b, WAVE audio
265ef01931fSBen Gras>>20	leshort		1		\b, Microsoft PCM
266ef01931fSBen Gras>>>34	leshort		>0		\b, %d bit
267ef01931fSBen Gras>>22	beshort		=1		\b, mono
268ef01931fSBen Gras>>22	beshort		=2		\b, stereo
269ef01931fSBen Gras>>22	beshort		>2		\b, %d channels
270ef01931fSBen Gras>>24	belong		>0		%d Hz
271ef01931fSBen Gras# Corel Draw Picture
272ef01931fSBen Gras>8	string		CDRA		\b, Corel Draw Picture
273*0a6a1f1dSLionel Sambuc>8	string		CDR6		\b, Corel Draw Picture, version 6
274ef01931fSBen Gras# AVI == Audio Video Interleave
275ef01931fSBen Gras>8	string		AVI\040		\b, AVI
276ef01931fSBen Gras# Animated Cursor format
277ef01931fSBen Gras>8	string		ACON		\b, animated cursor
278ef01931fSBen Gras# Notation Interchange File Format (big-endian only)
279ef01931fSBen Gras>8	string		NIFF		\b, Notation Interchange File Format
280ef01931fSBen Gras# SoundFont 2 <mpruett@sgi.com>
281ef01931fSBen Gras>8	string		sfbk		SoundFont/Bank
282835f6802SDirk Vogt
283835f6802SDirk Vogt#------------------------------------------------------------------------------
284835f6802SDirk Vogt# Sony Wave64
285835f6802SDirk Vogt# see http://www.vcs.de/fileadmin/user_upload/MBS/PDF/Whitepaper/Informations_about_Sony_Wave64.pdf
286835f6802SDirk Vogt# 128 bit RIFF-GUID { 66666972-912E-11CF-A5D6-28DB04C10000 } in little-endian
287835f6802SDirk Vogt0	string	riff\x2E\x91\xCF\x11\xA5\xD6\x28\xDB\x04\xC1\x00\x00		Sony Wave64 RIFF data
288835f6802SDirk Vogt# 128 bit + total file size (64 bits) so 24 bytes
289835f6802SDirk Vogt# then WAVE-GUID { 65766177-ACF3-11D3-8CD1-00C04F8EDB8A }
290835f6802SDirk Vogt>24	string		wave\xF3\xAC\xD3\x11\x8C\xD1\x00\xC0\x4F\x8E\xDB\x8A		\b, WAVE 64 audio
291835f6802SDirk Vogt!:mime	audio/x-w64
292835f6802SDirk Vogt# FMT-GUID { 20746D66-ACF3-11D3-8CD1-00C04F8EDB8A }
293835f6802SDirk Vogt>>40	search/256	fmt\x20\xF3\xAC\xD3\x11\x8C\xD1\x00\xC0\x4F\x8E\xDB\x8A		\b
294835f6802SDirk Vogt>>>&10	leshort		=1		\b, mono
295835f6802SDirk Vogt>>>&10	leshort		=2		\b, stereo
296835f6802SDirk Vogt>>>&10	leshort		>2		\b, %d channels
297835f6802SDirk Vogt>>>&12	lelong		>0		%d Hz
298835f6802SDirk Vogt
299835f6802SDirk Vogt#------------------------------------------------------------------------------
300835f6802SDirk Vogt# MBWF/RF64
30184d9c625SLionel Sambuc# see EBU TECH 3306 http://tech.ebu.ch/docs/tech/tech3306-2009.pdf
302835f6802SDirk Vogt0	string	RF64\xff\xff\xff\xffWAVEds64		MBWF/RF64 audio
303835f6802SDirk Vogt!:mime	audio/x-wav
304835f6802SDirk Vogt>40	search/256	fmt\x20		\b
305835f6802SDirk Vogt>>&6	leshort		=1		\b, mono
306835f6802SDirk Vogt>>&6	leshort		=2		\b, stereo
307835f6802SDirk Vogt>>&6	leshort		>2		\b, %d channels
308835f6802SDirk Vogt>>&8	lelong		>0		%d Hz
309