RPi Streaming

I got the webcam streaming from the RPi! Woo hoo! Here’s what I did, I set up the following in /etc/avserver.conf:

Port 80
MaxClients 5
MaxBandwidth 50000
<Feed webcam.ffm>
file /tmp/webcam.ffm
FileMaxSize 5M
<Stream mystream>
Feed webcam.ffm
Format mjpeg
PreRoll 0
<Stream status.html>
Format status
ACL allow localhost
ACL allow

Then, I ran the command:

avserver & avconv -v verbose -s 320x240 -input_format mjpeg -f video4linux2 -i /dev/video0 http://localhost/webcam.ffm

And voila! Yes, the stream does lag quite a bit (about 3 seconds) but it’s a step in the right direction 🙂