CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
489 stars 55 forks source link

I think I am doing this wrong? Adjust bitrate in real time via control port. #312

Closed TheSashmo closed 1 year ago

TheSashmo commented 1 year ago

Trying to adjust bitrate in real time via control port. I can do a wide range of things through control port already but I can't seem to figure out how to change the bitrate. This is the message I get.

compresss libavcodec:encoder=libx264:bitrate=10000k 202 Accepted (receiver not yet exists) nothing happens

compress param libavcodec:encoder=libx264:bitrate=10000k 202 Accepted nothing happens

Update looks like the documentation needs to be updated. Proper command is: compress param encoder=libx264:bitrate=10M

mpiatka commented 1 year ago

Both

compress libavcodec:encoder=libx264:bitrate=10000k

and

compress param encoder=libx264:bitrate=10M

work for me. Though it seems like there is a typo in your command (extra s in compress).