This is a simple service menu entry I created for myself to easily convert videos to my Nokia 5800XM using ffmpeg. It converts the files to mpeg4 with aac. After trying several different video formats I found this to be the best. The phone should support H264, but I never got it to work. These settings probably work with phones like N95 and N97, but I haven't been able to test this.
The default folder to put the file is
/home/user/.kde/share/kde4/services/ServiceMenus (for user specific)
/usr/share/kde4/services/ServiceMenus (for system wide)
If for some reason your folders are different use command
kde4-config --path services
to find out the right folders.
You can easily change the ffmpeg command just by opening the file with a text editor. Currently the command is:
ffmpeg -i %u -f mp4 -vcodec mpeg4 -r 30 -b 2200k -s 640x360 -acodec libfaac -r 32000 -ab 128k -ac 2 -async 1 %u.mp4
*You need to have ffmpeg installed to use this*
All comments and suggestion are welcome. :)