[mythtv] DVB subtitles and TS->PES decoder

Jesper S÷rensen jesper at datapartner.se
Fri Nov 26 14:05:32 UTC 2004

Juha Kuikka skrev:

>I am in the process of writing DVB subtiele parser, it is nowhere near
>ready but I looked at how to best integrate it into myth.

Great initiative, I would love to see DVB subtitles in Myth!

As you might already know Taylor Jacob and John Pullan are currently 
working on a DVB overhaul for myth so it might be a good idea to 
integrate this into their patch, or at least synchronize the coding so 
you don't step on each other's toes too much.

If you need any hints for how to integrate the subtitles into myth maybe 
you could take a look at DTK's HDTV captions patch:

Also, Kenneth Aafl°y did some work on DVB subtitles (teletext I believe) 
a while ago, and had an experimental patch but then sadly he gave up 
before it was finished. Maybe you can find some useful info in the dev 
list, or if the patch is lost I might have it somewhere in my archives 
(e-mail me).

>First problem I run into is that hte current ts->pes parser in
>transform.c does not seem to parse subtitle streams, at least I cannot
>get it to output video, audio and subtitle streams, it seems to ignore
>the subtitle stream. Does anyone know if this is possible at all or
>should I just use my own ts->pes parser and replace the one in
>transform.c ?

I think the plan is to eventually drop transform.c entirely and use a 
"stripped" (filtered) TS for DVB instead of a PS. I think that's the way 
it's done in the ATSC/HDTV recorder, and it would mean we could share 
some code between DVB/ATSC. Using a TS also has some other benefits, 
e.g. allowing the use of multiple audio audio streams (e.g. both PCM & AC3).

More information about the mythtv-dev mailing list