iphone Programming Glossary: framenumber
Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time? http://stackoverflow.com/questions/4944083/can-use-avcapturevideodataoutput-and-avcapturemoviefileoutput-at-the-same-time track of the time at which this frame occurs relative to the output stream but it's just an example static int64_t frameNumber 0 if assetWriterInput.readyForMoreMediaData pixelBufferAdaptor appendPixelBuffer imageBuffer withPresentationTime CMTimeMake.. pixelBufferAdaptor appendPixelBuffer imageBuffer withPresentationTime CMTimeMake frameNumber 25 frameNumber ... and to stop ensuring the output file is finished properly ... captureSession stopRunning assetWriter.. pixelBufferAdaptor appendPixelBuffer imageBuffer withPresentationTime CMTimeMake frameNumber 25 frameNumber ... and to stop ensuring the output file is finished properly ... captureSession stopRunning assetWriter finishWriting ..
How to record sound produced by mixer unit output (iOS Core Audio & Audio Graph) http://stackoverflow.com/questions/7118429/how-to-record-sound-produced-by-mixer-unit-output-ios-core-audio-audio-graph it appropriately. Try adding this to your callback SInt16 dataLeftChannel SInt16 ioData mBuffers 0 .mData for UInt32 frameNumber 0 frameNumber inNumberFrames frameNumber NSLog @ sample lu d frameNumber dataLeftChannel frameNumber This will slow your.. Try adding this to your callback SInt16 dataLeftChannel SInt16 ioData mBuffers 0 .mData for UInt32 frameNumber 0 frameNumber inNumberFrames frameNumber NSLog @ sample lu d frameNumber dataLeftChannel frameNumber This will slow your app so much that.. callback SInt16 dataLeftChannel SInt16 ioData mBuffers 0 .mData for UInt32 frameNumber 0 frameNumber inNumberFrames frameNumber NSLog @ sample lu d frameNumber dataLeftChannel frameNumber This will slow your app so much that it will probably prevent..
|