Raspberry Pi RTSP Stream

From ProjectPages
Jump to: navigation, search

Setup

Install vlc

sudo apt update && sudo apt upgrade -y
sudo apt install -y vlc

In the Raspberry Pi

libcamera-vid -o - -t 0 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream}' :demux=h264

To play the stream

rtsp://raspberrypi.local:8554/stream

Links