¡@

Home 

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

iphone Programming Glossary: avcapturesession

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

far as I know. As you say HTTP Live Streaming is for downloads to the iPhone. The way I'm doing it is to implement an AVCaptureSession which has a delegate with a callback that's run on every frame. That callback sends each frame over the network to the server.. alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice.. setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and..

how to convert a CVImageBufferRef to UIImage

http://stackoverflow.com/questions/3152259/how-to-convert-a-cvimagebufferref-to-uiimage

presumes that the image data is in the form ACCC where C is some color component R G B . If you've set up your AVCaptureSession to capture the video frames in native format more than likely you're getting the video data back in planar YUV420 format...

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession captureSession AVCaptureSession alloc init AVCaptureDevice videoCaptureDevice AVCaptureDevice defaultDeviceWithMediaType.. on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession captureSession AVCaptureSession alloc init AVCaptureDevice videoCaptureDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo NSError error..

streaming video FROM an iPhone

http://stackoverflow.com/questions/3444791/streaming-video-from-an-iphone

You could divide your recording to separate files with a length of say 10sec then send them separately. If you use AVCaptureSession 's beginConfiguration and commitConfiguration methods to batch your output change you shouldn't drop any frames between..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

NSDictionary dictionaryWithObject value forKey key captureOutput setVideoSettings videoSettings self.captureSession AVCaptureSession alloc init self.captureSession.sessionPreset AVCaptureSessionPresetLow self.captureSession addInput captureInput self.captureSession.. setVideoSettings videoSettings self.captureSession AVCaptureSession alloc init self.captureSession.sessionPreset AVCaptureSessionPresetLow self.captureSession addInput captureInput self.captureSession addOutput captureOutput self.prevLayer AVCaptureVideoPreviewLayer.. phone to sleep then you seem to get a single image out . AVCaptureStillImageOutput only seems to work sensibly with AVCaptureSessionPresetPhoto otherwise you effectively get JPEG encoded video frames. Might as well use higher quality BGRA frames incidentally..

This code to write video+audio through AVAssetWriter and AVAssetWriterInputs is not working. Why?

http://stackoverflow.com/questions/4149963/this-code-to-write-videoaudio-through-avassetwriter-and-avassetwriterinputs-is

error error Setup the audio output _audioOutput AVCaptureAudioDataOutput alloc init Create the session _capSession AVCaptureSession alloc init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession.. addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset AVCaptureSessionPresetLow Setup the queue dispatch_queue_t queue dispatch_queue_create MyQueue NULL _videoOutput setSampleBufferDelegate..

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

If you're wanting this to fill the whole screen with a preview of the video stream so that your screenshot looks good AVCaptureSession captureSession yourcapturesession AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer layerWithSession captureSession..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

http://stackoverflow.com/questions/4944083/can-use-avcapturevideodataoutput-and-avcapturemoviefileoutput-at-the-same-time

answer the specific question put but I've been successfully recording video and grabbing frames at the same time using AVCaptureSession and AVCaptureVideoDataOutput to route frames into my own code AVAssetWriter AVAssetWriterInput and AVAssetWriterInputPixelBufferAdaptor.. you're having no problems with skimmed over and ignoring issues of scope to ensure I'm given incoming CMSampleBuffers AVCaptureSession captureSession alloc and init set your preferred preset etc AVCaptureDevice captureDevice default for video probably AVCaptureDeviceInput..

Uploading live streaming video from iPhone [duplicate]

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

far as I know. As you say HTTP Live Streaming is for downloads to the iPhone. The way I'm doing it is to implement an AVCaptureSession which has a delegate with a callback that's run on every frame. That callback sends each frame over the network to the server.. alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice.. setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and..

iOS take picture

http://stackoverflow.com/questions/5237941/ios-take-picture

NO and setting the cameraOverlayView property to your own custom controls. Two available in iOS 4.0 is to configure an AVCaptureSession providing it with an AVCaptureDeviceInput using the appropriate camera device and AVCaptureStillImageOutput . The first..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio

CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto At a high level I created an app that lets a user point his or her iPhone camera.. CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto At a high level I created an app that lets a user point his or her iPhone camera around and see video frames.. a high resolution photo that is saved in their iPhone library. To do this the app follows this procedure 1 Create an AVCaptureSession captureSession AVCaptureSession alloc init captureSession setSessionPreset AVCaptureSessionPreset640x480 2 Hook up an AVCaptureDeviceInput..

iPhone Watermark on recorded Video.

http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video

this is a really great tutorial that among other topics details exactly how to use AVCaptureVideoDataOutput . iPhone AVCaptureSession capture output crashing AVCaptureVideoDataOutput this post might be helpful just by nature of containing less non relevant..

Having trouble creating UIImage from CIImage in iOS5

http://stackoverflow.com/questions/7788438/having-trouble-creating-uiimage-from-ciimage-in-ios5

... the imageView remains white. Any ideas as to the problem I am using the following to setup my session self.session AVCaptureSession alloc init self.session.sessionPreset AVCaptureSessionPreset640x480 self.videoDevice AVCaptureDevice defaultDeviceWithMediaType.. I am using the following to setup my session self.session AVCaptureSession alloc init self.session.sessionPreset AVCaptureSessionPreset640x480 self.videoDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo self.videoInput AVCaptureDeviceInput..

Capture 60fps in iPhone app

http://stackoverflow.com/questions/10344637/capture-60fps-in-iphone-app

slopro that can record 60fps on non jailbroken phones. Any advice or tips is much appreciated. iphone ios recording avcapturesession share improve this question After some tinkering this answer has split into two parts How to capture frames at 60fps..

Using vibrate and AVCaptureSession at the same time

http://stackoverflow.com/questions/16425154/using-vibrate-and-avcapturesession-at-the-same-time

way to vibrate the phone or am I stuck with losing the vibrate function while recording video iphone cocoa touch avcapturesession share improve this question You probably need to set the audio to mix with other I found this useful void setupAudio..

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

have an iPhone 4 yet to test on just trying out some of the new API's . Thanks iphone ios4 iphone 4 avcapturedevice avcapturesession share improve this question the lockforConfiguration is set in your code where you declare your AVCaptureDevice is a..

Show camera stream while AVCaptureSession's running

http://stackoverflow.com/questions/3384563/show-camera-stream-while-avcapturesessions-running

and sees what the camera is pointed at. Any help or pointer would be appreciated iphone avfoundation avcapturedevice avcapturesession share improve this question AVCaptureVideoPreviewLayer is exactly what you're looking for. The code fragment Apple uses..

AVCaptureSession cancels background audio

http://stackoverflow.com/questions/3490786/avcapturesession-cancels-background-audio

I've looked around a lot and can't seem to find any references to this behavior. Thanks for any help iphone audio ios avcapturesession avcapturedevice share improve this question Try setting kAudioSessionProperty_OverrideCategoryMixWithOthers as seen..

AVFoundation camera tutorial

http://stackoverflow.com/questions/3643445/avfoundation-camera-tutorial

see how to display the camera view onto the screen. Any help is much appreciated. Thanks Oliver iphone avfoundation avcapturesession share improve this question If you're a registered Apple developer session 409 in the Graphics and Media section of..

How to get the Y component from CMSampleBuffer resulted from the AVCaptureSession?

http://stackoverflow.com/questions/4085474/how-to-get-the-y-component-from-cmsamplebuffer-resulted-from-the-avcapturesessio

format how to directly obtain the data for Y component out of the raw data stored in the samplebuffer. iphone stream avcapturesession share improve this question When setting up the AVCaptureVideoDataOutput that returns the raw camera frames you can..

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

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 AVCaptureVideoPreviewLayer but your..

Applying Effect to iPhone Camera Preview “Video”

http://stackoverflow.com/questions/4893620/applying-effect-to-iphone-camera-preview-video

the low memory conditions in this case and or a better way to flush the dispatch queue iphone grand central dispatch avcapturesession share improve this question To prevent the memory issues simply create an autorelease pool in captureOutput didOutputSampleBuffer..

How to apply “filters” to AVCaptureVideoPreviewLayer

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

As I mentioned I am not looking to capture any of the AVCaptureSession's video merely preview it. iphone avfoundation avcapturesession share improve this question Probably the most performant way of handling this would be to use OpenGL ES for filtering..

How can I get autofocus to work in a second AVCaptureSession without recreating the sessions?

http://stackoverflow.com/questions/5427561/how-can-i-get-autofocus-to-work-in-a-second-avcapturesession-without-recreating

nil previewLayer removeFromSuperlayer previewLayer release previewLayer nil session release session nil @end iphone avcapturesession autofocus share improve this question Apple technical support have confirmed that creating two simultaneous capture..

Capturing Images from AVCaptureSession

http://stackoverflow.com/questions/8264749/capturing-images-from-avcapturesession

Where is it coming from and how to capture images with my intended intervals iphone objective c uiimageview calayer avcapturesession share improve this question You can use the function given below and if you want to capture at specific intervals then..

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

what should I change to specify the resolution of captured image and it's quality. Help me please iphone objective c avcapturesession avcapture share improve this question Refer to Apple's guide Capturing Still Images section regarding which sizes you'll..