[MPlayer-users] vobsub and colors
Bayrouni
bayrouni at brutele.be
Sat Mar 31 21:42:25 CEST 2007
Evgeniy Stepanov a écrit :
> On Saturday 31 March 2007 21:12, Reimar Döffinger wrote:
>> Hello,
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 ?
> _______________________________________________
Yes, it works.
and you are only this is important:
custom colors: ON, tridx: 1000, colors: ffffff, 000000, 000000, 000000
A B C D E
Changing A, B, C and D, I can obtain :
1/ all in black
2/ all in white
3/ black outlined by white (very readable)
But no any other colors.
Thank you and thanks for all others persons helped me.
Now I can use this line you gave me with all others vobsub.
Cordialement
More information about the MPlayer-users
mailing list