SearchForecast Marketplace

Ubuntu YouTube to IPOD Part 1 – Downloading and converting YouTube Video’s to iPOD MP4 Format

Posted by: dragonblogger  //  Category: Internet, Technology, Ubuntu





I 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

Screenshot from YouTube:
YouTube Tantric

  • 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.

  1. Open a Terminal Window
  2. Type “sudo apt-get install clive”
  3. 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.

  1. Open a Terminal Window
  2. sudo apt-get autoremove ffmpeg
  3. Say yes to any prompts
  • Step 3 – Download and Compile ffmpeg
  1. Open a Terminal Window (make sure you are in a folder for downloads and such)
  2. 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
  3. apt-get source ffmpeg
  4. cd ffmpeg-*/
  5. ./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
  6. make
  7. 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
  1. Download the winff Debian installer package right here by clicking on Google Code WinFF Debian Package
  2. Save it to your downloads directory
  3. Open up the file or double click on it should open the Package Manager
  4. 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

  1. Open a Terminal Window
  2. create a folder for your FLV files
  3. mkdir flv
  4. cd flv
  5. 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:
Clive screenshot

  • Converting FLV Movies to MP4 with WinFF
  1. Open a Terminal Window
  2. Type “winff”
  3. This should open the WinFF program
  4. Click on the “+ Add” button to add all of your files
  5. Select “IPOD” in Convert TO drop down
  6. Select “H.264 for IPOD” in the right drop down. (Alternatively you could just select MP4 and 16:9 WideScreen)
  7. Select your output folder
  8. Click the “Convert” button

Sit back and wait, it takes about 5-10 minutes per video depending on how fast your system is.

Screen print of WinFF
WinFF Screenshot

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:

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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....


If you enjoyed this post, subscribe to DragonBlogger.com
via FaceBook, Twitter, RSS or Email
or
Enter your email and subscribe now!
Email:

Written by dragonblogger (1110 Articles Published)

Working in the IT Industry for over 10 years and specializing in web based technologies. Dragon Blogger has unique insights and opinions to how the internet and web technology works. An Avid movie fan, video game fan and fan of trying anything and everything new.

Follow dragonblogger on Twitter @dragonblogger

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

8 Responses to “Ubuntu YouTube to IPOD Part 1 – Downloading and converting YouTube Video’s to iPOD MP4 Format”

  1. zalayeta (1 comments) Says:

    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]

  2. Maha (1 comments) Says:

    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]

  3. dragonblogger (1957 comments) Says:

    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]

  4. Enjoy FREE Games & Win an iPod (1 comments) Says:

    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 My ComLuv Profile

    [Reply]

  5. inapaler from DeskTube (2 comments) Says:

    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 My ComLuv Profile

    [Reply]

  6. Richard from How To Videos (7 comments) Says:

    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 My ComLuv Profile

    [Reply]

    nikos (1 comments) Reply:

    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]

  7. excellentuk (1 comments) Says:

    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]

Leave a Reply

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Comments links could be nofollow free.