LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-02-2003, 01:22 PM   #1
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
Web Page picture loading program for Linux


Here is what I want to do. I want a program that takes a capture off a live feed coming in from an ATI rage 64 or 128 video card with video inputs. I then want it to load this picture up to a webpage every 10 minutes or so.

We were using win98, and we had a program called easy free webcam, but this computer is to be located in the cayman islands and it locks up every two or three days. This is bad because I am in the US in alabama the rest of the time. I need this pc to run linux so it won't lock up. I am also fairly new to linux but I am becoming proficient very quickly.

Any help in this matter would be greatly appreciated.
 
Old 03-02-2003, 02:05 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
there might be a better solution. but one solution i can think of is..

take a screenshot every 10min (using gimp)
and copy it to webpage directory.
u can do periodic copy with shell script or crond..

i'm not 100 sure that gimp can take snapshot periodically..
i don't have linux with me now.

good luck
 
Old 03-02-2003, 02:07 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
"easy free webcam" man you gotta give credit to whoever thought for that.... blimey

yes, there are plenty of very easy solutions for linux. you want a program such as "motion" - specialised for motion detection, but works well as a general app as well. i've also tried camserv and camstream to vasrying levels of success.

how are you gettign the picture to the webpage? if it's a remote machine then i know one of those apps can upload to ftp. but if it's local, just copying to it should be no problem. indeed, if you're running linux i'd say just run apache on it for the hell of it...

these programs do of course work directly with the tv card itself, no screenshots etc. required...
 
Old 03-02-2003, 02:19 PM   #4
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Original Poster
Rep: Reputation: 30
It is on a remote machine. It is connected to a small home network w a DSL connection. I would just need a snapshot of the live feed taken every 10 minutes or so and the the pic loaded up to the ftp server every so often as well. I don't really want to set up the machine as a server on the internet. I just want it to upload a picture to a directory on my isp's server.

By the way, how would I schedule something to automatically execute every 10 minutes. Is this a cron job or something and if so how do I configure one?

Thanks again
 
Old 03-02-2003, 03:15 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Yeah as as acid_QP said you can use 'motion' which can take snapshots of the video source every N seconds. Just make sure that you don't record video as well or you'll fill your storage up in a hurry. You can also capture video from several different inputs.

As for pushing the picture to the remote server... I suppose you could write up a script to do this and make a cron job.

Last edited by mcleodnine; 03-02-2003 at 03:25 PM.
 
Old 03-02-2003, 08:04 PM   #6
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Original Poster
Rep: Reputation: 30
anyone have any links or suggestions for me as to how to write a cron script. I have never done this before but I really do want to learn how to do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
program to create a web-picture-gallery with a few mouse-clicks...!? ungua Linux - Software 8 12-04-2004 01:22 PM
which FTP program to publish a web page ruwach Linux - Software 2 08-07-2004 03:19 AM
So, Whats another wsiswg web page program for linux? BajaNick Linux - Software 3 07-22-2004 01:10 AM
Bad Request when web page loading wmartino Linux - Networking 2 09-14-2003 10:25 AM
Need a graphics based web page program OmegaWarXIII Linux - Newbie 5 06-21-2001 02:47 PM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration