Skip to content

ARK-Electronics/rtsp-server

Repository files navigation

RTSP Server

Pre-requisites

All

	sudo apt-get install -y  \
		libgstreamer1.0-dev \
		libgstreamer-plugins-base1.0-dev \
		libgstreamer-plugins-bad1.0-dev \
		libgstrtspserver-1.0-dev \
		gstreamer1.0-plugins-ugly \
		gstreamer1.0-tools \
		gstreamer1.0-gl \
		gstreamer1.0-gtk3 \
		gstreamer1.0-rtsp

Pi

sudo apt-get install -y gstreamer1.0-libcamera

Ubuntu 22.04, see antimof/UxPlay#121

sudo apt remove gstreamer1.0-vaapi

Build and run

Build

make

Run

./build/rtsp-server

View the stream

gst-launch-1.0 playbin uri=rtsp://0.0.0.0:5600/camera1 latency=0

or

gst-launch-1.0 rtspsrc location=rtsp://0.0.0.0:5600/camera1 latency=0 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published