Re: "One shot" mode in SampleGrabber doesn't work
- From: lserlohn <lserlohn@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 8 Sep 2008 08:34:01 -0700
Hi, Thanks very much for your reply, not I understand where I am wrong. But I
don't want to add a message loop in my main program, so is there any way to
do such function without event or call back, or is it possible to warp a
message loop inside a class? any other options?
"Alessandro Angeli" wrote:
That is not the way to extract all frames: one-shot mode is
designed to take a snapshot once, e.g. to create a
thumbnail. To extract all frames: 1. do not use one-shot
mode; 2. do not enable sample buffering; 3. use a sample
callback; 4. fetch the sample this way (pseudo-code):
.
- Follow-Ups:
- Re: "One shot" mode in SampleGrabber doesn't work
- From: Tim Roberts
- Re: "One shot" mode in SampleGrabber doesn't work
- From: Alessandro Angeli
- Re: "One shot" mode in SampleGrabber doesn't work
- From: The March Hare [MVP]
- Re: "One shot" mode in SampleGrabber doesn't work
- References:
- "One shot" mode in SampleGrabber doesn't work
- From: lserlohn
- Re: "One shot" mode in SampleGrabber doesn't work
- From: Alessandro Angeli
- "One shot" mode in SampleGrabber doesn't work
- Prev by Date: Re: "One shot" mode in SampleGrabber doesn't work
- Next by Date: Re: Camera resolution settings
- Previous by thread: Re: "One shot" mode in SampleGrabber doesn't work
- Next by thread: Re: "One shot" mode in SampleGrabber doesn't work
- Index(es):