Skip to content

amanwalia123/Gstreamer-Streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gstreamer Streaming

This repository contain code to stream video from camera to other machine on local network using Gstreamer.This code provide a convenient wrapper API in C++ to stream to multiple clients.This project can be used wrapper code for streaming of camera frames with very low latency.It can also be used to add multiple sinks.

Getting Started

Download or clone this repository to your local Raspberry File System.

Prerequisites

You need to have installed GStreamer on both source and target machines.This can be done using

sudo apt-get install gstreamer-1.0* 

Installing

Download this project to your machine. Move to the folder using

cd Gstreamer-Streaming

And compile using

g++ -o streamer qstreamer.cpp qstreamer.h Test.cpp  `pkg-config --cflags --libs gstreamer-1.0`

Run this using

./streamer

Provide the respective details.

Target machine viewing frames

Use gstreamer pipeline mentioned below to view the camera stream:

gst-launch-1.0 -v udpsrc port=9000 ! "application/x-rtp, payload=96" ! rtpjpegdepay ! jpegdec ! autovideosink

Authors

  • Amanpreet Walia

License

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

Releases

No releases published

Packages

No packages published

Languages