• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Display USB Video Camera output : AVFoundation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display USB Video Camera output : AVFoundation?


  • Subject: Display USB Video Camera output : AVFoundation?
  • From: Gordon Apple <email@hidden>
  • Date: Thu, 10 Sep 2015 09:50:11 -0500
  • Thread-topic: Display USB Video Camera output : AVFoundation?

First, yes, AVFoundation is the way to go.

Second, you can use AVCaptureView or AVCaptureVideoPreviewLayer. II
recommend that you don¹t subclass AVCaptureVideoPreviewLayer, but rather
embed it in your own custom CALayer. That gives you more freedom of control,
and if you want to do things like clipping and add shadows, you can do it.
Otherwise the capture layer will clip the shadows.

Our (still unreleased) application allows any number of cameras to be used
simultaneously, with individual display parameters. You can even (installing
their driver) use a $5 app, PocketCam, as a wireless remote video camera
input.


On 9/10/15 4:42 AM, "email@hidden"
<email@hidden> wrote:

> In a Mac app, I need to display real-time video (as in ³movies²) from a USB
> camera on the screen.  Can someone please confirm that AVFoundation the way to
> go? I¹ve read that QTKit is deprecated but, oddly, I cannot find any mention
> of deprecation here in the QTKit Programming Guide:
> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/QTKitAp
> plicationProgrammingGuide/ Thank you, Jerry


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Display USB Video Camera output : AVFoundation?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: StackViews and XCode 6.4
  • Next by Date: SOAP Server library/framework for Objective C
  • Previous by thread: Re: Display USB Video Camera output : AVFoundation?
  • Next by thread: Re: Display USB Video Camera output : AVFoundation?
  • Index(es):
    • Date
    • Thread