Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions documentation/asciidoc/accessories/camera/libcamera_vid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ where `<ip-addr>` is the IP address of the client, or multicast address (if appr
----
vlc udp://@:<port> :demux=h264
----
or alternatively
----
ffplay udp://<ip-addr-of-server>:<port> -fflags nobuffer -flags low_delay -framedrop
----
with the same `<port>` value.

===== TCP
Expand Down Expand Up @@ -84,5 +88,11 @@ and this can be played with
----
vlc rtsp://<ip-addr-of-server>:8554/stream1
----
or alternatively
----
ffplay rtsp://<ip-addr-of-server>:8554/stream1 -vf "setpts=N/30" -fflags nobuffer -flags low_delay -framedrop
----

In all cases, the preview window on the server (the Raspberry Pi) can be suppressed with the `-n` (`--nopreview`) option. Note also the use of the `--inline` option which forces the stream header information to be included with every I (intra) frame. This is important so that a client can correctly understand the stream if it missed the very beginning.

NOTE: Recent versions of VLC seem to have problems with playback of H.264 streams. We recommend using `ffplay` for playback using the above commands until these issues have been resolved.