encompass
July 17th, 2006, 02:59 AM
Live Webcam Feed
This Howto has totally changed to make things A LOT easier. After a year of working with this thing I have got it down pretty good.
I have a few things before it is totally done...
I need to not have camserv start at startup and I am working on a frontend called CamServFront that will start and stop the webcam whenever you like...
Sadly, I have many other projects I am also working on so it will have to wait until demand provides. In other words, if you want to pay be a small amount it would be worth it. :D
1: INSTALL
sudo apt-get install webfs camserv
mkdir ~/.CamServFront
[CODE]mkdir /home/skunkyjay/.CamServFront/Server
Then download the attached file called...WebcamSetup....
2: SETUP
Extract the file and put it in .CamServFront/Server
Setup Camser by editing the file for camserv
sudo gedit /etc/camserv/camserv.cfg
Make sure you have set everything up for your webcam. If you are worried. Ask me and I will help you. Until I understand how detailed I need to be there I won't right anything.
I jsut recommend not changing the port as everything else in my instructs depend on that.
From here it is rather easy...
Run this command...
webfsd -p 1026 -b U:P -F -r ~/.CamServFront/Server/
Where the U and the P are your username and password. Look at man webfsd for details.
Go here and record your IP address.... www.whatismyip.com
Go to your webbrowser and type your IP addy in with the port :1026 like this.... 85.111.119.250:1026
For the user and pass DON'T USE ANYTHING that you use now... these are saved as plain text and anyone can read then on your computer.
Did you see anything? You won't or should see your cam yet... but you will see a java applet and a simple webpage. If so your running your webserver properly.
Then we change ip information found here...
gedit ~/.CamServFront/Server/index.html
Find the line "param name="url" value="http://84.250.111.119:9192""change the ip address to your IP address. Be sure to leave the port there... that is the number after ":"
From there... you can test the cam....
Start a Terminal and run this... leaving it open...
webfsd -p 1026 -b U:P -F -r ~/.CamServFront/Server/
There you should be able to type your username and password in and it should show your directory with index.html click it and hopfully it work.
When your done I recommand killing running command with cntrl-c and unpluging your cam, until I get this camserv thing stopped you have to do it manually and that is a pain. to stop the cam manully type...
sudo /etc/init.d/camserv stop (and start to run it again)
Tell me what I can improve and I will make things better from there...
This Howto has totally changed to make things A LOT easier. After a year of working with this thing I have got it down pretty good.
I have a few things before it is totally done...
I need to not have camserv start at startup and I am working on a frontend called CamServFront that will start and stop the webcam whenever you like...
Sadly, I have many other projects I am also working on so it will have to wait until demand provides. In other words, if you want to pay be a small amount it would be worth it. :D
1: INSTALL
sudo apt-get install webfs camserv
mkdir ~/.CamServFront
[CODE]mkdir /home/skunkyjay/.CamServFront/Server
Then download the attached file called...WebcamSetup....
2: SETUP
Extract the file and put it in .CamServFront/Server
Setup Camser by editing the file for camserv
sudo gedit /etc/camserv/camserv.cfg
Make sure you have set everything up for your webcam. If you are worried. Ask me and I will help you. Until I understand how detailed I need to be there I won't right anything.
I jsut recommend not changing the port as everything else in my instructs depend on that.
From here it is rather easy...
Run this command...
webfsd -p 1026 -b U:P -F -r ~/.CamServFront/Server/
Where the U and the P are your username and password. Look at man webfsd for details.
Go here and record your IP address.... www.whatismyip.com
Go to your webbrowser and type your IP addy in with the port :1026 like this.... 85.111.119.250:1026
For the user and pass DON'T USE ANYTHING that you use now... these are saved as plain text and anyone can read then on your computer.
Did you see anything? You won't or should see your cam yet... but you will see a java applet and a simple webpage. If so your running your webserver properly.
Then we change ip information found here...
gedit ~/.CamServFront/Server/index.html
Find the line "param name="url" value="http://84.250.111.119:9192""change the ip address to your IP address. Be sure to leave the port there... that is the number after ":"
From there... you can test the cam....
Start a Terminal and run this... leaving it open...
webfsd -p 1026 -b U:P -F -r ~/.CamServFront/Server/
There you should be able to type your username and password in and it should show your directory with index.html click it and hopfully it work.
When your done I recommand killing running command with cntrl-c and unpluging your cam, until I get this camserv thing stopped you have to do it manually and that is a pain. to stop the cam manully type...
sudo /etc/init.d/camserv stop (and start to run it again)
Tell me what I can improve and I will make things better from there...