[MPlayer-users] Problem when cycling internal subtitles

Victor Farias nk21507 at hotmail.com
Fri Mar 3 05:35:02 CET 2006


Nico Sabbi wrote:

>taken.
>What is "b" supposed to do? disable subs?

According to MPlayer's manual page:

"b / j	 -> Cycle through the available subtitles."

Each time you press the "b" key, MPlayer cycles to the next available 
subtitles, if there are not another available subtitles, then MPlayer will 
turn off the subtitles (the OSD message is "Subtitles: off").

The correct cycle should be:

-> sub 01 -> sub 02 -> last sub -> sub off -> sub 01 -> sub 02 -> last sub 
-> sub off...

If you test the "test_01.mkv" file, pressing "b" (or "j") several times, 
then you will see the following behavior:

-> sub 01 -> sub 01 -> sub 01 -> sub 01 -> sub 01 -> sub 01...

If you test the "test_02.mkv" file, pressing "b" (or "j") several times, 
then you will see the following behavior:

-> sub off -> sub 01 -> sub off -> sub 01 -> sub off -> sub 01...

The behavior testing "test_02.mkv" is the correct behavior.

The behavior testing "test_01.mkv" should be:

-> sub 01 -> sub off -> sub 01 -> sub off -> sub 01 -> sub off...

Reverting from mplayer.c,1.900 to mplayer.c,1899 solves the problem (CVS 
diff 01).

I just discovered that this incorrect behavior is also present in DVD 
playback.

If you only revert to mplayer.c,1.889; then another problem will be 
triggered... MPlayer will start displaying "english" subtitles (second 
available subtitles) even if you do not use the "slang" or "vobsubid" 
command. Then pressing "b" until you turn off the subtitles (OSD message: 
"Subtitles: off") MPlayer will display "chinese" subtitles (first available 
subtitles). This problem is only triggered when playing DVDs.

So if you want to avoid both problems (for testing purposes), then you must 
revert both commits (CVS diff 01 and CVS diff 02).

CVS diff 01 (check for "Revision 1.900"):
http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/mplayer.c

CVS diff 02 (check for "Revision 1.67"):
http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/libmpdemux/demux_mpg.c

Thanks for your time!!!

Byes :p



Yakusoku wa iranai.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the MPlayer-users mailing list