I have a sequence grabber with a video and audio channel.
My SGDataProc is called for every video frame that needs to be
written to disk...but called less often for the audio data (every 15
frames or so, it gets called to save N samples of audio data). My
problem is then the following: at any point in time, I will have
accumulated video data for a duration D, but audio data for a
duration D', where D'<=D. If I decide to switch my output file from
fileA to fileB during the capture, I will be missing some audio at
the end of fileA, and it looks like I will have too many audio
samples in B...causing some synchronization issues.
How to solve that ? I cannot avoid having a dedicated audio channel.
Is there a way to save audio and video data at the same rate ?
Is there a way to cause the sequence grabber/channel to somewhat
"flush" the audio when I need it to ?
Any other thoughts... ?
Thanks
Mat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden