In light of the new iPodME tool that was released, I figured I would contribute something of my own to the linux ipod (touch) users. I have been slowly tweaking and perfecting this tool for about 2 years. I started out with a simple script and over time continued to add features and tweak settings. Right now these scripts are setup for the ipod touch, but they can easily be switched to the 5G (if that's your thing) or any other device that can play videos. The first script is just a utility i use to recalculate optimal size (to preserve the aspect ratio). It's pretty simple, but it works quite well. the script requires that aviresize is installed (avifile-utils on debian/ubuntu) ipodresize The second script is the encoder script, the idea is that it simplifies the process by making your command as short as possible by using preset values that have aleady been optimized. Note that the preset values are optimized for file size, which means that it will look and sound good on the ipod, but it probably won't look good if it is sized any bigger or used with large speakers. If this is something that is desired routinely, simply update the preset values to that of your liking. This script requires that ffmpeg is installed and properly configured. This can be a little difficult, i have a thread on ubuntu forums that goes through it fairly well but i think it is a little dated, worth a look tho if you are having trouble. Your best bet is to find a binary that is already properly built, im sure there is one somewhere out there. ipodvidenc Now these scripts are far from idiot proof, i usually trust myself not to intentionally try and break it. That said, you may need to tweak some of the settings to your own liking, but for the most part i would leave them alone. However, if you do think that some value is grossly under or over valued please let me know I am always interested in making my encodes better (or faster). NOTE: in version 1.1 of ipodvidenc, you are no longer required to explicity call ipodrename to get size and aspect ratio values, the script will call ipodresize on its own (make sure it is in the PATH). Here are two examples on how to use these scripts. The first is a simple one file encode, the second a multi file encode, and the third is a directory encode. Code: ipodvidenc "Some Awesome Move.avi" for i in "Movie 1.avi" "Movie 2.avi" "Movie 3.avi"; do ipodvidenc "$i"; done for i in *.avi; do ipodvidenc "$i"; done Coming up in version 1.2: * better design that will allow >2 pass encodes cheers.