update documentation (#5418)

This commit is contained in:
Alessandro Ros
2026-02-07 19:41:43 +01:00
committed by GitHub
parent e0dac8724b
commit 2c93262635
10 changed files with 19 additions and 19 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
# Basic usage
1. Publish a stream. For instance, you can publish a video/audio file with _FFmpeg_:
1. [Publish](publish) a stream. For instance, you can publish a stream from a MP4 file with _FFmpeg_:
```sh
ffmpeg -re -stream_loop -1 -i file.ts -c copy -f rtsp rtsp://localhost:8554/mystream
ffmpeg -re -stream_loop -1 -i file.mp4 -c copy \
-f rtsp rtsp://localhost:8554/mystream
```
or _GStreamer_:
@@ -13,7 +14,7 @@
! qtdemux name=d d.video_0 ! queue ! s.sink_0 d.audio_0 ! queue ! s.sink_1
```
2. Read the stream. For instance, you can read the stream with _VLC_:
2. [Read](read) the stream. For instance, you can read the stream with _VLC_:
```sh
vlc --network-caching=50 rtsp://localhost:8554/mystream