Thu 10 May 2007
Free those YouTube videos
Posted by MagicFab under Advocacy, Audio, Drupal, English, Graphisme, Libre, Linux, Non-Libre, Save The Planet, Society, Tech, Ubuntu, Ubuntu Planet, Video
[16] Comments
Visit http://www.arrakis.es/~rggi3/youtube-dl/, read a bit (includes instructions for Windows users). Download the python script and also install ffmpeg2theora (See #2 at my Drupal Video Guide).
Then:
- Visit your favorite YouTube video
- Copy the URL to the clipboard
- In command line:
magicfab@suzy:~$ python youtube-dl.py http://www.youtube.com/watch?v=PcuF7S3r6gM Retrieving video webpage... done. Extracting video URL parameters... done. Video data found at http://lax-v11.lax.youtube.com/get_video?video_id=PcuF7S3r6gM Retrieving video data... 1897k of 1897k done. Video data saved to PcuF7S3r6gM.flv magicfab@suzy:~$
- Convert it (careful, those are TWO dashes before the optimize option):
magicfab@suzy:~$ ffmpeg2theora PcuF7S3r6gM.flv ––optimize Input #0, flv, from 'PcuF7S3r6gM.flv': Duration: 00:00:47.3, bitrate: N/A Stream #0.0: Audio: mp3, 22050 Hz, mono Stream #0.1: Video: flv, yuv420p, 320x262, 25.00 fps(r) Resize: 320x262 0:00:47.33 audio: 36kbps video: 305kbps magicfab@suzy:~$ - An .ogg corresponding file will be created in your current directory.
- Profit ?
update: youtube-dl has been packaged since Edgy. Install it using the standard Synaptic package manager or through apt-get in command line, by searching for the youtube-dl package.
usage: youtube-dl [options] video_url
16 Responses to “ Free those YouTube videos ”
Trackbacks & Pingbacks:
-
[...] 10, 2007 · Filed under Uncategorized Dari link ini, akhirnya dapet cara laen buat convert flash video (flv) ke format yang lebih [...]
-
[...] Rodríguez* presenta en su blog una forma fácil y cómoda de hacerlo desde la línea de comandos. Es interesante también porque dedicándole un poco de tiempo se puede hacer un script sencillo [...]
-
[...] vor einer Weile habe ich dazu eine kleine Anleitung bei Fabián Rodríguez gelesen und nachdem heute eine ähnliche Fragestellung auf UbuntuUsers.de aufkam, verewige ich das [...]
-
[...] Hi all, This one is a real beauty. Please read Fabián Rodríguez » Free those YouTube videos and the corresponding software page youtube-dl: Download videos from YouTube.com . I would be doing [...]
-
[...] l’interview en flash (désolé fab
) INN World Report [...] -
[...] de tot, necessites descarregar un script d’en Ricardo Garcia (que he trobat en un post d’en Fabián Rodríguez al planet anglès d’Ubuntu). Per a això, introdueix aquestes [...]
Hum… I usually go to keepvid: http://keepvid.com/ wich gives me the direct link for download.
Then I execute:
ffmpeg -i vid.flv vid.avi
But it’s less free
You can just install youtube-dl from the archive (since Edgy iirc).
I think it should be like this:
ffmpeg2theora PcuF7S3r6gM.flv -optimize
You missed one dash
Or just use one of the many existing browser extensions, like Ook Video Ook for Firefox, instead of messing around copy-pasting URLs to scripts.
There’s a typo: “ffmpeg2thepora” should be “ffmpeg2theora”
clive is better.
Some blatant advertising:
OggConvert is an easy-to-use GTK alternative to ffmpeg2theora — it uses GStreamer to do its stuff, so can convert pretty much every format that Totem can play.
Get it from http://oggconvert.tristanb.net
7. Respect the license.
(real hard to do on YouTube, where’s the license information?)
For Free content and Free software to flourish, we should really enforce this “respect the license” thing, so more creators will be educated and choose the conditions they decide to share their work under…
@Daniel: updated, thanks! I much prefer standard packages.
@mamatoshi: for some reason Wordpress think two dashes are the same than one ” m” dash. Still fighting with that, I put a warning. Tx!
@Tristan, keep them coming
@Sylvain: you must be talking about Terms of Use for YouTube, which are a different beast. Unless you feel licencing concerns and rules are different when using free formats.
Nice article
, if done a bash script that does both thinks with a single command, you can find it at http://utils.eurion.net/hosted/youtube. Just call it with the video ID, for example “youtube 8dUm7SkM3a4″.
— — — —
http://rainct.bloc.cat/post/8808/161856
[...] un script d’en Ricardo Garcia (que he conegut per un post d’en Fabián Rodríguez al planet anglès d’Ubuntu) [...]