[mythtv] [dvb] subtitling

Stuart Auchterlonie stuarta at squashedfrog.net
Thu Apr 28 13:21:58 UTC 2005


Hello All,

Are the DVB Subtitles (and teletext, iso639 language descriptors)
carried only within PES Private Streams?

Why I'm asking is I've discovered that PES Private Streams (0x06)
carry all sorts of good things. In particular

switch (private stream subtype)
	0x0A: is an Audio Stream within Private Data
	0x52: is a Video Stream within Private Data

Now in SIParser::ParsePMT() there are a number of checks.
Firstly work out the stream type
0x01 - Video MPEG1
0x02 - Video MPEG2
0x03 - Audio MPEG1
0x04 - Audio MPEG2
etc....

Then the parser advances to the next part of packet and checks
the same byte that i've referred to as the private stream subtype
above.

switch (byte)
	0x05: Registration Descriptor
	0x0A: ISO639 Language Descriptor
	0x56: Teletext Descriptor
	0x59: Subtitling Descriptor
	0x6A: AC3 Descriptor


Now you may have noticed that 0x0A appears in both tables.
It appears that both are true, there is a Language descriptor,
and the PID that is referenced carries an audio stream.

If it is true that all of the types mentioned above (0x05 - 0x6A)
are in fact subtypes of the PES Private Stream, then things in
SIParser are due for a bit of housekeeping. Can anyone verify this
for me, so then I can get started on a patch :-)


Stuart



More information about the mythtv-dev mailing list