Tutorial to getting a Quickcam 4000 to stream on the net on ubuntu - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Ubuntu (https://www.linux-noob.com/forums/forum-99.html) +--- Thread: Tutorial to getting a Quickcam 4000 to stream on the net on ubuntu (/thread-1633.html) |
Tutorial to getting a Quickcam 4000 to stream on the net on ubuntu - a-dam - 2007-01-15 Ok. first of all i would like to say ive only tested this on one machine (my own) but hopefully it will work on yours (my machine runs ubuntu). Description: We will use a daemon called "webcam_server". This is a simple client although it uses a automatic update process if you are viewing threw a webpage, we will set it up so your page refreshes every few seconds with the updated image. First of all we need a few things: Code: apt-get install apache2 (not needed if you have a httpd installed already) Code: su -l rootpasswd Code: cd /root/ Code: ./configure if you receive any errors please investigate. If you receive warnings this is usually okay. Code: make Code: make install now to get your webcam online so you or friends can view it. If your htdocs directory is /var/www (default on ubuntu) type Code: mkdir /var/www/client Code: cp /root/webcam_server-0.5/src/client/webcam.html /var/www/client/webcam.html once done this is the script installed to your web dir then do; Code: cd /root/webcam_server-0.5/src open a browser and go to [/url]http://127.0.0.1:10000 also checkout http://127.0.0.1/client/Webcam.html/ hopefully you will see a webcam image (hit F5 to refresh) to make the index.html page of your httpd server the image from the webcam simply make the following index.html file in the /var/www dir img src ="http://127.0.0.1:10000/" align="center" width="300" height="300"> <meta http-equiv="refresh" content="3"> This will retrieve the image from the specified ip/port and update every 3 seconds. (change content="3" to a number in seconds you wish the page to update) always remember to exit your su terminal when done. Also i would like to thank P38 and Varjagy from #linux-noob on efnet for helping me threw out the night when i was gettin my webcam setup! I hope this helps feel free to email me if anyone gets stuck lillbastid@gmail.google.com ***Live Demo at [url=http://webcam.digital-users.net/***]http://webcam.digital-users.net/*** p.s yes i know ive spelt "stream" as "steam" but its 00:48am and im tired so sorry! =) Adam Tutorial to getting a Quickcam 4000 to stream on the net on ubuntu - a-dam - 2007-01-15 Ive also just found out if that does not work trying adding the device manually by doing the following; Code: mkdir /dev/usb im not sure if this will work for any other quickcams or not. Adam. |