Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th November 2010, 16:48 | #1 | Link |
Registered User
Join Date: Sep 2010
Posts: 46
|
[FFmpeg] libxvid - Invalid aspect ratio
Hi all !
I developed a FFmpeg command line that would allow me to encode videos in a format suitable for my Nexus One. So I must use libxvid with the mp4 container, cause the phone won't play libx264 encodings by default. So I use a 2-pass formula, which second pass line resembles the following : Code:
ffmpeg -y -i INPUT -f mp4 -pass 2 -vcodec libxvid -vpre PRESET -passlogfile FILE -b 500k -bt 500k -s 480x320 -aspect 3:2 -r 29.97 OUTPUT And I get the following error : [libxvid @ 01c57b80] Invalid pixel aspect ratio 0/1 Now, maybe I am very poor at maths but a 480x320 size does mean a 3:2 aspect, right ? And anyways, I tried with 4:3 ans 16:9 aspects as well and got the same error. I searched a bit and found many other people who had this problem, but never got answers or any useful clue. Maybe I'll be more lucky ? ;-) Regards. |
Tags |
aspect ratio, ffmpeg, invalid, libxvid, nexus |
|
|