[MPlayer-users] How to correct pixel aspect ratio?
Nico Sabbi
nsabbi at tiscali.it
Mon Nov 15 11:20:19 CET 2004
Nico Sabbi wrote:
> Michel Bardiaux wrote:
>
>> I have an MPEG-1 file that has been captured from a BTTV card using a
>> size of 704x576, but the software (mine!) erroneously stored 1:1 as
>> pixel aspect ratio in the file when it should be 54:59 (or is it
>> 59:54?). Is there a way with meplayer/mencoder (or any other tool) to
>> produce (preferrably without any re-encoding) an MPEG-1 file with
>> either the correct picture size (768x576) or the correct pixel aspect
>> ratio so that the movie plays correctly?
>
>
>
> the only possible A/R values for MPEG1 are 1:1, 4/3, 16/9 and 2.21/1;
> last month (or sooner) I posted in -dev-eng a new mpeg muxer
> that can also change video sequence_header parameters; you can apply
> that patch, remux and re-demux :)
uhm 59/54 = 1.09xx that is the PAR corresponding to 4/3 DAR (couldn't
you mention 4/3 ?),
so after having applied my patch you can simply use
-of mpeg -mpegopts format=mpeg1:vaspect=4/3
More information about the MPlayer-users
mailing list