[MPlayer-dev-eng] how to change subtitles color?
İsmail Dönmez
ismail at pardus.org.tr
Tue Aug 29 14:12:56 CEST 2006
Salı 29 Ağustos 2006 14:37 tarihinde, Evgeniy Stepanov şunları yazmıştı:
> On Tuesday 29 August 2006 13:59, $ammael wrote:
> > i would like to know if there is any way to change subtitles color in
> > mplayer to yellow. i did RTFM, but found only option to adjust subtitles
> > brightness. Does it mean I can't change color of them? it's the last
> > thing to make bsplayer obsolete;)
>
> Try -ass -ass-force-style
> 'Default.PrimaryColour=&H0000FFFF,Default.OutlineColour=&H00000000' =)
> Only for external subs ATM, and you'll need a fresh svn checkout.
That crashes here with latest SVN:
[~]> gdb SVN/mplayer/mplayer
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".
(gdb) Donnie\ Darko.avi -sub Donnie\ Darko\
TR.sub -ass -ass-force-style 'Default.PrimaryColour=&H0000FFFF,Default.OutlineColour=&H00000000'
Undefined command: "Donnie". Try "help".
(gdb) run Donnie\ Darko.avi -sub Donnie\ Darko\
TR.sub -ass -ass-force-style 'Default.PrimaryColour=&H0000FFFF,Default.OutlineColour=&H00000000'
Starting program: /home/cartman/SVN/mplayer/mplayer Donnie\ Darko.avi -sub
Donnie\ Darko\
TR.sub -ass -ass-force-style 'Default.PrimaryColour=&H0000FFFF,Default.OutlineColour=&H00000000'
[Thread debugging using libthread_db enabled]
[New Thread -1223641424 (LWP 15957)]
MPlayer dev-SVN-r19590-4.2.0 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, Stepping:
8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
x86 işlemci için eklerle derlendi: MMX MMX2 SSE SSE2
Donnie Darko.avi oynatılıyor
AVI dosya biçimi bulundu!
VIDEO: [DIV3] 640x272 24bpp 23.976 fps 719.6 kbps (87.8 kbyte/s)
Klip bilgisi:
Software: Nandub v1.0rc2
SUB: Detected subtitle file format: microdvd
SUB: Read 1228 subtitles.
SUB: Adjusted 2 subtitle(s).
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223641424 (LWP 15957)]
0xb7620ac3 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0xb7620ac3 in strlen () from /lib/libc.so.6
#1 0xb76207d6 in strdup () from /lib/libc.so.6
#2 0x00000000 in ?? ()
Valgrind reports an invalid read:
==15960== Invalid read of size 1
==15960== at 0x401E756: strlen
(in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15960== by 0x808583F: add_subtitles (mplayer.c:983)
==15960== by 0x8086BCE: main (mplayer.c:3671)
==15960== Address 0x0 is not stack'd, malloc'd or (recently) free'd
mplayer Donnie\ Darko.avi -sub Donnie\ Darko\ TR.sub , works as expected.
Regards,
ismail
--
日本のanimeは揺れる
More information about the MPlayer-dev-eng
mailing list