[MPlayer-users] vobsub and colors

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sat Mar 31 19:23:53 CEST 2007


On Saturday 31 March 2007 21:12, Reimar Döffinger wrote:
> Hello,
>
> On Sat, Mar 31, 2007 at 03:57:56PM +0200, Bayrouni wrote:
> > Well, may be I am doing (I did) something really wrong and bad.
> >
> > I copied subtitles from title.vob:
> >
> >  mencoder title.vob -ovc copy||-noframe -oac copy||-nosound  -o
> > /dev/null   -vobsubout title -vobsuboutindex 0 -vobsuboutid fr|en|sp or
> > whatever.
> >
> > So changing some options like -ovc copy to -noframe and so on has no
> > effect on title.idex.
> >
> > ls -l title.*
> > -rw-r--r-- 1 bayrouni users  44K mar 31 15:23 batman.idx
> > -rw-r--r-- 1 bayrouni users  2,7M mar 31 15:23 batman.sub
>
> The palette is in the .ifo file, which you are missing - which probably
> is also the reason why the subtitles are black in the first place, I've
> never seen anyone using black subtitles even if it is possible.
> If the .vob is all you have you'd have to create a .ifo yourself, the
> info needed for that is not in the vob.

I've got an .idx with the following lines:
--------------begin---------------------
# The original palette of the DVD
palette: 000000, ffffff, 000000, faff1a, ffffff, bebebe, 14bef3, ea12eb, 
faff1a, 000070, 067506, 731f03, 095f78, 750975, 7c950b, ffffff

# Custom colors (transp idxs and the four colors)
custom colors: ON, tridx: 1000, colors: ffffff, 000000, 000000, 000000
-------------end------------------------
, and the last line really affects the way mplayer displays subtitles. Maybe 
the same lines could be added to batman.idx ?



More information about the MPlayer-users mailing list