iPod

I was trying to get Songbird to recognise my ipod and it wouldn't because the ipod was automounted under /media. I put the UUID of the iPod_Control partition in my fstab. I used blkid to get the UUID of that partition. [root@server0 ~]# blkid /dev/sdc2 /dev/sdc2: LABEL="IPOD" UUID="ABCD-1234" TYPE="vfat" I then put the UUID in fstab UUID=ABCD-1234 /mnt/ipod vfat user 0 0 After this, I ejected the iPod using "eject /dev/sdc". Reinserting the iPod i then mounted the iPod using "mount /mnt/ipod". After all that I restarted…



I have a DVD from which I wish to extract an audio clip. I used the raw VOB files and mplayer. The clip I wanted is 37 seconds long and starts 18 minutes and 53 seconds into the first VOB file.
mplayer -ss 18:53 -endpos 37 -vc null -vo null -aid 128 -ao pcm:file=vts.wav VTS_01_1.VOB The important thing to note is that the end position (-endpos) is relative to the start position (-ss). This gives me a WAV file that I could use right away, but I wanted an MP3 for my iPOD.
lame vts.wav vts.mp3 Now I have an mp3 of the audio clip…



Symptom: iPod is blinking "Do Not Disconnect" even after you've umounted the filesystem. You need to eject the iPod. Umounting is not enough. You need to send an ALLOW_MEDIUM_REMOVAL to the usb device. The easiest way is with eject. Depending on your system, you may need to be root, or allow suid on eject (chmod u+s `which eject`). I've found that suid on eject is the most consistent solution, but I don't like suid executables on the system. sudo should also work, but I haven't tested this yet.

There is a patch in the recent eject that…



There is an excellent package for working with an iPod on Linux. gtkpod. Since version 0.99.2 it supports importing of Video's To install gtkpod, you'll need libgpod. With both installed, you can run gtkpod (it'll be in your menu under Sound & Video, called iPod Song Manager) and tell it where your system mounted your iPod. On my machine the mini mounts to /media/ipod and the video mounts to /media/usbdisk. gtkpod 0.99.4…



My co-worker just got an iPod so I thought I would try and encode a DVD onto it (an unencrypted DVD that I own, for backup purposes only, not to be used for public performances, etc, only I looked at it, I shut it off when someone looked over my shoulder...blah blah). The ffmpeg that comes stock on RHEL4 is insufficient to do the transcoding. I built a newer version and mucked around a bit and got this going. I have a simple wrapper (there are numerous versions of such scripts floating around).

ffmpeg-20060306…