sixfab 3g lte live video stream

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, Connect your Raspberry Pi to internet and run sudo apt-get update to update your Raspberry Pi
  2. Make Tutorial3 to connect internet over Mobile.
  3. For live stream you can use FFMpeg.
    1. Install h264 Support
      • cd /usr/src
      • git clone git://git.videolan.org/x264
      • cd x264
      • ./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
      • make
      • sudo make install
    2. Install FFMpeg
      • cd /usr/src
      • git clone https://github.com/FFmpeg/FFmpeg.git
      • 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
  4. Signup for a facebook or youtube account and get [SERVER URL]/[STREAM NAME]
  5. At last, run this command to start live

     

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

  1. Any help on this?

    RTMP_ReadPacket, failed to read RTMP packet header
    rtmp://rtmp-api.facebook.com:80/rtmp/610129185861403?ds=1: Unknown error occurred

    ***** full log ***
    [email protected]:/home/rudy/Stream# ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.9.2 (Debian 4.9.2-10)
    configuration: –prefix=/usr –extra-cflags=’-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ‘ –extra-ldflags=’-Wl,-z,relro’ –cc=’ccache cc’ –enable-shared –enable-libmp3lame –enable-gpl –enable-nonfree –enable-libvorbis –enable-pthreads –enable-libfaac –enable-libxvid –enable-postproc –enable-x11grab –enable-libgsm –enable-libtheora –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libx264 –enable-libspeex –enable-nonfree –disable-stripping –enable-libvpx –enable-libschroedinger –disable-encoder=libschroedinger –enable-version3 –enable-libopenjpeg –enable-librtmp –enable-avfilter –enable-libfreetype –enable-libvo-aacenc –disable-decoder=amrnb –enable-libvo-amrwbenc –enable-libaacplus –libdir=/usr/lib/arm-linux-gnueabihf –disable-vda –enable-libbluray –enable-libcdio –enable-gnutls –enable-frei0r –enable-openssl –enable-libass –enable-libopus –enable-fontconfig –enable-libpulse –disable-mips32r2 –disable-mipsdspr1 –disable-mipsdspr2 –enable-libvidstab –enable-libzvbi –enable-avresample –disable-htmlpages –disable-podpages –enable-libutvideo –enable-libfdk-aac –enable-libx265 –enable-libiec61883 –enable-libdc1394 –disable-altivec –shlibdir=/usr/lib/arm-linux-gnueabihf
    libavutil 54. 20.100 / 54. 20.100
    libavcodec 56. 26.100 / 56. 26.100
    libavformat 56. 25.101 / 56. 25.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 11.102 / 5. 11.102
    libavresample 2. 1. 0 / 2. 1. 0
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 1.100 / 1. 1.100
    libpostproc 53. 3.100 / 53. 3.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, s16le, from ‘/dev/zero’:
    Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Input #1, h264, from ‘pipe:’:
    Duration: N/A, bitrate: N/A
    Stream #1:0: Video: h264 (High), yuv420p, 1920×1080, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    RTMP_ReadPacket, failed to read RTMP packet header
    rtmp://rtmp-api.facebook.com:80/rtmp/610129185861403?ds=1: Unknown error occurred

Leave a Reply

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