Video and perl

2007-01-09 Thread Herman Gerritsen
Hi there, This is my first post on any perl mailinglist. I have been learning perl lately using Oreilly's "Learning Perl 4th edition" I am now going through "Intermediate perl". for my graduation I am trying to write a progam that will read data from the serial port (/dev/ttyS*). This data is co

Re: Video and perl

2007-01-09 Thread Herman Gerritsen
I have been looking on the ffmpeg website and found the FFmpeg perl module. I think it is a good option. I presume the FFmpeg module gives me a faster interface than if I call the ffmpeg with the system command? Thanks for the fast responses Herman On 1/9/07, Mike Martin <[EMAIL PROTECTED]> wro

Re: Video and perl

2007-01-11 Thread Herman Gerritsen
I have borrowed a Logitech Quickcam messenger (046d:08f0) from my brother. Got the driver working (in essence it creates the /dev/video0) but it keeps crashing my players. Mplayer and ffmpeg crashes, Xawtv manages to get moving images for about a second and crashes afterwards. So got to figure th

Re: Video and perl

2007-01-12 Thread Herman Gerritsen
I have got the cam working now (upgraded to 2.6.19.2 kernel). But I cannot install the FFmpeg-6036 module. I have got all dependicies installed and the "perl Makefile.pl" doesn't complain. Now when i issue "make" it ends with the following error. FFmpeg.xs: In function 'XS_FFmpeg__file_formats'

Re: Video and perl

2007-01-12 Thread Herman Gerritsen
Hi there again, I got the camera set up and working. The Logitech Quickcam drivers come with the kernel sources these days (version 2.6.19.2 works for me) So that is cleared up I can now record endlessly with ffmpeg :). Anyway the FFmpeg perl module is bugging me :( so I figured to go for the V4l

Re: Video and perl

2007-01-15 Thread Herman Gerritsen
Hi there, I have been using your script to capture images from my webcam. That works nicely :) I get about 2,333 frames a second. And that is good enough for now. This means than I can get pictures from the webcam and data from my serial port. Sadly a new problem arises. I want to capture them b

Re: Video and perl

2007-01-25 Thread Herman Gerritsen
Hi there, I got the program almost working... Anyway i could capture frames and data at the same time. Just my webcam was not very reliable... In the meantime a colleague came up with a different solution... and we tested it and it works. So I stopped tring this. Anyway your help was appreciated,