[LAU] Stripping audio from YouTube .webm files

Julien Claassen julien at mail.upb.de
Wed Jan 9 23:50:50 UTC 2013


Hello Ivan!
   youtube-dl offers an option to automatically extract audio see:
youtube-dl --help
   youtube-dl --extract-audio -T URL
   should render a file with a name of the video and audio only. Youneed avconv 
and avprobe or ffmpeg and ffprobe for this to work.
   If you can't manage those tools, then ue mplayer. the -dumpaudio and 
-dumpfile options are your friends. Something like this should do the trick:
mplayer -dumpaudio -dumpfile output.ogg input.webm
   As far as I know, .webm has an OGG/Vorbis audio stream, so this should work. 
If not, I have a script to convert any mplayer-=supported file format into 
mp3.
   Warm regards
         Julien

----------------------------------------
http://juliencoder.de/nama/music.html


More information about the Linux-audio-user mailing list