Basically, I have a Canon EOS 40D SLR which is producing a series of
JPEGs via its LivePreview. I'm using Canon's C++ SDK right now to
dump into memory. I'm looking for the easiest way to stream this
into Quartz Composer (w/ acceptable performance, say 10fps+ -- the
theoretical max bandwidth via USB 2.0 is about 30fps anyway, and I'm
getting about 20fps if I don't do anything else -- I take a huge hit
if I write to disk).
It looks like the Video Input patch is looking for a "Video Device"
-- is that what I'd need to create? The other doc I found that I
thought might be relevant was TN2143: http://developer.apple.com/technotes/tn2005/tn2143.html
which talks about getting images into Quartz Composer, although I
didn't see a patch that would load images directly from memory?
How is it storing them "in memory" ? Because of OS X's protected
memory model, applications usually do not touch other applications'
memory spaces (meaning that the C++ SDK memory dumper guy's images in
memory are inaccessible to QC, because each are in their own memory
space). There are ways around that (shared memory stuff), but going
further down that route may be solving the wrong problem.
Regarding writing to disk, I've heard of some successful ram-disk type
setups (where writes are very cheap, because it's ram), you may want
to look into this for a quick solution.
Alternately, if you're able to make the Canon look like a video input
so that the Video Input patch can see it, that would be ideal (since
Video Input is designed to do exactly what you're doing). I don't
know the details on Canon's SDK though, to know if that's simple or not.
(p.s. if you get that working, I'd love to hear about it personally..
I've been wanting a reason to buy a Canon EOS SLR... Making the SDK
public was such a good idea, imo :)
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]