Sixfab 3G/LTE Shields provides very high speed internet connection. Use Raspberry Pi camera and you can make live stream to Youtube and Facebook. You can use following transactions for work.

  1. Firstly, Check
  2. Connect your Raspberry Pi to internet and run sudo apt-get update to update your Raspberry Pi
  3. Make Tutorial3 to connect internet over Mobile.
  4. For live stream you can use FFMpeg.
    1. Install h264 Support
      • cd /usr/src
      • git clone git://
      • cd x264
      • ./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
      • make
      • sudo make install
    2. Install FFMpeg
      • cd /usr/src
      • git clone
      • cd FFmpeg
      • sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
      • make if you have a Model B+ and later version, you can use make -j4 instead of just make to take advantage of all four cores!
      • sudo make install
  5. Signup for a facebook or youtube account and get [SERVER URL]/[STREAM NAME]
  6. At last, run this command to start live


6 thoughts on “Tutorial 4 | Raspberry Pi Youtube/Facebook Live Video Streamer with Sixfab 3G/LTE Shields”

  1. Excellent tutorial! Works perfectly for YouTube.

    For Facebook, if you get a “BAD_AUTH” / “Operation not permitted” error, try adding quotes around the RTMP server string that you enter in the final step.

    *Example error message:*
    Server error: Error publishing stream: code=9, msg=ERR, BAD_AUTH, URL=Domain:, url: /rtmp/1234567890?ds=1
    rtmp:// Operation not permitted

    raspivid -o – -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i – -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv “[SERVER URL]/[STREAM NAME]”


Leave a Reply

Your email address will not be published. Required fields are marked *