Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

Desktop Videocam image capture library

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 04-27-2009, 04:12 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

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.
Reply With Quote
  #12 (permalink)  
Old 04-28-2009, 11:30 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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.
Reply With Quote
  #13 (permalink)  
Old 04-28-2009, 12:11 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by alfcen View Post
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.
Reply With Quote
  #14 (permalink)  
Old 05-01-2009, 09:57 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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;
Reply With Quote
  #15 (permalink)  
Old 05-01-2009, 10:11 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Byak@ View Post
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.
Reply With Quote
  #16 (permalink)  
Old 05-01-2009, 10:24 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks =)
__________________
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;
Reply With Quote
  #17 (permalink)  
Old 04-03-2011, 02:10 PM
pmu5757's Avatar
Knows the basics
 
Join Date: Sep 2007
Location: Metz (France)
Posts: 67
Default 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.
__________________
Pascal
Reply With Quote
  #18 (permalink)  
Old 04-03-2011, 02:50 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Try using a Timer instead.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #19 (permalink)  
Old 03-17-2012, 05:19 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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?

Regards, Mike.
Reply With Quote
  #20 (permalink)  
Old 03-17-2012, 05:33 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

.
Attached Files
File Type: zip VideoDevice1.4.cs.zip (1.9 KB, 5 views)
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image processing library agraham Additional Libraries 44 04-01-2011 08:26 AM
Text To Speech library (desktop only) Louis Additional Libraries 13 02-03-2009 09:19 AM
Desktop Help library agraham Additional Libraries 15 10-29-2008 03:33 PM
Image fade and floodfill library agraham Additional Libraries 10 07-01-2008 04:50 PM
Desktop Only library released Erel Announcements 3 09-10-2007 09:28 PM


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0