Converting .webm to mp3 audio file

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Converting .webm to mp3 audio file

Post by Gale Andrews » Fri Sep 02, 2016 9:19 pm

eager to learn wrote:OK, I installed Lame back in 9/2015. I tried opening the webm file in Audacity and got the error message that Audacity does not recognize webm – to try importing as Raw Data.
All LAME does is let you export MP3 files.

Import Raw Data is only for uncompressed audio data, not for videos.

To import WEBM videos, install or reinstall FFmpeg.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

eager to learn
Posts: 289
Joined: Wed Jul 25, 2012 6:46 pm
Operating System: Please select

Re: Converting .webm to mp3 audio file

Post by eager to learn » Tue Sep 06, 2016 4:01 pm

I have ffmpeg installed and Audacity has been working fine for editing.

I just get that weird message when I try to import a webm file.

I'm not at a PC with Audacity installed now so I can't can't check but which choices should be able to make to import the webm file?

I recall that wasn't an option when I clicked import which is why I chose Raw Data.

Can webm be imported as another term besides webm? Can if be imported under another terminology?

Thank you.

DVDdoug
Forum Crew
Posts: 9419
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Converting .webm to mp3 audio file

Post by DVDdoug » Tue Sep 06, 2016 5:31 pm

Can you play the file at all on your computer? You said VLC didn't work, right? ...Maybe the file is no good? Can you play it from the Internet? Like I said, if you can play it you should be able to record it as it's playing.
Can webm be imported as another term besides webm? Can if be imported under another terminology?
The internet says the audio in a webm file should be Vorbis or Opus. But, that probably won't help because there should be information in the file header telling the decoder (FFmpeg, etc.) what the format is, so you shouldn't have to do it manually. It's just like playing an audio or video file on your computer... You don't have to tell the computer what format you're playing...
I recall that wasn't an option when I clicked import which is why I chose Raw Data.
Compressed data is very similar to encrypted data and the raw compressed data just looks like (and sounds like) scrambled garbage (or noise) unless it's properly decoded. And with an audio/video file, you'd be converting the video data into sound which is also going to sound like random noise. You need the decoder (FFmpeg, etc.) to decompress the audio and separate it from the video.
I have ffmpeg installed and Audacity has been working fine for editing.
FFmpeg is for compressing/decompressing/converting files. It's not for "editing". If you open a compressed file in Audacity, it gets decompressed when you open it, and then Audacity can edit the de-compressed/reconstructed PCM data.
So, I did File>Import>Raw Data and it appeared in the purple area. I then chose File>Export>MP3 and it exported appearing as an mp3 file on my hard drive. When I tried to play that “MP3” file in VLC Media it’s just loud static noise, no music.
If the audio gets read & decompressed properly it should play from within Audacity. If it sounds like static when you play it in Audacity it's going to sound like static when you export it.

Post Reply