summaryrefslogtreecommitdiff
path: root/ext/mplex/INSTRUCT
blob: e75d4cfa46c63a0b6a750e80dc0e8f136836c348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//////////////////////////////////////////////////////////////////////////
//									//
//	INSTRUCTIONS FOR MPLEX - THE MPEG1/SYSTEMS MULTIPLEXER		//
//									//
//////////////////////////////////////////////////////////////////////////


Please note that I do not have a comprehensive instruction manual for this
release. I suggest you try the program out with some default values and
learn something more about ISO/IEC 11172-1 (aka MPEG1/Systems).

For those of you that can read *German*, you can download a postscript
paper discussing implementation and problems of this software, with
introductions to MPEG1/Audio, MPEG1/Video and MPEG1/Systems.
You should find the paper with the same distribution you got this
program from.

If not, you should find the postscript version of this 40-page paper
on

ftp.informatik.tu-muenchen.de in /pub/comp/graphics/mpeg/mplex

(121822 bytes, Jun 30 , 1994 , mpeg_systems_paper_0.99.ps.gz)

If you have any questions you cannot figure out by running the
program, feel free to ask me.

--------------------------------------------------------------------------

One more thing that might save me many emails:

when asked about the startup packet delay, try something like
half the video buffer size divided by your sector size. Say you
have a 40 kByte video buffer and a 2324 Byte Sector size, then
a startup delay of 8 sectors will work just fine.

What does the above parameter mean?

Normally, the Decoding/Presentation Time Stamp of the first access
unit is set to the clock value that will happen exactly after the last
packet containig data from this first unit arrives into the system
target decoder. This works fine if the video/audio streams are of
*very perfectly constant* or the packet size are *very* small
(ideally: the size of one access unit, that would mean variable
packet length).
Anyway: this parameter allows you to say that the System Target
Decoder should start decoding the first access unit after he
gets (startup_packet_delay + size_of_first_access_units[av])
packets of data.
This guarantees that the buffers are conveniently filled up.
Note that both the video stream offset and audio stream offset (ms)
add up even more bytes to this startup delay, but you can
tell conveniently that audio should start so many ms after video,
for example.

Sorry for no further doc, enjoy multiplexing A/V :)

Christoph.

moar@heaven.zfe.siemens.de
+---------------------------------------+--------------------------------+
| http://www.informatik.tu-muenchen.de/ |                 Christoph Moar |
| cgi-bin/nph-gateway/hphalle6/~moar/   |                Kaulbachstr.29a |
| index.html                            |                   80539 Munich |
| email:moar@informatik.tu-muenchen.de  |   voice: ++49 - 89 -  23862874 |
+---------------------------------------+--------------------------------+