mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-10 12:22:07 -08:00
fix raspberry camera pipeline
This commit is contained in:
parent
5d57bd8165
commit
e8f25d8d00
1 changed files with 2 additions and 2 deletions
|
|
@ -363,11 +363,11 @@ Then edit `rtsp-simple-server.yml` and replace everything inside section `paths`
|
|||
```yml
|
||||
paths:
|
||||
cam:
|
||||
runOnInit: gst-launch-1.0 rpicamsrc preview=false bitrate=2000000 keyframe-interval=50 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! rtspclientsink location=rtsp://localhost:$RTSP_PORT/$RTSP_PATH
|
||||
runOnInit: gst-launch-1.0 rpicamsrc preview=false bitrate=2000000 keyframe-interval=50 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! rtspclientsink location=rtsp://localhost:$RTSP_PORT/$RTSP_PATH
|
||||
runOnInitRestart: yes
|
||||
```
|
||||
|
||||
After starting the server, the webcam is available on `rtsp://localhost:8554/cam`.
|
||||
After starting the server, the camera is available on `rtsp://localhost:8554/cam`.
|
||||
|
||||
### Convert streams to HLS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue