Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: Capturing compressed video with the Sequence Grabber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Capturing compressed video with the Sequence Grabber



>kOpenDMLJPEGCodecType         = 'dmb1',

 

>This is the likely codec to use (I'm assuming this is a USBVDC camera).  You'll probably need to SGSetChannelBounds to set your Rect to the correct frame size.

 

kOpenDMLJPEGCodecType yes that is the codec I’ve been trying to use or at least what VDGetCompressionTypes tells me the camera supports.  It does not appear in any of the codec returned by GetCodecNameList and when I try using FindCodec(kOpenDMLJPEGCodecType,anyCodec,&compressor,NULL) it return noCodecErr -8961.

 

The camera is using the USB Video Class (UVC) which from my understand is new in 10.4 Tiger.

 

One problem I am experiencing is that by setting the resolution using SGSetChannelBounds the Sequence Grabber scaled the image to comply with my request.  The max resolution the camera supports in yuvu is 640x480 the max resolution in MJPEG is 1600x1200.   In normal mode the camera is suppose to preview video from the camera in MJPEG at 800x600 @ 30 fps and when the user request a picture be taken the camera resolution is suppose to be changed to 1600x1200. What is currently happening is the camera is constantly taking images in yuvu 640x480 @10 fps and the Sequence Grabber scales the image to either 800x600 or 1600x1200.

 

Chad Greenebaum

Sterling Tech Software

 _______________________________________________
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

References: 
 >(no subject) (From: "Chad Greenebaum" <email@hidden>)
 >Re: (no subject) (From: Brad Ford <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.