progress of AVAssetWriter
progress of AVAssetWriter
- Subject: progress of AVAssetWriter
- From: Ochen Kaylan <email@hidden>
- Date: Tue, 26 Oct 2010 00:28:22 -0500
How can I calculate the progress of an AVAssetWriter process? So if I have something like:
[assetWriterInput requestMediaDataWhenReadyOnQueue:queue usingBlock:^{ while (1){ if ([assetWriterInput isReadyForMoreMediaData]) { CMSampleBufferRef sampleBuffer = [audioMixOutput copyNextSampleBuffer]; if (sampleBuffer) { [assetWriterInput appendSampleBuffer:sampleBuffer]; CFRelease(sampleBuffer); } else { [assetWriterInput markAsFinished]; break; } } }
what can I be pulling (or polling) during the loop to figure out how many x of y I've completed?
Thanks. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden