Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个音乐排行榜应用程序。
作为音频播放器,我想使用html5 audio,但是有一个问题。
首先,并非所有浏览器都支持带有html5 音频的mp3。
我想问一下:
在服务器上将音频从mp3转换为ogg是个好主意吗?
因为,我希望允许用户只上传mp3 文件,然后我会将mp3 文件转换为 ogg格式并将它们都存储在服务器上。我无法想象这样一个过程需要多少资源(CPU、RAM)。
作为第二个变体,我认为使用jPlayer,它支持 Flash 解决方案。
您可以使用 ffmpeg 将 mp3 转换为 ogg。
哟可以在线转换流,并发布2流,带mp3和ogg
何塞