Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeking help: video capture failures and crashes



So this may not be an ideal resolution....

No, not ideal; a GUI will not be an asset to this part of my code. That said, if I could get past this movie recording issue, GUI or not, I'd have rough versions of all of my core code in place and would be pretty happy.

My goal, BTW, is to record something in the neighborhood of 8-16 frames at 30fps, ideally recording the movie into RAM, rather than onto disk, then to break the movie into frames, process those frames to remove noise and motion and create from them a single, seriously enhanced frame. Various interesting things are then done with the enhanced frames, including generating anaglyphs. The rest of the code is in working order, but I'm finding myself rather stuck on the movie recording phase. (The end result of all this will be that Internet will have its best views yet of a pair of wild eastern screech owls nesting and raising their young.)

You typically CAN NOT set a seqeuence grabber to an offscreen Gworld = which
your call to tokenGWorld is doing.

Many video digitizers basically collapse under the pressure of having to
blit to main memory...

So - that is why our SG code sets everything up after the window is visible
and your code should do the same...

Thanks a lot for the information.

Unfortunately, I now find myself pretty thoroughly lost. I've tried setting up windows first and then invoking my recording code, but that doesn't change the results (SIGBUS). Of course, I may not have been setting-up the windows correctly. My best bet for learning how to setup a window correctly for this purpose seems to be the SGCapture2Disk sample code, but I've tried it many times since the OS X public beta days and it has never, ever worked for me. I've searched the list archives for mentions of SGCapture2Disk capture problems and inserted all of the specific fixes I've seen suggested, but it still doesn't work.

I really don't want to be a pest, but can you be very specific about what must be done to make the SequenceGrabber happy in QTJava, or point me to a revised version of the SGCapture2Disk source?

That said - the fact that this hoses the machine is not good. It is a bug
that QT would have to fix. It would be extremely helpful if you could
describe your configuration etc and the resulting crash (with a copy of your
app) into the bug base - details are at:
http://developer.apple.com/bugreporter

I'll do that.

Thanks again.

----Chris




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.