[MPlayer-DOCS] [PATCH] a subtitle font scaling faq entry
compn
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...
>
>Diego
example:
mplayer 160x128.mpg -sub test.srt -xy 3
http://home.twmi.rr.com/compn/rescaledsubs.jpg
vs
mplayer 160x128.mpg -sub test.srt -vf scale=512:384
http://home.twmi.rr.com/compn/scaledsubs.jpg
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..
-compn
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: faqpatch3.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20051024/e73ce9a8/attachment.txt>
More information about the MPlayer-DOCS
mailing list