¡@

Home 

2014/10/15 ¤U¤È 10:04:27

iphone Programming Glossary: avcapturevideopreviewlayer

Upload live streaming video from iPhone like Ustream or Qik

http://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik

captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer.. make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning..

AVCaptureVideoPreviewLayer: taking a snapshot

http://stackoverflow.com/questions/3397899/avcapturevideopreviewlayer-taking-a-snapshot

taking a snapshot I'm trying to emulate the animation seen in the default camera app where a snapshot of the cameras viewfinder.. the default camera app where a snapshot of the cameras viewfinder is animated into the corner of the apps display. The AVCaptureVideoPreviewLayer object that holds the key to solving this problem isn't very open to these requirements trying to create a copy of it in.. Apple started rejecting apps that use this function it was always iffy . Aside from these I also tried playing with AVCaptureVideoPreviewLayer . There's this post to save a UIView or CALayer to a UIImage. But it all produces clear or white images. I tried accessing..

How to properly release an AVCaptureSession

http://stackoverflow.com/questions/3741121/how-to-properly-release-an-avcapturesession

that reliably tells me that the AVCaptureSession has finished Here's my code Declarations AVCaptureSession session AVCaptureVideoPreviewLayer previewLayer UIView view Setup of instances AVCaptureDevice camera AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo.. augm_reality NULL output setSampleBufferDelegate self queue queue dispatch_release queue previewLayer AVCaptureVideoPreviewLayer layerWithSession session retain previewLayer.frame view.bounds view.layer addSublayer previewLayer session startRunning..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

self.captureSession addInput captureInput self.captureSession addOutput captureOutput self.prevLayer AVCaptureVideoPreviewLayer layerWithSession self.captureSession self.prevLayer setOrientation AVCaptureVideoOrientationLandscapeLeft self.prevLayer.frame..

AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection?

http://stackoverflow.com/questions/4401232/avfoundation-how-to-turn-off-the-shutter-sound-when-capturestillimageasynchrono

a preview of the video stream so that your screenshot looks good AVCaptureSession captureSession yourcapturesession AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession UIView aView theViewYouWantTheLayerIn previewLayer.frame.. your screenshot looks good AVCaptureSession captureSession yourcapturesession AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession UIView aView theViewYouWantTheLayerIn previewLayer.frame aView.bounds Assume you want the..

Alternatives to creating an openGL texture from a captured video frame to overlay an openGL view over video? (iPhone)

http://stackoverflow.com/questions/4473894/alternatives-to-creating-an-opengl-texture-from-a-captured-video-frame-to-overla

alternatives to try it would be good to know. For example is there a way to overlay the openGL view directly over the AVCaptureVideoPreviewLayer iphone opengl es avcapturesession share improve this question You can indeed layer OpenGL content over something like.. opengl es avcapturesession share improve this question You can indeed layer OpenGL content over something like AVCaptureVideoPreviewLayer but your performance will suffer. Apple highly recommends that you not overlay non opaque OpenGL ES content on top of other.. on top of that. This will give you far better performance than trying to draw non opaque 3 D content on top of an AVCaptureVideoPreviewLayer. However if you are just wanting to display simple static UIViews over OpenGL ES content that can be done without much of..

Uploading live streaming video from iPhone [duplicate]

http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone

captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer.. make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning..

How do you create a custom camera view, instead of UIImagePickerViewController?

http://stackoverflow.com/questions/5156417/how-do-you-create-a-custom-camera-view-instead-of-uiimagepickerviewcontroller

How to apply “filters” to AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/5156872/how-to-apply-filters-to-avcapturevideopreviewlayer

to apply &ldquo filters&rdquo to AVCaptureVideoPreviewLayer My app is currently using AVFoundation to take the raw camera data from the rear camera of an iPhone and display it on.. app is currently using AVFoundation to take the raw camera data from the rear camera of an iPhone and display it on an AVCaptureVideoPreviewLayer in real time. My goal is to to conditionally apply simple image filters to the preview layer. The images aren't saved so.. this would be to use OpenGL ES for filtering and display of these video frames. You won't be able to do much with an AVCaptureVideoPreviewLayer directly aside from adjusting its opacity when overlaid with another view or layer. I have a sample application here where..

Cropping image captured by AVCaptureSession

http://stackoverflow.com/questions/5780580/cropping-image-captured-by-avcapturesession

an iPhone App which uses AVFoundation to take a photo and crop it. The App is similar to a QR code reader It uses a AVCaptureVideoPreviewLayer with an overlay. The overlay has a square. I want to crop the image so the cropped image is exactly what the user has places..

AVCaptureSession specify resolution and quality of captured images obj-c iphone app

http://stackoverflow.com/questions/9312832/avcapturesession-specify-resolution-and-quality-of-captured-images-obj-c-iphone

session NSLog @ setting session... self.captureSession session NSLog @ setting camera view self.previewLayer AVCaptureVideoPreviewLayer layerWithSession session UIView aView self.view CGRect videoRect CGRectMake 20.0 20.0 280.0 255.0 previewLayer.frame videoRect..