Mercurial > mplayer.hg
comparison DOCS/tech/formats.txt @ 2855:8bb4e195d7d7
*** empty log message ***
author | gabucino |
---|---|
date | Mon, 12 Nov 2001 17:30:49 +0000 |
parents | 812e60e913a2 |
children | 72c750bbc249 |
comparison
equal
deleted
inserted
replaced
2854:fd44ecf77f8d | 2855:8bb4e195d7d7 |
---|---|
33 If you encode such files with mencoder, using -ofps 24 or -ofps 23.98 | 33 If you encode such files with mencoder, using -ofps 24 or -ofps 23.98 |
34 is recommended. | 34 is recommended. |
35 | 35 |
36 - AVI streams. | 36 - AVI streams. |
37 Two kind of RIFF AVI files exists: | 37 Two kind of RIFF AVI files exists: |
38 1. interleaved: audio and video content is interlaved. it's faster and | 38 1. interleaved: audio and video content is interleaved. it's faster and |
39 requires only 1 reading thread, so it's recommended (and mostly used). | 39 requires only 1 reading thread, so it's recommended (and mostly used). |
40 2. non-interleaved: audio and video aren't interleaved, i mean first come | 40 2. non-interleaved: audio and video aren't interleaved, i mean first come |
41 whole video followed by whole audio. it requires 2 reading process or | 41 whole video followed by whole audio. it requires 2 reading process or |
42 1 reading with lots of seeking. very bad for network or cdrom. | 42 1 reading with lots of seeking. very bad for network or cdrom. |
43 3. badly interleaved streams: mplayer detects interleaving at startup and | 43 3. badly interleaved streams: mplayer detects interleaving at startup and |
44 enables -ni option if it finds non-interleaved content. but sometimes | 44 enables -ni option if it finds non-interleaved content. but sometimes |
45 the stream seems to be interleaved, but with bad sync so it should be | 45 the stream seems to be interleaved, but with bad sync so it should be |
46 played as non-interleaved otherwise you get a-v desync or buffer overflow. | 46 played as non-interleaved otherwise you get a-v desync or buffer overflow. |
47 | 47 |
48 MPlayer supports 2 kind of timing for AVI files: | 48 MPlayer supports 2 kind of timing for AVI files: |
49 - bps-based: it is based on bitrate/samplerate of video/audio steram. | 49 - bps-based: it is based on bitrate/samplerate of video/audio stream. |
50 this method is used by most players, including avifile and wmp. | 50 this method is used by most players, including avifile and wmp. |
51 files with broken headers, and files created with VBR audio but not | 51 files with broken headers, and files created with VBR audio but not |
52 vbr-compliant encoder will result a-v desync with this method. | 52 vbr-compliant encoder will result a-v desync with this method. |
53 (mostly at seeking). | 53 (mostly at seeking). |
54 - interleaving-based: note: it can't be used togethwer with -ni | 54 - interleaving-based: note: it can't be used togethwer with -ni |
71 use VBR audio, but most players expect CBR audio and fails with VBR, | 71 use VBR audio, but most players expect CBR audio and fails with VBR, |
72 as VBR is unusual, and Microsoft's AVI specs only describe CBR audio. | 72 as VBR is unusual, and Microsoft's AVI specs only describe CBR audio. |
73 I also note, that most AVI encoders/multiplexers create bad files if | 73 I also note, that most AVI encoders/multiplexers create bad files if |
74 using VBR audio. only 2 exception (known by me): NaNDub and MEncoder. | 74 using VBR audio. only 2 exception (known by me): NaNDub and MEncoder. |
75 | 75 |
76 FPS: only constant framerate allowed, but it's possib;e to skip frames. | 76 FPS: only constant framerate allowed, but it's possible to skip frames. |
77 | 77 |
78 - ASF streams: | 78 - ASF streams: |
79 ASF (active streaming format) comes from Microsoft. they developed two | 79 ASF (active streaming format) comes from Microsoft. they developed two |
80 variant of ASF, v1.0 and v2.0. v1.0 is used by their media tools (wmp and | 80 variant of ASF, v1.0 and v2.0. v1.0 is used by their media tools (wmp and |
81 wme) and v2.0 is published and patented :). of course, they differ, | 81 wme) and v2.0 is published and patented :). of course, they differ, |