[FFmpeg-devel] [RFC] TS/DVB subtitle sub_id hack

Michael Niedermayer michaelni
Sun Jul 11 19:55:16 CEST 2010

On Sun, Jul 11, 2010 at 07:21:06PM +0200, Reimar D?ffinger wrote:
> On Sun, Jul 11, 2010 at 06:17:59PM +0200, Michael Niedermayer wrote:
> > maybe something along the lines of:
> > put the 2 ids in extradata in mpegts.c (1-2 line change)
> > make dvbsub use the 2 ids from extradata (1-2 line change)
> > if dvbsub finds no extradata print a big warning that multiple languages
> > could be displayed on top of each other and display all.
> Should the dvbsub decoder set the sub_id in this case?

how would it know which is the ancilary id ?

> Might be helpful to play things even without a PMT or other demuxers that
> do not (yet) export such extradata or...
> > if there are multiple pmt entries that refer to the same stream, create
> > multiple subtitle streams with differening extradata.
> This would be an extension of the functionality and I fear we might have
> no samples for that. Would that be a requirement?

no requirement until we have a sample
but id say its required to print a warning in this case otherwise this
could lead to some wasted hours debuging why a expectec subtitle stream
isnt existing


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100711/d01e056d/attachment.pgp>

More information about the ffmpeg-devel mailing list