Ubuntu YouTube to IPOD Part 1 – Downloading and converting YouTube Video’s to iPOD MP4 Format
Posted by: dragonblogger // Category: Internet, Technology, UbuntuI have spent more than three days gathering and finding the best and most efficient way to download YouTube video’s and convert them from FLV to MP4 format so that they can be transferred to an iPOD. I have finally found what I think is the easiest method, though it takes some work to setup initially, once you get the programs installed, it is a very simple process to download and convert videos going forward.
The software we are going to talk about and download includes:
CLIVE
FFMPEG
WINFF
These instructions were written and performed on Ubuntu Hardy Heron, if you are using Gutsy Gibbon or an older version, you may need to follow some of the links I have posted in the end for additional assistance.
For these instructions I downloaded a Tantric Video for Down and Out posted on YouTube.
http://www.youtube.com/watch?v=n_EUvSN2gul
- Step 1 – Download and install CLIVE
CLIVE is a command line utility that will download video’s from YouTube and Google Video Web Sites. It is very easy to use and simplistic in instruction. It supposedly has the ability to convert videos using ffmpeg, but I was not able to get this feature working at all so I use the program only to download my online video’s.
To install CLIVE, it should exist in the ubuntu archives and easily retrievable with apt.
- Open a Terminal Window
- Type “sudo apt-get install clive”
- Say yes for all dependant packages if there are any
Once you have clive installed, you can immediately start downloading online video’s, but lets wait to install the rest of the programs.
- Step 2 – Remove all traces of existing ffmpeg if you have any
The ffmpeg included in the Ubuntu Depot does not have the H.264 or AAC encodings and therefore cannot encode video. We need to download the source code for ffmpeg and compile our own with the proper options. This means we have to remove ffmpeg if we already have it installed.
- Open a Terminal Window
- sudo apt-get autoremove ffmpeg
- Say yes to any prompts
- Step 3 – Download and Compile ffmpeg
- Open a Terminal Window (make sure you are in a folder for downloads and such)
- sudo apt-get install liblame-dev libfaad-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libdts-dev libx264-dev libx264-57 checkinstall
- apt-get source ffmpeg
- cd ffmpeg-*/
- ./configure –enable-liba52 –disable-debug –enable-libfaad –enable-libfaac –enable-gpl –enable-x264 –enable-xvid –enable-pthreads –enable-libvorbis –enable-pp –enable-libtheora –enable-libogg –enable-libgsm –enable-swscaler –disable-debug –enable-shared –prefix=/usr
- make
- sudo make install
These above instructions should work and were compiled from https://wiki.ubuntu.com/ffmpeg, I added some extra libraries, and compressed the instructions. If you are using any version other than Hardy Heron 8.04, then you should refer to the Ubuntu ffmpeg Wiki for instructions on this step.
- Step 4 – Download and install WinFF
- Download the winff Debian installer package right here by clicking on Google Code WinFF Debian Package
- Save it to your downloads directory
- Open up the file or double click on it should open the Package Manager
- Click Install
Okay, now that you have complete the setup and installation of the 3 main programs needed, the rest is very easy. You have downloaded, installed and configured CLIVE, FFMPEG and WINFF. So now you can be ready to download YouTube or Google Video movies and Convert them from FLV to iPOD MP4.
- Downloading Movies with CLIVE
All you need to do is find your YouTube movies and copy the URL, as mentioned above the Tantric Down and Out video was used for this example:
http://www.youtube.com/watch?v=n_EUvSN2gul
- Open a Terminal Window
- create a folder for your FLV files
- mkdir flv
- cd flv
- clive <URL>
(the video will now download and drop in the folder you were in when you ran the command)
Screen Print of CLIVE downloading the Video:

- Converting FLV Movies to MP4 with WinFF
- Open a Terminal Window
- Type “winff”
- This should open the WinFF program
- Click on the “+ Add” button to add all of your files
- Select “IPOD” in Convert TO drop down
- Select “H.264 for IPOD” in the right drop down. (Alternatively you could just select MP4 and 16:9 WideScreen)
- Select your output folder
- Click the “Convert” button
Sit back and wait, it takes about 5-10 minutes per video depending on how fast your system is.
Now that you are done, I am working on building instructions on how to sync that MP4 video to your iPOD. I have yet to find software that does this correctly, Mozilla Songbird doesn’t work. So stay tuned for Part 2, when I figure this out.
-Dragon Blogger
Related posts:
- Downloading YouTube Video’s to your iPOD Nano I was asked by a friend on how to get youtube and other downloaded video’s ported over to their iPOD...
- Mozilla Songbird – Managing your iPOD with Ubuntu Hardy Heron One of the laptops in my house is running Ubuntu Hardy Heron. For those who don’t know this is a...
- Creating Music CDs from MP3 Files with Ubuntu Hardy Heron There is such an easy way to take your MP3 files and burn them to your own custom music CD...
- Spaz One Adobe Air Twitter Client For Ubuntu Linux My wife’s company is now on Twitter @rockalong and I didn’t want my wife to have to keep using the web...
- Ubuntu Linux: Printing to a Non-Post Script Printer Sharing a printer in Windows XP or Vista so that Unix or Ubuntu can print to it....
| via FaceBook, Twitter, RSS or Email | ![]() |
Enter your email and subscribe now!
Tags: avi, convert flv to ipod, convert flv to mp4, download video, download youtube, flv, google, google video, h.264, hardy heron, ipod, ipod and ubuntu, linux flv, linux ipod, linux mp4, mp4, ubuntu, ubuntu download video, ubuntu download youtube, ubuntu flv, ubuntu ipod, ubuntu mp4, youtube, youtube download, youtube mp4, youtube to mp4











September 25th, 2008 at 4:08 pm
did you try with pytube to download and covert, plus amarok to upload tothe ipod

this way it s working so easy to me
[Reply]
November 25th, 2008 at 6:39 am
i found your blog really helpful. i appreciate your effort.
winFF worked really good when i converted *.flv files to *.mpeg
but when i tried the option that converts to .mp4
and the ipod option
it doesn’t convert!
any ideas why?
[Reply]
November 25th, 2008 at 6:59 am
My bet is it has something to do with your version of FFmpeg which WinFF uses missing some key libraries –
./configure –enable-liba52 –disable-debug –enable-libfaad –enable-libfaac –enable-gpl –enable-x264 –enable-xvid –enable-pthreads –enable-libvorbis –enable-pp –enable-libtheora –enable-libogg –enable-libgsm –enable-swscaler –disable-debug –enable-shared –prefix=/usr
You can see which libraries it has compiled by versioning it, if you are unsure build it with the above steps.
[Reply]
September 10th, 2009 at 1:03 pm
Merely assesing this post’s content one couldn’t but conclude that you have put a good job in for this. I mean with this one one needs not have problems converting YouTube to Ipod.
Enjoy FREE Games & Win an iPod´s last blog ..Trend Micro Proves Leadership in URL Filtering and Web Security
[Reply]
September 18th, 2009 at 8:16 pm
this is another good tool!
thanks for sharing it.
downloading video from youtube are fun! this will surely help me.
inapaler@DeskTube´s last blog ..Land page
[Reply]
March 30th, 2010 at 5:37 am
Dragon Blogger,
I have not come across these tools; I’ll have to give them a try. As I wrote in the article How Do I Get YouTube Videos On My iPod, I use the YouTube Downloader and it worked very well for me if any of your guests want to try that.
Cheers,
Richard
Richard@How To Videos´s last blog ..How Do I Save YouTube Videos On My Computer
[Reply]
April 30th, 2010 at 4:02 am
I use downloadhelper (a firefox addon) with an unstripped build of FFmpeg (https://wiki.ubuntu.com/ffmpeg) for the conversion.
This is realy usefull, I can download video from almost any site.
The download and the conversion are made by downloadhelper as explain in http://www.downloadhelper.net/conversion-manual.php#install-other
[Reply]
May 22nd, 2010 at 1:26 am
nice tool.
but i am using Brorsoft YouTube Converter which can help me to free download youtube videos and also help me to convert youtube videos to other formats i need,eg convert to mp4 to put on my iphone.
[Reply]