• 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
How to capture a video stream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to capture a video stream


  • Subject: How to capture a video stream
  • From: email@hidden
  • Date: Sun, 02 Dec 2012 23:02:02 -0700
  • Importance: Normal

I have been digging for a couple of weeks now and I have progressed to the
point where I have the AVCaptureDevice and the session.

Here's what I need help/guidance/assistance on:

I want to capture the video images from which ever camera device I select
and using those images, real time, take the image and pass the bytes to a
java program.

What I can't seem to figure out is how to get the images real time, like
preview does.  I am trying to emulate how the QuickTime API worked using
AVFoundation to capture the images and pass them to my java program.

The JNI portion I already have figured out.

I have initialized the AVCaptureSession.  I have the list of
AVCaptureDevices.  I can select one of the Capture Devices.  I can start
the AVCaptureSession using [session startRunning];.  I can't figure out
the next portion to get the images from the device.

Can anyone tell me what the next steps are?  Any snippets of code that I
can look at?  I'm sure I'm not the first to try to do this.

Thanks in advance.
_______________________________________________

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: How to capture a video stream
      • From: Quincey Morris <email@hidden>
    • Re: How to capture a video stream
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Objective C blogs?
  • Next by Date: NSImage issue in 10.6
  • Previous by thread: Re: Objective C blogs?
  • Next by thread: Re: How to capture a video stream
  • Index(es):
    • Date
    • Thread