[MPlayer-dev-eng] [PATCH] libass fixes and additions

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun Mar 1 15:24:32 CET 2009


On Wednesday 18 February 2009 10:55:52 Zhou Zongyi wrote:
> Grigori wrote:
> > There's some content out there in the wild where PlayRes and video
> > aspect ratio (assuming 1:1 PAR) don't match, and this patch fixes the
> > strangely stretched fonts with this material. I don't see how this hurts
> > until libass gets PAR compensation.
> >
> > Regarding PAR compensation, i wonder where I can get the necessary
> > information (video aspect ratio) from in MPlayer.

d_width/d_height in video filter's config(). It's known to libass as 
ass_settings_t.aspect, used to calculate PlayRes(?) if one of them is missing, 
which, in turn, affects text scaling.

> > BTW, how are "legacy" subs supposed to be handled, which assume 1:1 PAR
> > and maybe even stretched the fonts manually (\fsx, \fsy) to get it to
> > look right?
>
> IMO as long as PlayResX and PlayResY is set, subtitle should look the same
> with -vf ass at fullscreen, no matter what resolution the original video
> has.

Sounds right.



More information about the MPlayer-dev-eng mailing list