Webcam Streaming not working

5 posts
by Fr4nky » Fri Oct 19, 2012 5:11 pm

We are trying to stream a webcam in our local network via the raspberry pi. We use the following script:
Code: Select all
sudo aptitude install libv4l-0
ls /dev/video0
mv get\?download\=36\:mjpg-streamer-rpi mjpg-streamer-rpi.tar.gz
tar -zxvf mjpg-streamer-rpi.tar.gz
cd mjpg-streamer
sudo nano
./ start

(from ... spberry-pi)
Basically it works but the picture flickers (parts of the image are replicated and shifted, see screenshot). We are using this camera: logitech quickcam communicate stx
Furthermore we tried to troubleshoot the problem: the webcam works perfectly on our main computer and the raspberry pi must have enough power, because we shorted the USB fuses and we used a bigger power supply (1.5A).

What causes that flickering and what can we do to avoid that?

Daniel and Nico

Posts: 4
Joined: Fri Oct 19, 2012 5:07 pm
by bobtech » Fri Nov 02, 2012 9:52 am
try the new version (same commands as above, it's already updated on the site)
but enable the YUV option in the script and let me know if this fixes it
Posts: 14
Joined: Fri Sep 14, 2012 7:49 am
by ptit_lu » Sun Nov 04, 2012 9:26 pm
Hello, i'm french.
I use "Motion" on wheezy for my webcam streaming. It works very good and it's easy.

Posts: 8
Joined: Wed Aug 29, 2012 3:23 pm
by Fr4nky » Wed Nov 07, 2012 3:54 pm

I bought a Microsoft HD-5000 Webcam with better quality, and now the streaming works without artifacts. But now, the frame rate is pretty low (3-5fps), and it doesn't change when lowering the resolution. The frame rate was very good (over 20fps) with the old camera tough.

Any ideas how to increase it (of cause i increased the frame rate in the settings)?

Posts: 4
Joined: Fri Oct 19, 2012 5:07 pm
by Phillips321 » Fri Nov 09, 2012 10:55 pm
Shameful plug, my bad....

Did this exact thing a few days ago, also made init script to start on boot. Enjoy
Posts: 2
Joined: Fri Nov 09, 2012 10:46 pm