Mailing Lists: Apple Mailing Lists

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

use sgDataProc to capture video



Hi,

I added following code to sgDataProc in order to
capture video, it works:

SGSetDataRef(gSeqGrab, dataRef, dataRefType,
seqGrabToDisk|seqGrabAppendToFile);

what i notice is the size of capture video is always
the size of 

grabRect in the  -(OSErr) doSeqGrab:(NSRect)grabRect,
the code is here:

gBoundsRect.top = grabRect.origin.y;
gBoundsRect.left = grabRect.origin.x;
gBoundsRect.bottom = gBoundsRect.top +
grabRect.size.height;
gBoundsRect.right = gBoundsRect.left +
grabRect.size.width;

i can force it to be:

gBoundsRect.top = 0;
gBoundsRect.left = 0;
gBoundsRect.bottom =480;
gBoundsRect.right = 720;

but what appeared in the screen during capture will be
clipped, any way to display the video in screen in a
smaller size while what being captured will be in its
original size? thanks.

Angelo


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
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



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.