2010-08-10 581 views

回答

1

与ffmpeg你也只能转换MP3文件(无视频)。 Just use:

ffmpeg -i yourmp3.mp3 ...your arguments... output.mp3 
+0

可以请给我一些示例命令..将不胜感激.. – Saurabh 2010-08-10 12:37:35

+0

ffmpeg -i -acodec libmp3lame -ar 48000 -ab 64k 但是,为什么你的mp3不支持Apple的协议?我从未在我的iPhone上看到过一个不符合协议的iPhone(在Safari中)? – elslooo 2010-08-10 13:26:54

+0

我的mp3在iPhone上正常工作,但问题是应用程序必须是HIG兼容的。通过蜂窝网络发送大量音频或视频数据的iPhone和iPad应用程序需要使用HTTP Live Streaming。 http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29 – Saurabh 2010-08-10 13:31:46

0

要添加到蒂姆的答案,HLS支持MP3编解码器。所以,如果你的音频已经在MP3,所有你需要的是分段器

+0

Segmenter ?你能详细说明吗? – frostymarvelous 2016-03-03 17:20:27

+0

在使用ffmpeg的本机功能输出m3u8文件之前,您需要第三方分段器来完成。一个例子[这里](https://github.com/johnf/m3u8-segmenter/blob/master/README.md) – 2016-03-08 00:53:50