video capture in Python ?

S

Stef Mientki

hello,

has anyone got video capturing (from a webcam) successful running
in a wxPython application under winXP ?

I got some links, but it seems quit complicated to get everything
installed,
and all the packages you need don't describe which versions of the other
parts you need,
so a lot trial and error I expect.

thanks,
Stef Mientki
 
S

Stef Mientki

Tim said:
What packages have you tried?
videocapture
webcamwatcher
opencv
libvidcap
hdpvrassistent

they didn't run at all or they crashed within 10 seconds :-(
The most promissing looks videocapture, but that also crashes within 10
seconds.
Video capture is not a trivial task.
to be more exactly, I think you mean "it's not a trival task in Python"

I just created a Delphi project to select a video device, show the cam
image on the screen and store the movie in a file:
- less than 10 lines of code,
- less than 10 minutes of work
and the program looks rock stable !

So for this project I'll probably go back to Delphi ;-)

thanks,
Stef Mientki
 
T

Tino Wildenhain

Hi Stef,

Stef Mientki wrote:
....
videocapture
webcamwatcher
opencv
libvidcap
hdpvrassistent

they didn't run at all or they crashed within 10 seconds :-(
The most promissing looks videocapture, but that also crashes within 10
seconds.
to be more exactly, I think you mean "it's not a trival task in Python"

I just created a Delphi project to select a video device, show the cam
image on the screen and store the movie in a file:
- less than 10 lines of code,
- less than 10 minutes of work
and the program looks rock stable !

So for this project I'll probably go back to Delphi ;-)

Or C. OpenCV has nice examples.

For Video Capture, the external library needs to do most of the work
obviously, since this is the corner case for a scripting language.
(Even Delphi can be suboptimal depending on what you want to do
once you captured a frame)

I can say opencv worked great for me both on linux and windows
and didn't crash. Maybe you have just an unlucky combination
of drivers.

Regards
Tino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,610
Members
45,255
Latest member
TopCryptoTwitterChannels

Latest Threads

Top