[MPlayer-DOCS] [PATCH] a subtitle font scaling faq entry
diego at biurrun.de
Sat Dec 10 20:59:15 CET 2005
On Mon, Oct 24, 2005 at 11:29:47AM -0400, compn wrote:
> >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.
OK, let's try to get this sorted out..
What is the problem here exactly? You have a very small video and
subtitles get scaled down and up again when you resize/scale the movie
and end up looking bad? Or is it the use of bitmap fonts that don't fit
on a very small movie?
More information about the MPlayer-DOCS