bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.74k stars 1.4k forks source link

Adjustable bitrate and fps on the fly #3234

Closed pankajsaini1987 closed 1 month ago

pankajsaini1987 commented 2 months ago

Adaptive Bitrate and FPS on the fly

Describe the feature

Description it will be good if you can provide Adaptive bitrate and fps without restarting the stream, if i want to downgrade or upgrade the fps or bitrate to save hardware and resources, it will be really helpful.

aler9 commented 1 month ago

Hello, unfortunately inside the server we cannot re-encode the streams natively, for both performance and legal reasons. If you want to create some low resolution streams for each incoming stream, you can use FFmpeg inside runOnReady as described in the README:

https://github.com/bluenviron/mediamtx?tab=readme-ov-file#remuxing-re-encoding-compression