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

Lehel Bernadt lehel at pmc-services.hu
Mon Dec 4 23:10:16 CET 2006


On Monday 04 December 2006 22:05, Reimar Döffinger wrote:
> To simplify my question, I think your patch can not change the following
> output (am I correct?):
>
>   subtitle ( sid ): 0 language: da
>   ID_SUBTITLE_ID=1
>   ID_SID_0_LANG=da
>   subtitle ( sid ): 1 language: sv
>   ID_SUBTITLE_ID=3
>   ID_SID_1_LANG=sv
>   subtitle ( sid ): 2 language: no
>   ID_SUBTITLE_ID=5
>   ID_SID_2_LANG=no
>
> According to the identify output, -sid 0 does not exist, but at the same
> time -sid 0 is -slang 'da'.
> In addition the -identify output and the "normal" output do not match in
> which -sids are available (1,3,5,7 vs 0,1,2,3), with no indication which
> language -sid 7 would be (if it even works).

No, it cannot, but as i said in my previous mail, the numbers of 
ID_SUBTITLE_ID are not sids. They are SPU IDs. In the example, -sid 1 
= -slang sv = -vobsubid 3. -sid 7 does not exist, but -sid 3 maps to spu id 7 
(also selectable with -vobsubid 7).
If you wish to display the sids there instead, it's possible to do it of 
course. The reason why it displays the SPU IDs is because i needed some way 
to check if the sid -> spu id mapping is working correctly.
Or maybe the name should be changed to reflect that these are not the sid 
numbers. Anyway, it's not a bug which affects the correct working of mplayer.

Lehel



More information about the MPlayer-dev-eng mailing list