[MPlayer-users] How to correct pixel aspect ratio?

Nico Sabbi nsabbi at tiscali.it
Mon Nov 15 11:16:34 CET 2004


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 :)

An alternative is to mux as odml (avi) with -force-aspect-ratio 54/59

>
> Believe me, I have read and read and read the man mplayer before 
> asking, but I could not find how to do what I need...
>
> TIA,





More information about the MPlayer-users mailing list