Mercurial > mplayer.hg
annotate DOCS/tech/mpdsf.txt @ 29285:1230bcd21ac6
synced with r2769
author | ptt |
---|---|
date | Thu, 28 May 2009 15:39:02 +0000 |
parents | 85f669a84e7a |
children | 0ad2da052b2e |
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 |
24595 | 19 16-bit Length of headers |
15588
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 |