David1105
1st June 2007, 21:36
When using ffmpeg to convert a .mov file to .avi one, the following command line is used:
ffmpeg -i input.mov -y -f avi -vcodec xvid -vtag XVID -s 320x240 -acodec mp3 output.avi
The problem is that the aspect ratio (AR) of the original mov movie is changed in output movie. The AR of input movie is 16:9, however, the AR of output movie is changed to 4:3.
It seems like the ffmpeg defaults to 4:3 until you add a switch "-aspect 16:9" to the above command line. Is this correct?
We tried adding "-aspect 16:9" or "-aspect 1.7777" switch, however, the AR still looks like 4:3. Why the "-aspect" switch isn't working in such a case?
Is there a simple way to ask ffmpeg to preserve the AR of input movie? If not, there's a simple way to know AR of a input movie in advance before feeding the movie to ffmpeg for conversion?
Thanks!
ffmpeg -i input.mov -y -f avi -vcodec xvid -vtag XVID -s 320x240 -acodec mp3 output.avi
The problem is that the aspect ratio (AR) of the original mov movie is changed in output movie. The AR of input movie is 16:9, however, the AR of output movie is changed to 4:3.
It seems like the ffmpeg defaults to 4:3 until you add a switch "-aspect 16:9" to the above command line. Is this correct?
We tried adding "-aspect 16:9" or "-aspect 1.7777" switch, however, the AR still looks like 4:3. Why the "-aspect" switch isn't working in such a case?
Is there a simple way to ask ffmpeg to preserve the AR of input movie? If not, there's a simple way to know AR of a input movie in advance before feeding the movie to ffmpeg for conversion?
Thanks!