| 1 |
////////////////////////////////////////////////////////////////////////// |
| 2 |
// // |
| 3 |
// INSTRUCTIONS FOR MPLEX - THE MPEG1/SYSTEMS MULTIPLEXER // |
| 4 |
// // |
| 5 |
////////////////////////////////////////////////////////////////////////// |
| 6 |
|
| 7 |
|
| 8 |
Please note that I do not have a comprehensive instruction manual for this |
| 9 |
release. I suggest you try the program out with some default values and |
| 10 |
learn something more about ISO/IEC 11172-1 (aka MPEG1/Systems). |
| 11 |
|
| 12 |
For those of you that can read *German*, you can download a postscript |
| 13 |
paper discussing implementation and problems of this software, with |
| 14 |
introductions to MPEG1/Audio, MPEG1/Video and MPEG1/Systems. |
| 15 |
You should find the paper with the same distribution you got this |
| 16 |
program from. |
| 17 |
|
| 18 |
If not, you should find the postscript version of this 40-page paper |
| 19 |
on |
| 20 |
|
| 21 |
ftp.informatik.tu-muenchen.de in /pub/comp/graphics/mpeg/mplex |
| 22 |
|
| 23 |
(121822 bytes, Jun 30 , 1994 , mpeg_systems_paper_0.99.ps.gz) |
| 24 |
|
| 25 |
If you have any questions you cannot figure out by running the |
| 26 |
program, feel free to ask me. |
| 27 |
|
| 28 |
-------------------------------------------------------------------------- |
| 29 |
|
| 30 |
One more thing that might save me many emails: |
| 31 |
|
| 32 |
when asked about the startup packet delay, try something like |
| 33 |
half the video buffer size divided by your sector size. Say you |
| 34 |
have a 40 kByte video buffer and a 2324 Byte Sector size, then |
| 35 |
a startup delay of 8 sectors will work just fine. |
| 36 |
|
| 37 |
What does the above parameter mean? |
| 38 |
|
| 39 |
Normally, the Decoding/Presentation Time Stamp of the first access |
| 40 |
unit is set to the clock value that will happen exactly after the last |
| 41 |
packet containig data from this first unit arrives into the system |
| 42 |
target decoder. This works fine if the video/audio streams are of |
| 43 |
*very perfectly constant* or the packet size are *very* small |
| 44 |
(ideally: the size of one access unit, that would mean variable |
| 45 |
packet length). |
| 46 |
Anyway: this parameter allows you to say that the System Target |
| 47 |
Decoder should start decoding the first access unit after he |
| 48 |
gets (startup_packet_delay + size_of_first_access_units[av]) |
| 49 |
packets of data. |
| 50 |
This guarantees that the buffers are conveniently filled up. |
| 51 |
Note that both the video stream offset and audio stream offset (ms) |
| 52 |
add up even more bytes to this startup delay, but you can |
| 53 |
tell conveniently that audio should start so many ms after video, |
| 54 |
for example. |
| 55 |
|
| 56 |
Sorry for no further doc, enjoy multiplexing A/V :) |
| 57 |
|
| 58 |
Christoph. |
| 59 |
|
| 60 |
[email protected] |
| 61 |
+---------------------------------------+--------------------------------+ |
| 62 |
| http://www.informatik.tu-muenchen.de/ | Christoph Moar | |
| 63 |
| cgi-bin/nph-gateway/hphalle6/~moar/ | Kaulbachstr.29a | |
| 64 |
| index.html | 80539 Munich | |
| 65 |
| email:[email protected] | voice: ++49 - 89 - 23862874 | |
| 66 |
+---------------------------------------+--------------------------------+ |
| 67 |
|