Hi! Wolfram Gloger wrote:
>>Neither do I. Can e.g. dvdauthor handle subtitles at all? > > Yes, most definitely -- although AFAIK "only" in vobsub format, it > doesn't do any conversions. And is VobSub format fully documented somewhere? I couldn't find anything that answers all questions. >>Not as far as I know. And we don't want the normal teletext part anyway, >>because it's not related to the program. > > > Certainly some pages are related to the program -- especially the > subtitle pages (quite common in Germany -- not sure about other > countries). But it's all part of the same stream (same PID inside the TS). >>What makes things worse is that >>teletext streams come in several varieties, and each of them may include >>different substreams. In order to find the interesting parts, we have to >>analyze all the data. >> >>And that's still not the whole picture. There are also the so-called DVB >>subtitles (yet another stream format), > > > Totally uncommon in Germany, but support for that is already in > current ffmpeg (see dvbsubdec.c). Is it also possible to convert arbitrary formats to DVD subtitles? I only saw a decoder for DVD format, but no encoder. >>and subtitles may also be hidden >>inside one of the other streams, as private/ancillary data. As far as I >>know, that's usually clear text that has to be rendered by the decoder, >>while DVB and teletext subtitles come pre-rendered (in incompatible >>formats, of course). > > > Fortunately, there is already a mature, free, not too bloated library > which computes the rendered text pages: libzvbi. German stations probably won't need this - if they send subtitles at all, it will be VBI/teletext subtitles. At least that's what I found in my collected streams. >>Of course you also need to consider the required output format for DVD. >>I haven't found any complete description yet, so anybody implementing >>subtitles may have to use a trial-and-error approach (and will have a >>lot of troub^H^H^H^H^Hfun). > > > That was/is not really that hard. vobsub output for DVD is already in > current ffmpeg, please check out dvdsubenc.c. I also have the > conversion ready as an ffmpeg decoder (using libzvbi), so I can > generate DVD subtitles from teletext pages. I'll try to see what I > can come up with for dvbcut. Well, stream detection is already there, in case you want to give it a try. -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
