Friday, 4 September 2009

Convert video for nokia 5800 using ffmpeg in ubuntu

This gives outstanding results on nokia 5800:

ffmpeg -i input.avi -vcodec mpeg4 -b 512k -s 640x360 -acodec libfaac -ab 128k -ac 2 -threads 4 output512k640x360.mp4

The inputs can be in the many formats supported by ffmpeg.

Apparently you can play H264 on the nokia 5800 which is supposed to be better quality but supposedly the max resolution is 360x240 or something. But the mpeg4 codec gives fabulous results too.

See this link for some discussion on the subject http://ubuntuforums.org/showthread.php?t=1125181

No comments: