将带有 amr_nb 音频编解码器的 .mov 包装器转换为 aac/mp4a 编解码器
我正在尝试为跨平台(Android/iPhone)应用程序实现视频消息功能。 目前,Android 上的应用程序以 .mov 包装器录制 AMR 窄带视频,iPhone 无法播放该视频。后端是centos 5.5,我想知道ffmpeg对于转码是否有用。
I am trying to implement a video messaging feature for cross platform(Android/iPhone) app.
Currently, the app on Android records the video with AMR narrowband in .mov wrapper and iPhone cannot play this video. The backend is centos 5.5 and I am wondering if ffmpeg is useful for transcoding this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,ffmpeg 应该能够进行转码。确保您构建的 ffmpeg 支持 AMR 和 H.264/AAC,然后您将能够使用类似于以下的命令进行转换:
This mp4 should play on both android and iphone。
Yes, ffmpeg should be able to do the transcoding. Make sure you build your ffmpeg with support for both AMR and H.264/AAC and then you'll be able to convert using a command similar to this:
This mp4 should play on both android and iphone.