[mythtv-users] Transcoding and DVB Closed Captioning

Niels Dybdahl Niels at Dybdahl.dk
Wed May 24 14:10:17 UTC 2006


>
> Do you want to keep the subtitles graphical, or convert them to text?


As long as I can view the subtitles I do not care if they are stored
graphical or as text.
But I guess storing them graphical will be easiest in the long run as they
are graphical in the DVB and DVD formats and MythTV is already able of
displaying graphical subtitles

I think I have a conversion process worked out to get them to text
> which I am going to try some more later on today:
>
>
> DVB-->(ProjectX)-->.SUP-->(pxsup2dast)-->pngs+spuxml-->(convert)-->pgms+spuxml-->(pgm2txt/gocr+convert
> spuxml to .srtx)-->.txts+.srtx-->(srttool)-->.srt


I also found a OCR script for converting to .srt. But apparently it require
some training of the OCR part.

Bit wacky, but I think it'll work. Going to vobsub would probably be
> preferable, so if you see how that could happen, please say.


vobsub seems to accept .srt files, so I guess your workflow above should
work.
For burning DVD, the following workflow should work:

MythBurn:
MPG --->(ProjectX)---> M2V, MP2, SUP,IFO --->(mplex)---->MPG, SUP,IFO--->
(pxsup2dast.py <http://www.guru-group.fi/%7Etoo/sw/m2vmp2cut/pxsup2dast.py>
)--->MPG,XML,PNG--->(dvdauthor)---->VOB,IFO

For transcoding, it would probably be easiest to cut the SUP,IFO files out
of the MPEG2s (might be doable with ProjectX as a user job) and either keep
them as separate files or somehow merge them with the transcoded MPEG4 file
(The "Nero Digital" format is a MPEG4 format that can contain subtitles), so
there is no doubt that it can be done, but it might be easier to keep them
as separate files (as the thumbnails already are).
If the MPEG2 and MPEG4 decoders for the internal player share a lot of code,
it might not be too difficult as the MPEG2 decoder already can handle a
subtitle stream.

Best regards
Niels Dybdahl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060524/6604f483/attachment.htm 


More information about the mythtv-users mailing list