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: Quicktime VDig, Async calls



Ah, I feel like I'm coming around full circle!
My VDig is *based* on SoftVDigX - since that's the tool that the list recommended (rightly!) that I take a look at.


I changed the implementation from compressed to non-compressed, because I thought that compressed != RGB data from a screen (I'm capturing lots of screenshots).

Thank you also for the link - that's what's helped me quite a bit - I found it a few days ago, but have never been sure if it's up to date, given the version of quicktime involved (and it's age). I think things are getting a little clearer.

Do you happen to know what I should return from VDGetCompressionTypes if I'm returning RGB data, from glReadBits?

---
Neil Clayton



On 22 Dec 2005, at 06:50, Edward Agabeg wrote:

Can anyone tell me if VDGrabOneFrameAsync is still supported by QT
and the sequence grabber?  I've written a VDIG that supports this,
but it is never called...  My DeviceInfo returns
digiOutDoesAsyncGrabs as part of info->outputCapabilityFlags.

I *do* see that VDGrabOneFrame is called. Straight after a call to
VDDone returns 'true' (it returns true because the seq.grabber has
not requested any async gets yet)

I don't understand at all why the functions not being called.
Can anyone help?

I suspect GrabOneFrameAsync may have some other pre-required setup/ flag combination before it would be called but I don't have sources with me to dig around in...however, both GrabOneFrame and GrabOneFrameAsync are no longer recommened as documented in the SoftVDigX sample (if you haven't seen it you should take a look). Use the compress source model, QT treats everything as some type of compressed source (yes, even uncompressed yuv and rgb pixels) and the required selector set, and setup are far less confusing not to mention that it's the recommended approach.

For your reading enjoyment if you're curious, here's a link to the holy grail of vdig documents...circa 1993 QuickTime 1.5. SoftVDigX borrows a great deal of information from this document.
http://www.cs.unc.edu/Research/stc/FAQs/1394Firewire/Apple/ king_woodcock_final.html


regards,
edward

 Edward Agabeg
 WWDR Engineer
 QuickTime and Audio
 Worldwide Developer Relations
 Apple

 http://www.apple.com/developer
 http://www.apple.com/quicktime

-- This message was sent from a personal account --
-- All views are mine and not necessarily shared by my employer --
_______________________________________________
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/neil% 40cloudnine.net.nz


This email sent to email@hidden

_______________________________________________ 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

This email sent to email@hidden
References: 
 >Re: Quicktime VDig, Async calls (From: "Edward Agabeg" <email@hidden>)



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.