From 3cf341af808f8a5ab41aa81b2d52010f3a410115 Mon Sep 17 00:00:00 2001 From: nate contino Date: Mon, 9 Dec 2024 08:40:05 +0000 Subject: [PATCH] Update streaming.adoc Adapted from https://github.com/raspberrypi/documentation/pull/3955 Moved the suggested text into a better position in the instruction flow. --- documentation/asciidoc/computers/camera/streaming.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/asciidoc/computers/camera/streaming.adoc b/documentation/asciidoc/computers/camera/streaming.adoc index 562ac2b56..0d7e378a3 100644 --- a/documentation/asciidoc/computers/camera/streaming.adoc +++ b/documentation/asciidoc/computers/camera/streaming.adoc @@ -57,6 +57,13 @@ To use VLC to stream video over RTSP using a Raspberry Pi as a server, use the f $ rpicam-vid -t 0 --inline -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264 ---- +For the best performance on Raspberry Pi 5, use the following command instead, which adds libav to force the H264 format: + +[source,console] +---- +$ rpicam-vid -t 0 --inline --libav-format h264 -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264 +---- + To view video streamed over RTSP using a Raspberry Pi as a client, use the following command: [source,console]