I've had a quick stab at adding recording but I've hit a threading snag which means that I can start a recording going but not stop it! The workaround is messy and I'm not really that interested in doing it. Also the uncompressed AVI files are enormous and I'm even less interested in doing the messy stuff to get them compressed so unless you actually want realtime movies I think you are better off using a timer to grab images.
Also I note that the framerate referred to in the help for PreviewOn(framerate As int32) is not specified. It is the interval between preview frames in milliSeconds so a setting of 50 would result in a preview rate of 20 frames per second.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Thanks a lot for looking into it. That's fair enough.
Let's not get engaged with messy stuff. I don't like that either.
Also, thanks for explaining the frame rate setting. I think
this will be overridden by the individual camera driver provided
it allows frame rate setting.
I think this will be overridden by the individual camera driver provided it allows frame rate setting.
Other way round I think. If the camera driver allows frame rate setting this is honoured. It works on the built-in camera of my EeePC, I don't know the highest rate it will accept (I would guess 50 or 60 fps) but I can slow it right down to one very second or less.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
in my EEEpc camera is 1,3 megapixels but in Format dialog max resolution is 640*480... why?
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
in Format dialog max resolution is 640*480... why?
Probably because it is being used as a VideoCam and the resolution is being limited to what is practical to deal with in terms of data rate and storage space. This is a normal practice on cameras used for both stills and video.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Hox to make a program wait before taking a photo with a webcam
Hello,
On a desktop, I want my program to take six different photos with a webcam.
For that, I use the desktop webcam library.
My program must wait several seconds between each shot.
To wait so, if I use a msgbox, it works properly.
But if I use a sleep or something else it doesn't work : during the three first shots, the screen remains moveless, whatever the time I tell it to wait.
For the three other shots, it works !
Thank you for your help.
Pascal.
Now this thread has been quiet for a year, perhaps I can wake it with an air-kiss...
Have just been playing with this demo as part of getting to grips with a PCI video capture card. And found that although the Help and IDE hints say that the parameters are:
Code:
NewCaptureWindow(deviceindex As Int32, parent As Control, top As Int32, left As Int32, width As Int32, height As Int32)
in fact top and left are the other way round. It is of course not obvious until you alter them to different values!
Also, as more overtly part of my attempt to understand video presentation, would it be possible to have sight of the *.cs file?