zhuker / lamejs

mp3 encoder in javascript
Other
823 stars 200 forks source link

Codec: MPEG Audio layer 1/2 (mpga) #42

Open clpacheco90 opened 7 years ago

clpacheco90 commented 7 years ago

Hi guys,

When I create the buffer into a file using the lamejs and opennig on VLC player to see the media info the codec says I'm using MPEG Audio layer 1/2 (mpga). Is this a mp2 not a mp3, right?

How can I write using a mp3 codec? Sorry I'm a little confused about it.

DavidPetrasek commented 4 months ago

Do you use Firefox and Linux? Same happened to me. I tried it in Chrome, and it gave me .mp3 as it should. This is OS related. This fixes it: https://connect.mozilla.org/t5/discussions/audio-mpeg-saves-it-as-mpga-instead-of-mp3/m-p/42862/highlight/true#M15451