Building on my need to get webcam frames to OpenJCV in a faster than file IO manner, I apt-getted webcam-server. This program streams video from your webcam to http://localhost:8888 by default, with a few options for change.
There are some problems with initial startup:
1) webcam-server is not v4l2 compatible. So, type this into your terminal:
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
2) The supplied applet (/usr/share/doc/webcam-server/applet/) works from outside your LAN only if you change the URL in webcam.html to relfect your ip address.
References:
https://bugs.launchpad.net/ubuntu/+source/webcam-server/+bug/179932
http://www.eroticpenguin.com/content/streamin-video-sure-why-not
Now, the idea is to have Java capture images from the stream on my localhost...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment