Evan Martin (evan) wrote in evan_tech,
Evan Martin

youtube download / ubuntu breezy ffmpeg mpeg4 support

To convert from the Flash video format found on sites like YouTube (fetch /get_video?video_id=... to get it), you can use ffmpeg like this:

ffmpeg input.flv -vcodec mpeg4 -acodec mp3 output.avi

Unfortunately, Ubuntu Breezy doesn't have the mpeg4 support compiled into ffmpeg. But it's really easy to do, and the lesson applies more generally. From the comments on this post:

sudo apt-get build-dep ffmpeg
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev checkinstall fakeroot
DEB_BUILD_OPTIONS=risky fakeroot apt-get source ffmpeg --compile
sudo dpkg -i *.deb

[PS: most jargon-laden subject ever!]
Tags: debian, howto, ubuntu

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.