Results 1 to 5 of 5
Good evennin' i'd like to stream video from my webcam it's installed and workin whata do i need to stream video and watch it in a browser at any computer ...
- 01-29-2007 #1Just Joined!
- Join Date
- Nov 2006
- Location
- Mexico
- Posts
- 29
how to set webcam server
Good evennin' i'd like to stream video from my webcam it's installed and workin whata do i need to stream video and watch it in a browser at any computer anny suggest ? thanks
- 01-30-2007 #2
Just to give you an idea:
- Get an static IP with your ISP
- Get a good firewall (mixing open ports and static IPs is not a good combination
)
Method 1
- Install Apache
- Write a script that uses a command line program to get an image every 10 seconds (or whatever)
- Configure Apache to serve the image automatically
Method 2
- Install ffserver
- Make it stream the video to the internet (not sure how)
From a remote computer: type the IP number and expect eveything works.
Just a very simple sketch-up of your ideaPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 05-30-2007 #3Just Joined!
- Join Date
- May 2007
- Posts
- 1
streaming video
Your reply didnt answer the question.
Why on earth would he want to install apache to "serve" an image? he said he wanted to stream live video.
The solutions are
1) static images. use comething like webcam to snapshot an image and then ftp or scp it to a host.
2) install camserv and serve it directly through a configured port.
- 05-30-2007 #4
Because I like Apache, and you can host something like Cortado there. I also suggested ffserver which is a good alternative
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 10-23-2010 #5Just Joined!
- Join Date
- Oct 2010
- Posts
- 1
as i did
ok im running debian installed from net iso cd added vanilla to boot options.
installed only basic system a webserver. after reboot:
apt-get install xfce4 xorg gcc make git-core linux-headers-$(uname -r) build-essential
then apt-get install luvcview camstream camorama xawtv cheese and noip2
setup noip if needed
xawtv -hwscan
mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240
normal people atleast read:
snip from http:@@linuxtv.org
Linux 2.6.26 and newer includes the Linux UVC driver natively. You will not need to download the driver sources manually unless you want to test a newer version or help with development.
Source code for the Linux UVC kernel driver is maintained in a GIT repository on linuxtv.org.
snip from http:@@linuxtv.org
apt-get install libpt-plugins-v4l2 libjpeg62-dev
libv4l-dev_0.8.1...i386.deb and libv4l-dev_0.8.1..dev too
http:@@hansdegoede.livejournal.com/3636.html
libv4l 0.1
less README INSTALL
Example usage:
$ export LD_LIBRARY_PATH=`pwd`/lib
$ export LD_PRELOAD=`pwd`/lib/v4l1compat.so
apt-get install sun-java6-jre sun-java6-jdk
http:@@webcamserver.sourceforge.net/
less README
webcam-server -h
webcam-server -d /dev/video0 -n
cp -rf src/client/* /var/www/
cd /var/www
ifconfig
....
inetaddr: 192.168.somethingyourlanip
vi webcam.html
i
change localhost to 192.168.somethingyourlanip
:wq
java -classpath applet.jar WebCam 192.168.somethingyourlanip 8888
iceweasel and http@@yourserver192.168 or setup noip2
basically quick and clean tail -f /var/log/webcam.log
hope2help
linux rulez



