¡@

Home 

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

iphone Programming Glossary: bufferwriter

AVAssetWritter does not work with audio

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

the first packet I do if _startTime.value 0 _startTime CMSampleBufferGetPresentationTimeStamp sampleBuffer and then bufferWriter writer startWriting bufferWriter writer startSessionAtSourceTime _startTime Your code looks valid as you are calculating.. 0 _startTime CMSampleBufferGetPresentationTimeStamp sampleBuffer and then bufferWriter writer startWriting bufferWriter writer startSessionAtSourceTime _startTime Your code looks valid as you are calculating the time difference for each received.. from yours is I use a single dispatch queue for both audio and video. In the callback I use some code removed . switch bufferWriter writer.status case AVAssetWriterStatusUnknown if _startTime.value 0 _startTime CMSampleBufferGetPresentationTimeStamp sampleBuffer..

AVCaptureSession only got video buffer

http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer

break case AVAssetWriterStatusCompleted return case AVAssetWriterStatusFailed NSLog @ Critical Error Writing Queues bufferWriter writer_failed YES _broadcastError YES return case AVAssetWriterStatusCancelled break default break iphone audio video..