LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > microsoft/linux
User Name
Password

Notices

Rate this Entry

Randomness - iPod 30GB(5g) and linux

Posted 01-09-2006 at 12:15 AM 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
Code:
# mkdir /mnt/ipod
I then added this to my fstab
Code:
/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).
<!--break-->
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
Code:
# 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
Code:
#!/bin/bash
# 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=http://virtuallyshocking.com/2005/10/28/encoding-movies-for-the-ipod-video-using-linux/]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
Code:
$ 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
Code:
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 2027 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement

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