[MPlayer-users] Newish Vobsub bug

Mike Castle dalgoda+mplayer at gmail.com
Tue Sep 7 16:23:41 CEST 2010


On Mon, Sep 6, 2010 at 1:55 PM, Rashkae <rashkae at tigershaunt.com> wrote:
> and Mencoder can even extract near perfect subs with vobsubout (but then, I
> have to add a palette for MPlayer, otherwise Mplayer doesn't try to do the
> black/white thing.)

Just to focus on this palette bit.

How are you extracting the vobsub?  Are you using dvdnav: instead of
dvd:  ?  If so, this is a known issue with mencoder.

What I personally do is rip something like the following bash snippet:

mencoder -vobsubout $track.vob -frames 0 -oac copy -ovc copy -o
/dev/null dvd://$track
head -n -1 $track.vob.idx > $track.vob.idx.tmp
mv -f $track.vob.idx.tmp $track.vob.idx
count=0
for sid in ${!vobsub[*]}; do
  slang=${vobsub[$sid]}
  mencoder -sid $sid -vobsubout $track.vob -vobsuboutindex $count
-vobsuboutid $slang -oac copy -ovc copy -o /dev/null dvdnav://$track
  ((++count))
done

Where, in my case, vobsub would be something like:
vobsub=([0]=en [1]=es [2]=fr)

Also note the use of -vobsuboutid to explicitly set the language.
This is also necessary with dvdnav: .

mrc


More information about the MPlayer-users mailing list