[MPlayer-DOCS] [PATCH] a subtitle font scaling faq entry
tempn at twmi.rr.com
Mon Oct 24 17:29:47 CEST 2005
>On Sun, Oct 23, 2005 at 12:58:02PM -0400, compn wrote:
>> heres another FAQ entry. this is not obvious, and may help someone.
>> A user in #mplayer found this helpful today.
>> +mplayer -sub file.srt -subfont-text-scale 25 -subfont-autoscale 0 -vf scale=102
>> +4:768 <replaceable>file.avi</replaceable>
>What exactly does this command line achieve? I'm getting weird effects
>where if I change OSD level the play symbol is minuscule while the
>numbers are sized correctly...
mplayer 160x128.mpg -sub test.srt -xy 3
mplayer 160x128.mpg -sub test.srt -vf scale=512:384
well if you have a small video, the subtitles will be scaled automatically
to the video window (e.g. 160x128 video, with subtitles, then hit fullscreen).
the subs will be scaled again, but it will be scaled from the first scale,
instead of rescaled to new res, resulting in very jagged and crappy looking subs.
maybe subs need to be rescaled when video res changes? e.g. dynamic sub scale?
this method above would work always, at any video res, without scaling.
new attached patch will just scale the video first, instead of subtitles.
i dunno which is better or if either need to be in the FAQ..
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-DOCS