iPhone相机录制FPS

use*_*749 2 iphone camera

有没有办法迫使iPhone以30fps录制,无论光线条件如何?

有没有办法迫使iPhone相机通过降低分辨率以更高的fps录制?

除了分析录制的流之外,找出iPhone FPS的最佳方法是什么?

我的主要目标是iPhone4或4S.

Poc*_*chi 7

您可以使用最小/最大帧持续时间来设置帧记录速率:

https://developer.apple.com/library/mac/#documentation/AVFoundation/Reference/AVCaptureConnection_Class/Reference/Reference.html

您必须使用AVFoundation手动配置捕获:

https://developer.apple.com/library/mac/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html#//apple_ref/doc/uid/TP40010188-CH5-SW17

关于寻找的方式,我不知道,但我分析视频流.

你可以从这段代码中看到它是如何完成的:

http://aptogo.co.uk/2011/09/face-tracking/

(只需检查视频捕获的委托方法,您会立即注意到它,因为它在整个部分都有FPS,它确实说//更新FPS计算)

编辑:

以前链接的文档是针对mac os的,在这种情况下它们是有效的,但这里是iOS版本:

AVFoundation类引用. https://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html

Connection类引用(设置fps). https://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVCaptureConnection_Class/Reference/Reference.html