I am currently working on a Chromebook application where I have to record an audio file with record/pause/resume features and then save the file in mp3 or ogg format. I am using mediaRecorder API to record the audio successfuly but the default file format Chrome supports is webm. I would like to know or get any help to convert/encode webm audio file to mp3 or ogg format using javascript to I could play it in any browser. I would be happy to share the code.
Asked
Active
Viewed 1,845 times
1
-
1https://github.com/higuma/mp3-lame-encoder-js – dandavis Oct 04 '18 at 21:24
1 Answers
3
For everyone who is still looking for an answer. I was using AWS S3 to upload the files, so I used AWS Elastic Trascoder to convert the files on the AWS from webm to mp3 format.
![](../../users/profiles/5347546.webp)
Subin
- 343
- 1
- 11