Rip YouTube videos/audio

By | 5 Dec 2009

The tools you need are described on blog.joff3.com. There’s also the nice youtube-dl package. One thing I noticed: the ffmpeg command there re-encodes the audio which might loose some quality. To just dump the audio off the Flash video, use:

ffmpeg -i somevideo.flv -acodec copy output.mp3Code language: CSS (css)

This is for 240px videos. All larger ones use AAC format. Use this:

ffmpeg -i somevideo.flv -acodec copy output.aac
ffmpeg -i somevideo.mp4 -acodec copy output.aacCode language: CSS (css)

If you happen to have the latest webm format, use this:

ffmpeg -i somevideo.webm -vn -acodec copy output.oggCode language: CSS (css)

This will just extract the audio track without doing anything to it.

You could also try vixy.net.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.