View Full Version : Opaque subtitle mplayer (remove subtitles transparency when i play an mkv, ogm ...) ?
Shinobu
22nd January 2007, 18:10
hello i'm starting to use mplayer for some preview function in a future soft bug i haven't found any way to set up the subtitle as opaque, there's always a transparency (ssa,srt, sub...), i've tried several setting of the sub-alpha but it doesn't seem to be any use .....
if you have any way to do it:thanks:
++
Shinobu
23rd January 2007, 16:52
noone kown how to get just white sutitle with a black border and NO transparency ?
i've tried -sub-bg-color and -sub-bg-alpha with change nothing (str, sub, ans ssa), i just want to remove that realy anoying subtitle transparency.
please help ...
++
rvm
25th January 2007, 03:10
Maybe the -ass option could help you.
This is how it looks like with that option:
http://www.uploadfile.info/uploads/fd8770b1e6.jpg
Shinobu
25th January 2007, 07:08
thanks but with the ass option a got the same transparency problem...
couls you please post your full comment line ? so i could test it.
thanks.
++
rvm
25th January 2007, 16:38
Just simply: mplayer video.mkv -ass
It seems to work well with mkv videos with ssa/ass subtitles, but yes, it gives some transparency with srt/sub subtitles.
I read in the mplayer-users list that this could be fixed by using a newer freetype library.
Shinobu
25th January 2007, 17:13
where can i find such a library ? thanks
rvm
25th January 2007, 18:44
Mmm, what OS are you using?
Freetype (http://freetype.sourceforge.net/index2.html)
Freetype for windows (http://gnuwin32.sourceforge.net/packages/freetype.htm)
But I think you'll have to compile mplayer.
I'd suggest you to ask first in mplayer-users list, maybe there's a recent version of mplayer with this problem fixed or a binary already compiled with a recent version of freetype (I haven't found any which works well in Windows, in fact all mplayer svn binaries that I tried crash with the -ass option).
celtic_druid
25th January 2007, 22:17
Here I get (loading a ttf) solid white text with a not so solid black outline. With ass I get solid yellow text with a much more solid black outline.
http://img77.imageshack.us/img77/4328/mplayer10lr.png
http://img77.imageshack.us/img77/5712/mplayer28go.png
Looks ok to me.
Shinobu
26th January 2007, 16:45
with ass or str subfile i get this (with or without -ssa option) (i've tried several revision of mplayer...):
http://yatoshi.com/mplayer210.jpg
in comparaison the same file player with mpc:
http://yatoshi.com/mpc210.jpg
could you please post your full command line i may mistake something ....
thanks.
celtic_druid
26th January 2007, 17:25
No commandline options. I used the config file to set everything.
Nothing really in there though that makes any difference, basically just:
font="H:\winnt\fonts\HelveticaNeueBd.ttf"
subfont-text-scale="3.5"
Shinobu
26th January 2007, 18:04
i add a specifc font selection and scale as celtic druid but the tranparancy is alway here ....
i have the same bug with .sub (vobsub) subtitle ....
any idea ?
thanks
celtic_druid
26th January 2007, 18:50
VOBSubs have the same effect here, but then VOBSub's never looked that good to me. Interestingly the same vobsub's weren't transparent with -vo gl2. Can't remember what they look like under linux.
Shinobu
26th January 2007, 19:39
i"m under winxp ....
Shinobu
26th January 2007, 21:54
-vo gl2 slove all the transparancy bugs for mplayer, but now i want to encode what i'm seeing, and there's no gl2 option in mencoder, and then the transparency is back T_T...
any way/idea to encode without the transparency with mencoder (like when i use mplayer -vo gl2) ?
thanks again.
Shinobu
29th January 2007, 17:16
no one ?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.