I wanted to convert some movies to use on my Cowon iaudio X5L. After lots of testing I found this combination of frame rates, bitrate and passes produces a resonable compromise between video defects, jutter and size:
FR=12
BR=192
mencoder /tmp/short.avi -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=${BR}:vpass=1 -nosound -vf scale=160:128 -ofps ${FR}
for i in 1 2 3; do
mencoder /tmp/short.avi -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=${BR}:vpass=3 -nosound -vf scale=160:128 -ofps ${FR}
done;
mencoder /tmp/short.avi -o /tmp/test.avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=mp3:abitrate=128:vbitrate=${BR}:vpass=3 -vf scale=160:128 -ofps ${FR}
The piece of movie I used for testing was quite actiony and had a few scene changes. The resulting size was 2490696 bytes for a 60 second movie. That's 145939 k/hour or 142.5 M/hour.
|