forked from External/mediamtx
update readme
This commit is contained in:
parent
e3d00878b3
commit
d407e0117d
1 changed files with 2 additions and 3 deletions
|
|
@ -355,13 +355,12 @@ To save available streams to disk, you can use the `runOnReady` parameter and _F
|
|||
|
||||
```yml
|
||||
paths:
|
||||
all:
|
||||
original:
|
||||
mypath:
|
||||
runOnReady: ffmpeg -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c copy -f segment -strftime 1 -segment_time 60 -segment_format mpegts saved_%Y-%m-%d_%H-%M-%S.ts
|
||||
runOnReadyRestart: yes
|
||||
```
|
||||
|
||||
In the example configuration, streams are saved into TS files, that can be read even if the system crashes, while MP4 files can't.
|
||||
In the configuratio above, streams are saved into TS files, that can be read even if the system crashes, while MP4 files can't.
|
||||
|
||||
### On-demand publishing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue