Live Streaming using Raspberry Pi

Published on . Written by

Live Streaming using raspberry pi
Imagine you are talking to your friend who works in another country and at the same time you are streaming your plush drawing room images to him or her on the computer. For streaming images you would need an Internet connection and then use of the port-forwarding technique explained in this article.

Read more..
But, is it a big deal? Skype or a similar messaging program does the same thing through the Internet. The only difference is that the process presented here is simple and has minimum footprint or load on bandwidth.


Skyfi Labs Projects
Port forwarding, or live streaming, allows the network to flow contents of a defined port to the outside world. It allows network administrators to use one IP address for all external communications on the Internet. It is useful for home network users who may wish to run a Web server or gaming server on network.

Project Description:

  1. Raspberry Pi 3 B: Raspberry Pi is a Microprocessor which has 40 pins with 27 GPIO pins, it has a 1 Giga Bytes of RAM and a SD card slot for the storage or the ROM,it can be used as a mini computer for low computing operations, it has a dual band LAN, faster Ethernet, Bluetooth, it also has USB and HDMI ports for connecting devices. This device can be used as a server which we are doing in this project.
  2. Micro SD card: You will need a minimum of 8 gigabytes SD card for this project, this SD card is used as the ROM of the raspberry pi. Use 32 Gigabyte or 64 Gigabytes of
  3. Display: You can use any kind of display for the project, like monitors, TV or any size display that fits your requirement to configure the Pi.
  4. Power Supply: Raspberry Pi needs a power supply of 5V and 2A Micro USB type.
  5. Mouse and keyboard: You will need this to control, monitor, and to configure the Pi.
  6. Keypad Module: Keypad module is used to enter the security code to open the gate or the door, it is basically a number pad which takes the security code as the input.
  7. Pi Camera: Use the Pi camera to capture still images, live streaming and for video recording.

Project Implementation:

  1. Install the Raspbian OS into the SD card, and boot the Raspberry Pi.
  2. Download and install the Putty software, this software helps us to access the camera remotely through SSH(Secure Shell Protocol).
  3. Connect the Raspberry Pi to a Wi-Fi network and check for the IP address of the Pi.
  4. Connect the Pi camera and enable the camera option in the settings.
  5. Download the Motion software for the Pi camera and run it in the daemon mode.
  6. Write a shell script to execute the commands in the terminal for surveillance, still image capturing live streaming and recording when there is motion.
  7. The Raspberry Pi's network port has to be forwarded in order to view the live streaming from any other device which is not connected to the same Wi-Fi network.
Project Brief:The Raspberry Pi when configured and all the required software has been installed then the Pi is ready to be used for surveillance then write a shell script to execute all the terminal commands one by one in order to capture a still image, or for live streaming or for motion capture. After finishing all the configure steps the surveillance system is ready to be installed in your home, or office, or any place where you want to monitor.

Software requirements:

  1. Raspbian OS(Debian Linux): Raspbian operating systems are based on Linux, Raspberry pi are also compatible with Windows and IOS but prefer any Linux based OS
  2. Putty: Putty is free and open source terminal emulator, serial console and network file transfer application.
  3. Motion software: Motion software is a software specifically built for Raspberry Pi camera, this software is used to capture images or record video when there is a motion detected.

Programing Language:

    Linux (terminal commands)

Kit required to develop Live Streaming using Raspberry Pi:
Technologies you will learn by working on Live Streaming using Raspberry Pi:


Any Questions?


Subscribe for more project ideas