[MPlayer-dev-eng] [PATCH] Make all subtitles availiable

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 10 18:59:09 CET 2006


Hello,
On Sun, Dec 10, 2006 at 06:37:41PM +0100, Nico Sabbi wrote:
> Reimar Döffinger wrote:
> >Hello,
> >On Sun, Dec 10, 2006 at 05:43:14PM +0100, Nico Sabbi wrote:
> >>nothing else than aligning all demuxers and streams to map subtitles 
> >>the same way, or -even better- adding a subtitles super-manager to 
> >>hide subs ids and languages from demuxers and streams
> >
> >Well, why would that be needed assuming the values printed by -identify
> >are right? Or are they still actually some random numbers?
> 
> they may not be random but surely they are mapped differently among 
> streams and demuxers

What I meant is identify gives something like this:
> subtitle ( sid ): 0 language: de
> ID_SUBTITLE_ID=0
> ID_SID_0_LANG=de
> subtitle ( sid ): 1 language: en
> ID_SUBTITLE_ID=1
> ID_SID_1_LANG=en

Assuming they are correct, all we would have to do is set dvdsub_id
(which is exactly what -sid does) and in the worst case "restart" from
some earlier place in mplayer.c.
If that does not work, then -sid would not work as these messages
advertise and they should be removed or at least changed.
I really seriously need some broken DVDs to find out wtf. is going on
here.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list