Re: php4 v4l module?
| From: | scottrus at ipass dot net | Date: | Sat, 16 Dec 2000 00:39:01 +0000 |
| Subject: | Re: php4 v4l module? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30610@lists.php.net to get a copy of this message | ||
On Fri, Dec 15, 2000 at 02:26:14PM -0800, jeremy brand wrote:
> That is exactly what I used. Vidcat. Only, I had the image grabbed
> from the FB device only on request if it hadn't been requested in X
> minutes. The script handled the last file time based on just that,
> the time of the file that I saved the image in. I was finding that
> with even moderately low traffic, the FB/vidcat would freeze up.
I'm seeing the same here. (Yet another reason why I wanted to drop vidcat
from the process). I tried to work around it by setting an env var with
putevn() but apparently that's process specific because in testing the
second process never saw the first processes env var lock. So the next
step is to use file locking to serilaize requests, this is just to fugly
for my tastes.
>
> Some of the time code got ripped and used in this silly Dr-Fun script:
> http://www.nirvani.net/software/dr-fun-1.0.0.php.asc
I'll check it out and see if anything is helpfull.
I'll share anything I find out. As I said, my picture perfect code would
have a php4 function to interface with v4l. It really shouldn't be *too*
hard. If no one else can point out where this was done before I guess
I'll start with the vidcat source and try to put a php function call
wrapper around it.
--
Scott