duanlv1366
2012-08-13 08:29
浏览 203
已采纳

通过命令行将*(mp3,m4p等)转换为OGG,以实现HTML5兼容性

What options do I have for converting MP3's to OGG on the fly using PHP? I assume the only way to do this is via the command line with an execute statement. Is this true? If so, what converters (and associated commands) would I be best off using?

I have tried:

oggenc2.exe but was told by the program that the MP3 I passed was not a valid filetype

ffmpeg.exe but was unable to figure out how to go from mp3 to ogg (found how to go from ogg to mp3 though)

Convert mp3 to ogg via php

图片转代码服务由CSDN问答提供 功能建议

我有什么选择可以使用PHP动态地将MP3转换为OGG? 我假设唯一的方法是通过带有execute语句的命令行。 这是真的? 如果是这样,我最好使用哪些转换器(和相关命令)?

我尝试过:

oggenc2.exe但被告知 我通过的MP3程序不是有效的文件类型

ffmpeg.exe但无法弄清楚如何从mp3转到ogg(虽然找到了如何从ogg转到mp3)

通过php将mp3转换为ogg

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

相关推荐 更多相似问题