Mercurial > mplayer.hg
comparison DOCS/tech/formats.txt @ 7831:6e1c3a66d554
updated
docs on realmedia
author | arpi |
---|---|
date | Tue, 22 Oct 2002 01:06:32 +0000 |
parents | e8f013ef61fd |
children | 6ecc0b5c08cb |
comparison
equal
deleted
inserted
replaced
7830:8807df434a34 | 7831:6e1c3a66d554 |
---|---|
2 - plain file, with seeking | 2 - plain file, with seeking |
3 - STDIN, without seeking backward | 3 - STDIN, without seeking backward |
4 - network streaming (currently plain wget-like HTTP and MMS (.asx)) | 4 - network streaming (currently plain wget-like HTTP and MMS (.asx)) |
5 - VCD (Video CD) track, by direct CDROM device access (not requires mounting disc) | 5 - VCD (Video CD) track, by direct CDROM device access (not requires mounting disc) |
6 - DVD titles using .IFO structure, by direct DVD device access (not requires mounting disc) | 6 - DVD titles using .IFO structure, by direct DVD device access (not requires mounting disc) |
7 - DVD titles using menu navigation (experimental/alpha, not yet finished) | 7 - DVD titles using menu navigation (experimental/alpha, not yet finished!!!) |
8 - CDDA - raw audio from audio CD-ROM discs (using cdparanoia libs) | |
9 - RTP streaming (mpeg-ps over multicast only) | |
10 - Live.com streaming - support SDP/RTSP (using the live.com libs) | |
11 - SMB - file access over samba (experimental) | |
8 | 12 |
9 2. Demuxer/parser layer, supported file/media formats: | 13 2. Demuxer/parser layer, supported file/media formats: |
10 | 14 |
11 - MPEG streams (ES,PES,PS. no TS support yet) | 15 - MPEG streams (ES,PES,PS. no TS support yet) |
12 note: mpeg demuxer silently ignore non-mpeg content, and find mpeg packets | 16 note: mpeg demuxer silently ignore non-mpeg content, and find mpeg packets |
29 FPS: mpeg2 content allows variable framerate, in form of delayed frames. | 33 FPS: mpeg2 content allows variable framerate, in form of delayed frames. |
30 It's mostly used for playback 24fps content at 29.97/30 fps (NTSC) rate. | 34 It's mostly used for playback 24fps content at 29.97/30 fps (NTSC) rate. |
31 (so called Telecine or 3:2 pulldown effect) | 35 (so called Telecine or 3:2 pulldown effect) |
32 It means you see 30 frames per second, but there are only 24 different | 36 It means you see 30 frames per second, but there are only 24 different |
33 pictures and some of them are shown longer to fill 30 frame time. | 37 pictures and some of them are shown longer to fill 30 frame time. |
34 If you encode such files with mencoder, using -ofps 24 or -ofps 23.98 | 38 If you encode such files with mencoder, using -ofps 24 or -ofps 23.976 |
35 is recommended. | 39 is recommended. |
36 | 40 |
37 - AVI streams. | 41 - AVI streams. |
38 Two kind of RIFF AVI files exists: | 42 Two kind of RIFF AVI files exists: |
39 1. interleaved: audio and video content is interleaved. it's faster and | 43 1. interleaved: audio and video content is interleaved. it's faster and |
81 variant of ASF, v1.0 and v2.0. v1.0 is used by their media tools (wmp and | 85 variant of ASF, v1.0 and v2.0. v1.0 is used by their media tools (wmp and |
82 wme) and v2.0 is published and patented :). of course, they differ, | 86 wme) and v2.0 is published and patented :). of course, they differ, |
83 no compatibility at all. (it's just a legality game) | 87 no compatibility at all. (it's just a legality game) |
84 MPlayer supports only v1.0, as nobody ever seen v2.0 files :) | 88 MPlayer supports only v1.0, as nobody ever seen v2.0 files :) |
85 Note, that .ASF files are nowdays come with extension .WMA or .WMV. | 89 Note, that .ASF files are nowdays come with extension .WMA or .WMV. |
90 UPDATE: MS recently released the ASF v1.0 specs too, but it has some | |
91 restrictions making it illegal to read by us :) | |
86 | 92 |
87 Headers: Stream headers (codecs parameters) can be everywhere (in theory), | 93 Headers: Stream headers (codecs parameters) can be everywhere (in theory), |
88 but all files i've seen had it at the beginning of the file. | 94 but all files i've seen had it at the beginning of the file. |
89 Asf uses fixed packet size, so it is seekable without any INDEX block, | 95 Asf uses fixed packet size, so it is seekable without any INDEX block, |
90 and broken files are playable well. | 96 and broken files are playable well. |
124 h.263), audio is either standard g.723 or Vivo Siren codec. | 130 h.263), audio is either standard g.723 or Vivo Siren codec. |
125 | 131 |
126 Note, that microsoft licensed vivo stuff, and included in their netshow | 132 Note, that microsoft licensed vivo stuff, and included in their netshow |
127 v2.0 program, so there are VfW/ACM codecs for vivo video and audio. | 133 v2.0 program, so there are VfW/ACM codecs for vivo video and audio. |
128 | 134 |
135 - RealMedia files: | |
136 A mixture of AVI and ASF features. It has mandatory headers at the | |
137 beginning and an optional INDEX (missing in most files). | |
138 The file is constructed of variable size chunks, with small header | |
139 telling the stream ID, timestamp, flags (keyframe...) and size. | |
140 But it has some features found in ASF files: | |
141 The video is actually double-muxed, the video chunks are really | |
142 appended fragments of the video frame. RV30+ supports B frames, so | |
143 you have to parse some bits of the first fragment to get the real PTS. | |
144 The audio frames are fixed size (CBR) but using the same scrambling | |
145 (out-of-order interleaving) as in the ASF files. | |
146 | |
147 Codecs: Audio is either COOK(er), SIPR(o), ATRAC3 or DNET. | |
148 The DNET is actually a byte-swapped low-bitrate Dolby AC3 variant :) | |
149 Video is RV10 (h263 variant), RV20 (rp G2), RV30 (rp v8) or RV40 (rp v9). | |
150 | |
151 FPS: variable, just like in ASF. | |
152 | |
153 Note, that similarity of real and asf has some background - they worked | |
154 together on the (never finished/used) ASF v2 spec for some time. |