[LAU] Stripping audio from YouTube .webm files

Patrick Shirkey pshirkey at boosthardware.com
Wed Jan 9 23:50:36 UTC 2013

On Thu, January 10, 2013 10:38 am, Ivan K wrote:
> I am able to download .webm files from YouTube with the
> youtube-dl utility.
> Now, I would like to be able to take just the
> audio track of such a file and write it to a .ogg or .mp3
> file.  Can someone coach me how to do this?
> Thank you for your help.

ffmpeg should allow you to take the audio track.

ffmpeg -i “whatever.format” -vn -ac 2 -ar 44100 -ab 320k -f mp3 output.mp3

Patrick Shirkey
Boost Hardware Ltd

More information about the Linux-audio-user mailing list