extract just the audio from webm files

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ToddAndMargo
Blank Cone
Blank Cone
Posts: 50
Joined: 07 Nov 2008 19:30

extract just the audio from webm files

Postby ToddAndMargo » 31 Aug 2011 01:28

Hi Guys,

How do i extract just the audio (*.ogg) from a *.webm file?

Many thanks,
-T

ToddAndMargo
Blank Cone
Blank Cone
Posts: 50
Joined: 07 Nov 2008 19:30

Re: extract just the audio from webm files

Postby ToddAndMargo » 31 Aug 2011 01:49

Never mind. Figured it out.

Ebbletart
New Cone
New Cone
Posts: 1
Joined: 14 Dec 2011 03:45

Re: extract just the audio from webm files

Postby Ebbletart » 14 Dec 2011 03:47

Care to post your solution?

Sorry, thread necro.

Edit: I solved this myself for ripping to mp3's in Linux using ffmpeg. If you're on Ubuntu, just do:

sudo apt-get install ffmpeg libavcodec-extra-52

then:

ffmpeg -i video.webm -ab 320k -ar 44100 song_title.mp3

You can substitute "320k" with whatever constant bit rate you want and you can change .mp3 to .ogg, although that appears to create an ogg video file rather than an ogg audio file.

hikingpete
New Cone
New Cone
Posts: 1
Joined: 24 Oct 2014 16:53

Re: extract just the audio from webm files

Postby hikingpete » 24 Oct 2014 17:03

I used the invocation below to force a straight copy of the audio into the same codec (vorbis) and disable video:
$ ffmpeg -i video.webm -acodec copy -vn audio.ogg

Sorry to resurrect such an old topic, but I just found this message (thanks google) and found it helpful.
Thanks.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests