by jesse

YouTube.comEver wondered if you could burn YouTube movies on a cd to give them away? No problem with linux :)

All you need is (media-video/)ffmpeg and VideoDownloader for firefox and you’re ready to go!

Just download the .flv of a youtube (or whatever) movie via the firefox extension (new icon in the statusbar). Then open a term and type

$ ffmpeg -i sourcevid.flv -ar 48000 -ac 2 target.avi

Wohoo, that’s it :) Now you can use, e.g. (app-cdr/)k3b, to burn it on a cd or just store it somewhere for later use.

By the way, if you’re not into firefox, you may want to take a look at youtube-dl, a small command-line program to download videos from YouTube.com (requires the Python interpreter, version 2.4 or later, and it’s not platform specific). youtube-dl is actually quite nice! check out pornotube-dl also ;D