如何在ios设备上将mov转换为mp4 [英] How can I convert mov to mp4 on ios device

查看:443
本文介绍了如何在ios设备上将mov转换为mp4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写应将mov文件转换为mp4的ios应用程序。有没有办法使用AVFoundation或类似的东西?

I am writing ios app that should convert mov file to mp4. Is there any ways to that using AVFoundation or something similar?

我将非常感谢你的帮助!

I will really appreciate your help!

谢谢!

推荐答案

您需要进行AV媒体转码,还是只需更换容器?标准(非流媒体)MOV容器将/应该与MP4容器兼容(从iOS检查一些测试文件显示它们是相同的)。因此,您可以将文件重命名为MP4。这确实假设MP4容器支持容器中的介质。仅供参考,MP4的ISO规范基于Quicktime文件格式。此外,如果您要在设备上录制媒体,则可以选择MP4作为媒体的容器。

Do you need to do AV media transcoding, or just change the container? A standard (not streaming) MOV container will/should be compatible with a MP4 container (inspection of a few test files from iOS show they are identical). So it is possible that you could just rename the file to MP4. This does assume the media in the container is supported by the MP4 container. FYI, The ISO spec for MP4 is based on the Quicktime file format. Also, if you are recording the media on the device then you can select MP4 as the container for the media.

这篇关于如何在ios设备上将mov转换为mp4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆