¡@

Home 

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

iphone Programming Glossary: startrunning

Using AVCaptureSession and AVAudioPlayer together

http://stackoverflow.com/questions/10903542/using-avcapturesession-and-avaudioplayer-together

m_captureFileOutput AVCaptureMovieFileOutput alloc init captureSession addOutput m_captureFileOutput captureSession startRunning NSString docDir NSSearchPathForDirectoriesInDomains NSDocumentDirectory NSUserDomainMask YES objectAtIndex 0 NSMutableString..

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

layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput..

Turn on torch/flash on iPhone 4

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

setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning videoCaptureDevice.torchMode AVCaptureTorchModeOn Does anybody know if this would work or am I missing anything I don't..

Activate the LED for a flashlight app

http://stackoverflow.com/questions/3253187/activate-the-led-for-a-flashlight-app

How to properly release an AVCaptureSession

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

layerWithSession session retain previewLayer.frame view.bounds view.layer addSublayer previewLayer session startRunning Cleanup previewLayer removeFromSuperlayer previewLayer release session stopRunning session release iphone multithreading..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

self.captureSession addOutput stillImageOutput self.captureSession commitConfiguration self.captureSession startRunning iphone camera avfoundation share improve this question We had this problem when 4.0 was still in beta. I tried a fair..

Video Recording using AVFoundation Framework iPhone?

http://stackoverflow.com/questions/3932614/video-recording-using-avfoundation-framework-iphone

crashes if session isRunning self performSelector @selector startRecording withObject nil afterDelay 1.0 session startRunning void startRecording AVCaptureConnection videoConnection playVideo connectionWithMediaType AVMediaTypeVideo fromConnections..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

http://stackoverflow.com/questions/3968879/simultaneous-avcapturevideodataoutput-and-avcapturemoviefileoutput

nil afterDelay 10.0 self performSelector @selector stopRecording withObject nil afterDelay 15.0 captureSession startRunning void startRecording m_captureFileOutput startRecordingToOutputFileURL self tempFileURL recordingDelegate self void stopRecording..

How can I make the iPhone 4 LED light fire instantly?

http://stackoverflow.com/questions/3983032/how-can-i-make-the-iphone-4-led-light-fire-instantly

session addOutput output device unlockForConfiguration output release session commitConfiguration session startRunning self setTorchSession session session release else NSLog @ It's currently on.. turning off now. torchSession stopRunning..

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

share improve this question In startVideoRecording I call I assume you are calling this at some point _capSession startRunning In stopVideoRecording I do not call _videoWriterInput markAsFinished _videoWriter endSessionAtSourceTime lastSampleTime.. _isRecording NSLog @ start video recording... if self setupWriter NSLog @ Setup Writer Failed return _capSession startRunning _isRecording YES void stopVideoRecording if _isRecording _isRecording NO _capSession stopRunning if _videoWriter finishWriting..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

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

YES ... eventually ... assetWriter startWriting assetWriter startSessionAtSourceTime kCMTimeZero captureSession startRunning ... elsewhere ... void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer..

Uploading live streaming video from iPhone [duplicate]

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

layerWithSession captureSession previewLayer.frame view.bounds view.layer addSublayer previewLayer go captureSession startRunning Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

retain audio_output setSampleBufferDelegate special_delegate queue queue dispatch_release queue session startRunning Here is the beginning and end of recording if recording Hence stop recording video_button setTitle @ Video forState UIControlStateNormal..

Avfoundation - Play and record video (along with audio and preview) simultaneously

http://stackoverflow.com/questions/6991452/avfoundation-play-and-record-video-along-with-audio-and-preview-simultaneous

captureVideoPreviewLayer setVideoGravity AVLayerVideoGravityResizeAspectFill captureManager session startRunning self setCaptureVideoPreviewLayer captureVideoPreviewLayer if captureManager session isRunning captureManager setOrientation.. the application audio session moviePlayer.useApplicationAudioSession YES Then before calling captureManager session startRunning activate an audio session with its category set to play and record and override its property to allow it to mix with others...

Capturing Images from AVCaptureSession

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

captureOutput.alwaysDiscardsLateVideoFrames YES captureOutput.minFrameDuration CMTimeMake 1 1 When self.captureSession startRunning is started my log file shows delegate is being called 20 times a second. Where is it coming from and how to capture images..

iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/8980847/iphone-take-augmented-reality-screenshot-with-avcapturevideopreviewlayer

Assume you want the preview layer to fill the view. aView.layer addSublayer previewLayer captureSession startRunning ask the entire window to draw itself in a graphics context. This call will not render the AVCaptureVideoPreviewLayer . It..

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

such as 15 fps set minFrameDuration. Assign session to an ivar. self setSession captureSession self.captureSession startRunning and setSession void setSession AVCaptureSession session NSLog @ setting session... self.captureSession session NSLog @ setting..

How can I mute the capture sound in AVFoundation?

http://stackoverflow.com/questions/9557081/how-can-i-mute-the-capture-sound-in-avfoundation

and output self.session addInput captureInput self.session addOutput captureOutput We start the capture self.session startRunning You will get the camera output in the following method.. I make a image and add it to my parent View..You can change it..