All Projects → sahilparekh → GStreamer-Python

sahilparekh / GStreamer-Python

Licence: MIT license
Fetch RTSP Stream using GStreamer in Python and get image in Numpy

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to GStreamer-Python

camera-live-streaming
Camera Live Streaming with Flask and Open-CV
Stars: ✭ 69 (-14.81%)
Mutual labels:  rtsp, opencv-python, rtsp-stream
gstreamer-rtc-streamer
webrtc streamer based on gstreamer
Stars: ✭ 65 (-19.75%)
Mutual labels:  rtsp, gstreamer
iterative-grabcut
This algorithm uses a rectangle made by the user to identify the foreground item. Then, the user can edit to add or remove objects to the foreground. Then, it removes the background and makes it transparent.
Stars: ✭ 35 (-56.79%)
Mutual labels:  opencv-python, opencv2
rtsp-relay
📽 View an RTSP stream in your web browser using an express.js server
Stars: ✭ 153 (+88.89%)
Mutual labels:  rtsp, rtsp-stream
Arkit2.0 Prototype
After Apple’s introduction of ARKit 2, we have been consistently working behind to create shared-AR experiences. Our goal is to improve the utility of mobile using AR experiences.
Stars: ✭ 236 (+191.36%)
Mutual labels:  sample, example
Play Scala Starter Example
Play Scala Starter Template (ideal for new users!)
Stars: ✭ 238 (+193.83%)
Mutual labels:  sample, example
node-rtsp-recorder
Records and saves RTSP Video Streams
Stars: ✭ 50 (-38.27%)
Mutual labels:  rtsp, rtsp-stream
Play Scala Isolated Slick Example
Example Play Slick Project
Stars: ✭ 155 (+91.36%)
Mutual labels:  sample, example
play-scala-seed.g8
Play Scala Seed Template: run "sbt new playframework/play-scala-seed.g8"
Stars: ✭ 66 (-18.52%)
Mutual labels:  sample, example
play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (-45.68%)
Mutual labels:  sample, example
UAV-Stereo-Vision
A program for controlling a micro-UAV for obstacle detection and collision avoidance using disparity mapping
Stars: ✭ 30 (-62.96%)
Mutual labels:  opencv-python, opencv2
Play Scala Websocket Example
Example Play Scala application showing WebSocket use with Akka actors
Stars: ✭ 194 (+139.51%)
Mutual labels:  sample, example
Unitymathreference
Math reference for games and more. All visualized in Unity3D.
Stars: ✭ 166 (+104.94%)
Mutual labels:  sample, example
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (-48.15%)
Mutual labels:  sample, example
Play Java Starter Example
Play starter project in Java (ideal for new users!)
Stars: ✭ 164 (+102.47%)
Mutual labels:  sample, example
Gestures-Samples
Project Prague Code Samples
Stars: ✭ 98 (+20.99%)
Mutual labels:  sample, code
Golang Gin Realworld Example App
Exemplary real world application built with Golang + Gin
Stars: ✭ 1,780 (+2097.53%)
Mutual labels:  sample, example
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (+70.37%)
Mutual labels:  sample, example
Dagger2-Sample
Very simple example to use Dagger 2
Stars: ✭ 13 (-83.95%)
Mutual labels:  sample, example
vidpipe
Video data processing pipeline using OpenCV
Stars: ✭ 33 (-59.26%)
Mutual labels:  numpy, opencv-python

GStreamer-Python

This project helps in fetching continous live RTSP stream using GStreamer, Python and numpy without compromising on stream quality.

multiprocessing is used in python to avoid main thread getting stuck.

Getting Started

Just clone this Repo then in main_prg.py add your rtsp stream on below line:

self.camlink = '' #Add your RTSP cam link

Prerequisites

  1. Python 3
  2. GStreamer
  3. OpenCV (if you want to run this example as is)
  4. Numpy
1. Python 3 Installation

This you would already know

2. GStreamer Installation

You will need GStreamer. Installation instruction can be found on this link GStreamer Still for your quick reference will list installation instruction for Ubuntu:

apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
3. OpenCV Installation

There are various way to install OpenCV but example using (Conda, PIP or build from source). But for purpose of this project below is instruction using PIP

pip3 install opencv-contrib-python
4. Numpy Installation
pip3 install numpy

Running the program

Post cloning the Repo, go to repo dir (Also include cam link in main_prg.py as mentioned above).

python3 main_prg.py

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Star the REPO, if you find it useful. Feel free for pull requests.

CHEERS!!!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].