[SPAM DETECT] Re: [MPlayer-users] How to change subtitles color
Pepe
rvm3000 at ya.com
Thu Oct 26 23:13:06 CEST 2006
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.
> mplayer video.avi -sub subs.ssa -ass -ass-color 00000000 -font
~/.fonts/arial.ttf
MPlayer 1.0rc1-3.3.4 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
/home/ricardo/.fonts/arial.ttf doesn't look like a bitmap font description,
ignoring.
Cannot load bitmap font: /home/ricardo/.fonts/arial.ttf
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support. You will not be able to use your remote control.
Playing video.avi.
AVI file format detected.
VIDEO: [XVID] 624x352 12bpp 23.976 fps 1035.9 kbps (126.5 kbyte/s)
Clip info:
Software: VirtualDub
SUB: Detected subtitle file format: ssa
SUB: Read 625 subtitles.
LIBASS: added subtitle file: subs.ssa (1 styles, 625 events)
SUB: Added subtitle file (1): subs.ssa
[ass] auto-open
Opening video filter: [screenshot]
[ass] Updating font cache
FcDirSave failed
[ass] Init
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [xv] 624x352 => 624x352 Planar YV12
[mpeg4 @ 0x8660db8]frame skip 8t: 0.000 1/ 1 ??% ??% ??,?% 0 0
Neither PlayResX nor PlayResY defined. Assuming 384x288. ?,?% 0 0
[mpeg4 @ 0x8660db8]frame skip 8t: 0.003 14/ 14 22% 9% 1.2% 0 0
A: 268.9 V: 268.9 A-V: 0.011 ct: 0.104 6449/6449 21% 6% 1.1% 0 0
Exiting... (Quit)
--
Pepe
More information about the MPlayer-users
mailing list