GithubHelp home page GithubHelp logo

cctv's Introduction

Video Streaming with Raspberry Pi Camera Module

PICTURE logo
Video streaming with a Raspberry Pi and a Pi Camera module to stream live footage from a webpage that you can access in any device that has a browser and is connected to the same network.

Compatibility and Tested Raspberry Pi Versions:

Model Compatible Tested
Raspberry Pi Pico
Raspberry Pi Zero WH
Raspberry Pi Zero W
Raspberry Pi Zero 2W
Raspberry Pi Zero
Raspberry Pi 2
Raspberry Pi 3 / 3B+
Raspberry Pi 4
Raspberry Pi 400

Installation

If you’re using the Raspberry Pi Camera Module, you need to enable the camera software in your Raspberry Pi in order to use it. In the Desktop environment, go to the Raspberry Pi Configuration window under the Preferences menu, open the Interfaces tab and enable the Camera as shown in figure below:

PICTURE

Or, in the Terminal window, type the following command: pi@raspberry:~ $ sudo raspi-config

You should see the Raspberry Pi software configuration tool: Select the Interfacing Options -> Enable the camera and reboot.

Find the Pi's IP address

To access your video streaming web server, you need to know your Raspberry Pi IP address. For that, use the following command: pi@raspberry:~ $ ifconfig

You’ll be given a bunch of information, including your Raspberry Pi IP address for example: 192.168.x.xxx

Download the Script from this Repository

git clone https://github.com/mastersubhajit/video_streaming_with_raspberry_pi_camera_module.git

Accessing the Live Stream

First run the script: pi@raspberrypi:~ $ python3 raspberry_pi_camera_streaming.py

Once the script is running, you can access your video streaming web server at: <Your_Pi_IP_Address>:8000

You can access the video streaming through any device that has a browser and is connected to the same network that your Pi.

cctv's People

Contributors

kkchaulagain avatar mastersubhajit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.