AVFoundation以MP4格式录制视频
我正在使用AVFoundation在IOS 5上录制视频.我希望内容在MP4容器中.我一直在搜索,找不到一条指定用于记录视频的格式的消息.我宁愿在第一张照片上记录到MP4文件中,而不是将其记录到mov文件中,然后在单独的mp4中将其重新编码经过.有人知道该怎么做吗?
I am using AVFoundation to record video on IOS 5. I would like the content to be in an MP4 container. I have been searching around and cannot find a message that specifies the format to record the video in. I would rather record to the MP4 file on the first shot instead of recording it to a mov file and then reencode it in a mp4 on a separate pass. Does anyone know how to do this?
我在上面说要录制到mov时就在上面猜测.它记录到的默认文件格式是什么?
I guessed above when I said it records to a mov. What is the default file format it records to?
我通常对AVFoundation和IOS还是陌生的,因此,如果其中的一些显而易见,并且很难找到它,请原谅.
I am new with AVFoundation and IOS in general so please excuse me if some of this is obvious and I am having difficulty finding it.
谢谢您的帮助