简体   繁体   English

iPhone视频录制

[英]iPhone video recording

I have to record the video in iPhone by invoking camera programmatically. 我必须通过以编程方式调用相机来在iPhone中录制视频。 So kindly tell me how to record the video using Objective-c. 因此,请告诉我如何使用Objective-c录制视频。

Recording Video in iPhone using AVFoundation Framework(AVCaptureSession)? 使用AVFoundation Framework(AVCaptureSession)在iPhone中录制视频?

Similar question. 类似的问题。 You can control the camera device programmatically using the AVFoundation framework, and more specifically, AVCaptureSession with an AVCaptureDeviceInput and AVCaptureVideoDataOutput . 您可以使用AVFoundation框架(更具体地说,是具有AVCaptureDeviceInputAVCaptureVideoDataOutput AVCaptureSession以编程方式控制摄像头设备。

This link might also help, there is a link to some source code using AVCaptureSession on that page too. 该链接也可能有帮助,该页面上也有使用AVCaptureSession一些源代码的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM