annotate DOCS/tech/mpdsf.txt @ 23835:eb2cce132396

Fix for bugzilla #835 1) set audio language preferences (on command line or in ~/.mplayer/config). (say, alang = Japanese[jpn],ja,jp,jpn,English[eng],en,eng,ko,ru,rus) 2) play a transport stream whose audio streams are not labeled -> no audio Patch by Sergey Svishchev >>> svs - ropnet ru <<< on bugzilla Blessed by nicodvb
author rtogni
date Tue, 24 Jul 2007 21:04:08 +0000
parents f059e49b9f10
children 85f669a84e7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15588
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
1 MPlayer's Dump Stream Formats
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
2 =============================
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
3
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
4 Designed by Alex & Arpi
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
5
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
6 The file starts with a variable size header:
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
7 --------------------------------------------
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
8
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
9 32-bit Stream format fourcc (MPVS or MPAS)
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
10 MPVS = MPlayer Video Stream
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
11 MPAS = MPlayer Audio Stream
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
12 8-bit Demuxer type (AVI,MOV,ASF,REAL,...)
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
13 8-bit Flags (marks dumped headers)
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
14 Values: 0x1: WAVEFORMATEX
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
15 0x2: Audio extra codec data
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
16 0x4: BITMAPINFOHEADER
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
17 0x8: QT's ImageDesc
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
18 0x16: indicates 32-bit chunk size before every data chunk
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
19 16-bit Lenght of headers
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
20
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
21 There's strict rule in the follow-up of the codec-headers.
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
22 Depending on flags,
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
23
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
24 Data chunks:
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
25 ------------
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
26
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
27 32-bit Optional 32-bit chunk size
f059e49b9f10 an ancient doc, maybe has use, but at least will be available in Attic once removed :)
alex
parents:
diff changeset
28 ... Data