Skip to content

Commit

Permalink
Update streaming.adoc
Browse files Browse the repository at this point in the history
Adapted from #3955

Moved the suggested text into a better position in the instruction flow.
  • Loading branch information
nathan-contino authored Dec 9, 2024
1 parent d6df08d commit 3cf341a
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 3cf341a

Please sign in to comment.