• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
progress of AVAssetWriter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AVAudioMix and video (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: Forcing iPhone microphone as Audio Input when headset is plugged in
  • Next by Date: Re: Multichannel to Stereo in Logic
  • Previous by thread: AVAudioMix and video
  • Next by thread: How to re-start an AUGraph() ?
  • Index(es):
    • Date
    • Thread