You are not logged in.

#1 2007-09-02 10:24:09

karag
Member
Registered: 2006-09-05
Posts: 84

mplayer - render subtitles outside video

Hi all -
I used to have my mplayer config set up so that subtitles would be displayed on the black bars underneath the video. Unfortunately a recent upgrade destroyed my config! (I should have made changes to ~/.mplayer/config instead) and I can't remember how to do it.
Can someone please help with correct config options
thanks!

Offline

#2 2007-09-02 14:53:57

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: mplayer - render subtitles outside video

Put "expand=0:-50:0:0" in your mplayer's config file or add "-vf expand=0:-50:0:0" when invoking mplayer.

Offline

#3 2007-09-02 18:02:28

karag
Member
Registered: 2006-09-05
Posts: 84

Re: mplayer - render subtitles outside video

excellent - that worked perfectly big_smile
thanks.

Offline

#4 2007-09-07 15:44:09

AlmaMater
Member
Registered: 2007-02-28
Posts: 92

Re: mplayer - render subtitles outside video

i was going to ask the same question, : )

i added expand=0:-50:0:0 to conf file but subtitles are still showing in the video : s   ,  any ideas what could be wrong?

my conf file

# Write your default config options here!

monitoraspect=16:10
expand=0:-50:0:0

besides that, i have everything default on mplayer, only no autoscale option in subtitles

==========================================================================
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: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.29:1 - prescaling to correct movie aspect.
VO: [xv] 624x272 => 624x272 Planar YV12

Thanks in advance for any help  smile

Offline

#5 2007-09-07 17:33:37

karag
Member
Registered: 2006-09-05
Posts: 84

Re: mplayer - render subtitles outside video

yes, you're right - actually, I had only tested it in the command line.
The config file option should be

vf=expand=0:-50:0:0

Offline

Board footer

Powered by FluxBB