Replies: 2 comments 1 reply
-
Can anybod help me? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello, conversion from RTSP to WebRTC is automatic. In order to ingest a RTSP stream into the server, instructions are here: in order to read with WebRTC and a web browser, instructions are here: If you want to use H265, you have to convert it to H264. Instructions are here: Putting all together: paths:
cam1:
sourceOnDemand: true
source: rtsp://user:pw@192.168.1.67:554/cam/realmonitor?channel=1&subtype=2
runOnReady: >
ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH
-pix_fmt yuv420p -c:v libx264 -preset ultrafast -b:v 600k
-max_muxing_queue_size 1024 -f rtsp rtsp://localhost:$RTSP_PORT/cam1_compressed Then use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello,
I would like to read a RTSP H265 stream from a camera and read with a Webbrowser from Server over WEBRTC.
How i must config the MEdiaMTX in yml?
This is my config for H264 from the camera.
I have read for H265 i must transcode with ffmpeg the RTSP H265 to WebRTC H264.
paths:
cam1:
sourceOnDemand: true
source: rtsp://user:pw@192.168.1.67:554/cam/realmonitor?channel=1&subtype=2
Beta Was this translation helpful? Give feedback.
All reactions