[SPAM DETECT] Re: [MPlayer-users] How to change subtitles color

sofasurfer at gmail.com sofasurfer at gmail.com
Fri Oct 27 00:11:26 CEST 2006


On Thu, 26 Oct 2006 23:49:02 +0200
Pepe <rvm3000 at ya.com> wrote:

> El Jueves, 26 de Octubre de 2006 23:33, sofasurfer at gmail.com escribió:
> > On Thu, 26 Oct 2006 23:13:06 +0200
> >
> > Pepe <rvm3000 at ya.com> wrote:
> > > El Jueves, 26 de Octubre de 2006 21:12, Rickard Närström escribió:
> > > > torsdag 26 oktober 2006 20:29 skrev Pepe:
> > > > > Is it possible to change the subtitles' color?
> > > > >
> > > > > I can see the new 1.0rc1 has the option -ass-color.
> > > > > First of all, how can I convert a srt to SSA/ASS format?
> > > > >
> > > > > Second, does the -ass-color option really work? Because I
> > > > > tried to change the color but the subtitles are always white.
> > > > > Of course I used -ass too.
> > > >
> > > > The color is given in 32-bit HEX RRGGBBTT
> > > >
> > > > RR = Red
> > > > GG = Green
> > > > BB = Blue
> > > > TT = Transparency
> > > >
> > > > So.. ffffff00 is white, 00000000 is black, ff000077 is
> > > > semi-transparent red etc.
> > > >
> > > > Hmm... the man-page says RRGGGBBAA witch is wrong, the last
> > > > value is transparence value ie. FF is full transparency (no
> > > > alpha) and 00 is no trancparency (full alpha)
> > >
> > > No way, even if I use 00000000 the subtitles are white.
> >
> > this is what i've noticed:
> >  - when using normal txt subtitles (.sub,.srt) i can change color
> > with -ass-color and -ass-border-color options
> >  - when using .ssa subtitles, using -ass option makes mplayer
> > reading the font properties from .ssa file, but it disregards
> > -ass-color and -ass-border-color options; without -ass option,
> > subtitles are white.
> >
> > so, if you want to have colored subtitles, either use .sub, .srt...
> > with -ass -ass-color and -ass-border-color, or use .ssa subtitles
> > with -ass and change the color in .ssa file.
> 
> Works!
> 
> But the font it uses is not the one I selected with -font, why?
> There's this message in the output:
> fontconfig: selected font family is not the requested one:
> 'Verdana' != 'Sans'
> 
well, you also have font defined in .ssa file; try changing that to
match the font you're using. 

ivan



More information about the MPlayer-users mailing list