Using Linux (and/or mplayer) to convert video for the iPod

I finally found a command line to convert video for the ipod. It looks alright, but I haven’t actually tried loading the video onto the ipod yet. I found it here.

$ ffmpeg -i foo.avi -b 600 -s 320x240 -vcodec mpeg4 -ab 128 -acodec aac foo.mp4