Visit Jeremy's Blog.
Go Back > Blogs > microsoft/linux
User Name


Rate this Entry

Randomness - iPod 30GB(5g) and linux

Posted 01-08-2006 at 11:15 PM by microsoft/linux

Ok, so I got a 30 GB iPod for christmas, and I have some decent sucess with linux. Below is how I've gotten it working with debian etch.

This guy apparently is a debian developer, and has made a patch for gtkpod to allow transfer of video. This is extremely useful. I use handbrake for video conversion.

First, I made a new directory to mount it on
# mkdir /mnt/ipod
I then added this to my fstab
/dev/sda2       /mnt/ipod       vfat    users,defaults                           0       0
I then downloaded gtkpod, and libgpod from here. These versions are patched w/ the patch mentioned above, and packaged into .debs(for convenience).
In order to get handbrake working(mentioned above), I needed nasm(Netwide Assembler), and it's not included in the debian repos. I downloaded the .rpm from the sourceforge site, and converted it using alien.

In order to compile handbrake, you need to run
# cd HandBrake
# ./configure
# jam
Just make sure you've got all the dependencies installed, or you'll find cryptic errors. Once you've got handbrake installed, and GTKpod recognizing your iPod you can run this script in order to quickly rip DVDs
# Filename is dvd2ipod
# $1 - output filename
# $2 - title number
handbrake -f mp4 -i /dev/cdrom -o $1 -t $2 -e ffmpeg -E faac -w 320
I found it online, and changed it a little bit in order for it to match my DVD drive. You can find it, and instructions as to how to use it(even though it's pretty self explanatory)[url=]here[/url

I use sound-juicer in order to rip CDs, with lame for mp3 stuff. In order to mp3 support for sound juicer run
$ gnome-audio profiles-properties
Click 'New' and give the new profile a name(I used mp3). Then click 'Edit'(once the mp3 profile is highlighted) and fill in the fields. You can pretty much put anything for the first two. For the 'Gstreamer Pipeline' field I've got
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192
Feel free to change the bitrate to whatever you use. Oh yeah, make sure the fourth field, 'File Extension' reads "mp3".

I really hope this helps some people, as it took me a while to figure this out, and I don't want anyone to have to experiance it :)
Posted in Uncategorized
Views 2114 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 04:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration