Streaming from RaspberryPi

Please setup your raspberry-Pi for streaming by following the instructions from

      http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14

If you are using native camera with raspberry pi - then you are done.

If you are using USB camera

then continue to follow the following steps

    https://www.raspberrypi.org/documentation/usage/webcams/

You may have to load the following driver

        lsmod

        rmmod uvcvideo

        modprobe uvcvideo nodrop=1 timeout=5000

Now you can use WebRTC interface for video calls, etc

Start the service with your USB cam <VendorID>:<ProductId>

    sudo service uv4l_uvc add <VendorId>:<ProductId>

    https://<hostname>:8090

And now if you run motion, then you can browse the stream from anywhere.

      http://pimylifeup.com/raspberry-pi-webcam-server/

     

    add the following 2 lines to /etc/init.d/motion after the # lines

LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so
export LD_PRELOAD

You can open a window and see the stream

     http://<hostname>:8081/

 

 

Â