Raspberry Pi RTSP Server for live video translation. It is making your Raspberry works just like an IP Camera!
Video is captured using Pi Camera, packed in JPEG and sent over the RTSP/RTP protocol.
Tested with Rasbperry Pi 3 B+, Raspbian GNU/Linux 10 (buster), libjpeg-turbo0 v1:1.5.2-2+deb10u1
.
Also checkout my Media Server.
Supported RTSP methods:
OPTIONS
DESCRIBE
SETUP
PLAY
TEARDOWN
Video will be placed on rtsp://yourip:5544/jpeg
url
- Only one client, who is playing video, at a time
- Only 10 fps or lower
- No RTCP support
- No config support
- No file logging support
- No authorization support
- No encryption support
This project has 3 dependencies:
- Raspberry Pi Camera — camera device especially for Raspberry Pi. Don't forget to turn it on in the
raspi-config
! - raspicam — allows to grab image from Raspberry Pi Camera. It comes as a git submodule
- libjpeg-turbo — allows working with JPEG data. I am using it to compress raw data from camera to JPEG encoded image. This one you should install with
sudo apt install libturbojpeg0-dev
Make sure you have installed libjpeg-turbo👆
git clone --recursive https://github.com/Arjentix/Pi-RTSP-Server
cd Pi-RTSP-Server
mkdir build
cd build
cmake ..
cmake --build . -j8
- Keeps sending data if client disconnected without
TEARDOWN
method sent