Skip to content

Commit

Permalink
Merge pull request #3960 from raspberrypi/streaming-command-pi5-updat…
Browse files Browse the repository at this point in the history
…e-libav

Add (required for Pi 5?) libav command to rpicam-vid RTSC streaming instructions
  • Loading branch information
nathan-contino authored Dec 9, 2024
2 parents d6df08d + 3cf341a commit 3f5535c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions documentation/asciidoc/computers/camera/streaming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3f5535c

Please sign in to comment.