Converting Webm audio file to mp3 or ogg

人走茶凉 提交于 2019-12-11 07:05:09

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/52655028/converting-webm-audio-file-to-mp3-or-ogg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!