Re: no display of VOB subtitle streams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Adam Seychell wrote:> After two weeks of trying to build mplayer under cygwin , I still cannot > get embedded subtitles in VOB files. The OSD font is working as I can > see text when activating various control buttons like volume delay, et.> mplayer was compiled with freetype and fontconfig libraries and > subfont.tff is successfully found.> > I tested an outdated windows binary version of mplayer:> http://www.mplayerhq.hu/MPlayer/releases/win32/MPlayer-mingw32-1.0rc2.zip> and when playing the same VOB file and -sid numbers I can see the subtitles.
VOB files don't require any fonts, so OSD font, freetype, fontconfigetc. don't have anything to do with it: it's simply bitmaps overlaid onthe screen.
There was a change some time ago which made it that subtitles appearonly after actively switching them (via the 'j' key) in mplayer, so ifyou have selected subtitle id 0, you have to press j until you get tosubtitle 0 again (cycling through them all).

The following Patch, as proposed by Ötvös Attila by the end of December08, fixed the problem insofar as subtitles are now always displayedcorrectly:


Index: command.c===================================================================--- command.c	(revision 28172)+++ command.c	(working copy)@@ -1496,6 +1496,7 @@ 		    ass_track = sh->ass_track; #endif             } else {+              if(dvdsub_id<0)               d_sub->id = -2;               d_sub->sh = NULL; 	    }

Only one drawback remains: if I select -forcedsubsonly at the beginning,this is not considered: I have to press Shift+F twice, to getforced-only subtitles. Some patch would be needed for this, too.
I'm guessing, the value of -2 overrides any previously set force flags,so it's not considered anymore, but anyone with a bit of more insight tothis could certainly say more about this.

-- cheers,Alex
_______________________________________________MPlayer-users mailing listMPlayer-users@xxxxxxxxxxxxxxxxx://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux