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: Opening camera with specific format/mode?




On Oct 27, 2005, at 2:08 PM, Alex Majora wrote:

When I invoke VDGetCompressionTypes(), it returns me a -32766.

(Note: I'm using QT 7.0.3, OSX 10.4.2, Cocoa/Objc, on dual 2GHz G5 machines.)


 SeqGrabComponent seqGrabComp;

 VDCompressionListHandle h;


 seqGrabComp = OpenDefaultComponent(SeqGrabComponentType,0);

 SGInitialize(seqGrabComp);

 SGSetDataRef(seqGrabComp,0,0,seqGrabDontMakeMovie);

 VDGetCompressionTypes(seqGrabComp,h);


VDGetCompressionTypes() takes a video digitizer component, not sequence grabber component.  So after you have properly configured your sequence grabber video channel, you call SGGetVideoDigitizerComponent() to get the the underlying digitizer.
 _______________________________________________
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: Opening camera with specific format/mode? (From: "Alex Majora" <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.