Archive for March, 2010

Convert Videos for the Nokia 5230 (and Nokia 5800)

March 16, 2010 3 comments

I recently purchased a Nokia 5230 and looked for a way to convert videos using Ubuntu.

There are plenty of free and unfree solutions in Windows for conversion (which didn´t work very well for me). So, there is an easy way in Ubuntu 9.10 which produces vids with nice quality both in video and sound in full resolution, which is 640x360px for the Nokia 5230.

I am using ffmpeg via console – it´s fast, very flexible and exactly does what it should do.

The command goes like this:

ffmpeg -i SOURCEFILE -f mp4 -vcodec libxvid -s 640x360 -b 768kb -r 25 -aspect 16:9 -acodec libfaac -ab 96kb -ar 44100 -ac 2 DESTINATIONFILE

That´s it. SOURCEFILE is the name of the video you are planning to encode, DESTINATIONFILE is the name of the vid you are expecting.

I put this command in a very simple (and primimtive) bash script:

Read more…