Not to take anything away from pwnplayer, mplayer, and AVPlayer, which all work great on a jailbroken iPhone, but with a little work, you can use gtkpod and linux to add music and video to your iPod library. This works on a G3 iPhone running 2.2 firmware. Here's how, roughly:
- Upgrade you iPhone firmware. You need iTunes for this, unfortunately.
- Jailbreak your iPhone
- Install Openssh on your iPhone, so you can ssh into your iphone
- Install sshfs and gtkpod on your linux machine, i.e. sudo aptitude install sshfs gtkpod-aac
- Join a local network with your iPhone that's accessible to your computer. Find your iPhone's ip address under "Settings" on your iPhone
- Check that you can ssh into your iPhone
- Ssh into your iPhone and edit the file /System/Library/Lockdown/Checkpoint.xml as described here. You can use vi.
- Mount your iPhone via sshfs, i.e. sshfs root@192.168.1.101:/var/mobile/Media tmp
- Now open gtkpod and add a new ipod, pointing to your sshfs mount point (refer to screenshot below)
Thanks for the guys on #gtkpod on freenode for sending me to the
marcansoft.com link, which is the secret ingredient.