[MPlayer-dev-eng] [PATCH] Be more liberal in supported libavcodec aspect ratio configuration.

Markus Liebl lieblm at troja.mayn.de
Tue Nov 19 04:26:18 CET 2002


On Tue, 19 Nov 2002 13:47:41 +1100
Daniel Pittman <daniel at rimspace.net> wrote:

> At present the libavcodec output option for mencoder allows the aspect
> ratio of an encoded (mpeg4, at least) sequence to be specified.
> 
> The user interface to it is rather hostile, though, since it demands
> that the (limited set of) aspect ratios be specified to the full
> precision of a float on the system.
> 
> My patch makes this a lot more liberal, accepting the "user friendly"
> idea of what the aspect ratio is rather than the exact mathematical
> definition.
> 
> So, rather than 1.33333333333333, 1.33 is considered valid. This is ...
> nicer, IMO.
aspect=4/3
aspect=16/9
aspect=221/100

Bye,
Markus

-- 
            Secret hacker rule #11: hackers read manuals.



More information about the MPlayer-dev-eng mailing list