Re: [LAU] Stripping audio from YouTube .webm files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ivan K <ivan_521521@...>
Cc: Linux-audio-user@lists.linuxaudio.org <Linux-audio-user@...>
Date: Wednesday, January 9, 2013 - 11:50 pm

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Stripping audio from YouTube .webm files, Ivan K, (Wed Jan 9, 11:39 pm)
Re: [LAU] Stripping audio from YouTube .webm files, Monty Montgomery, (Wed Jan 9, 11:59 pm)
Re: [LAU] Stripping audio from YouTube .webm files, Monty Montgomery, (Thu Jan 10, 12:18 am)
Re: [LAU] Stripping audio from YouTube .webm files, Julien Claassen, (Thu Jan 10, 12:02 am)
Re: [LAU] Stripping audio from YouTube .webm files, Julien Claassen, (Wed Jan 9, 11:50 pm)
Re: [LAU] Stripping audio from YouTube .webm files, Patrick Shirkey, (Wed Jan 9, 11:50 pm)