Replies: 1 comment
-
Hello, this is what you're looking for: paths:
compressed:
original:
source: my-source
runOnReady: >
ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH
-c:v mjpeg -q:v 3 -f rtsp rtsp://localhost:$RTSP_PORT/compressed
runOnReadyRestart: yes FFmpeg is in charge of re-encoding things, not MediaMTX, therefore the right place where you can find the configuration is the FFmpeg documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I'm trying to figure out how to convert RTSP with H.264 encoding to RTSP with M-JPEG encoding. I've been through the docs, and just haven't been able to work it out.
Beta Was this translation helpful? Give feedback.
All reactions