我正在开发一个应用程序,我正在尝试使用 AVCaptureSession 类录制视频...我遇到了一些像这样的好教程
i am developing an application in which i am trying to record a video using AVCaptureSession class...i came across a few good tutorials like this one
http://www.benjaminloulier.com/posts/2-ios4-and-direct-access-to-the-camera
但在这些教程中,只从视频帧中捕获图像,而我想录制一个完整长度的视频,我可以将其保存在我的设备中或将其上传到我的服务器....我如何使用 AVFoundation 来实现这一点框架??
but in these tutorials only capturing images from the video frames is done while i want to record a full length video which i can either save in my device or upload it to my server....How can i achieve this using AVFoundation framework??
查看 WWDC 2010 的示例代码 http://developer.apple.com/videos/wwdc/2010/ 例如 AVCamDemo.
Check out the sample code from the WWDC 2010 http://developer.apple.com/videos/wwdc/2010/ for example the AVCamDemo.
登录到您的 iPhone 开发者帐户(带有免费下载 WWDC 2010 会议视频"的框),然后您会看到一个新页面,您可以在其中单击在 iTunes 中查看",然后在 iTunes 中(!)您将获得链接到 WWDC 2010 示例源代码...或者您可以尝试链接
Login to your iPhone developer account (the box with "Download WWDC 2010 Session Videos for Free") then you see a new page and there you can click on "View in iTunes" and then in iTunes(!) you get the link to the WWDC 2010 example source code... or you can try the link
http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?code=y&source=x&bundleID=20645
但要下载源代码,您还必须登录您的开发者帐户.
but to download the source code you must also login to your developer account.
这篇关于使用 AVFoundation 框架(AVCaptureSession)在 iPhone 中录制视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!