We've created a custom sequence grabber channel component, which
handles the
capturing of video and audio over a network from our custom
hardware device.
We've also developed a Final Cut Pro plugin which uses that
sequence grabber
channel to import into Final Cut Pro.
All has been going well until we try to capture a very large amount
of data
(IMX 50, 8 channels of audio). After our capture file reaches
exactly 609.6
MB,
609.6 is a magic number.
Just kidding. This is completely bizarre.
our call to SGAddExtendedMovieData() for the eighth audio track fails
with a memFullErr. This problem happens on every Mac we've tested
on, and
the file size is always 609.6MB when it fails. There is still
plenty of hard
disk space available (>30GB on machine #1, and >140GB on machine
#2). If I
instead try to record only 7 channels of audio, the problem does
not occur.
We are using the 64 bit function AddMediaSampleReferences64(), as
opposed to
its 32 bit counterpart.
Hold on, I'm lost. You shouldn't be calling
AddMediaSampleReferences64 anywhere near the code that calls
SGAddExtendedMovieData. SGAddExtendedMovieData is what you would
call during SGIdle time to tell Sequence Grabber that you have some
data available for it to write to the data file. You should only be
adding media samples after the capture has stopped, in SGWriteSamples.
Can anyone tell me what type of memory limit we might be
encountering here?
There is no such memory limit.
-Brad Ford
QuickTime Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden