[SOLVED] Exceeding the estimated network speed
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
[SOLVED] Exceeding the estimated network speed
Hi,
One of my video files has these following attributes:
- Overall bit rate: 24.7 Mb/s
- Format: DTS XLL.
Because of the audio codec not supported, it is transcoded. Very good.
The issue is that UMS estimates the network speed as 19 Mb/s (whereas my tv set displays 100/130 Mb/s; I can actually play the non transcoded video smoothly but with no sound) which leads ffmpeg to transcode the video as well (with the options -bufsize 19000k -maxrate 18000k).
I would like to bypass this speed limitation.
The MaxVideoBitrateMbps parameter has no effect.
Adding the line CustomFFmpegOptions = -bufsize 35000k -maxrate 30000k makes those two options appear twice in the ffmpeg process:
How can I do it ? Thanks
The ideal solution would be to be able to remove these options.
One of my video files has these following attributes:
- Overall bit rate: 24.7 Mb/s
- Format: DTS XLL.
Because of the audio codec not supported, it is transcoded. Very good.
The issue is that UMS estimates the network speed as 19 Mb/s (whereas my tv set displays 100/130 Mb/s; I can actually play the non transcoded video smoothly but with no sound) which leads ffmpeg to transcode the video as well (with the options -bufsize 19000k -maxrate 18000k).
I would like to bypass this speed limitation.
The MaxVideoBitrateMbps parameter has no effect.
Adding the line CustomFFmpegOptions = -bufsize 35000k -maxrate 30000k makes those two options appear twice in the ffmpeg process:
Code: Select all
/opt/ums/linux/ffmpeg -y -loglevel info -i /xxxxx/xxxxx/1HCF-RiCK.mkv -bufsize 19000k -maxrate 18000k -crf 23 -ab 320k -c:a aac -c:v libx264 -tune zerolatency -preset ultrafast -level 31 -pix_fmt yuv420p -f mpegts -bufsize 35000k -maxrate 30000k /tmp/UMS-ums/ffmpegvideo_44_1667945473361
The ideal solution would be to be able to remove these options.
Last edited by rhayy on Wed Nov 09, 2022 11:14 pm, edited 1 time in total.
Re: Exceeding the estimated network speed
If you turn off "Use automatic maximum bandwidth" and set maximum bandwidth to 0 then UMS will not try to limit transcoding to fit the bandwidth.
However if there is only 19Mb/s to your renderer then the video will probably hitch and stutter if it exceeds this.
That speed measurement might be low due to other reasons. It may be something else on the network was slowing it down, the connection type on the renderer may be limited/interference on WiFi etc. Best to try a wired connection to your router with both your computer and renderer and see if the speed improves.
However if there is only 19Mb/s to your renderer then the video will probably hitch and stutter if it exceeds this.
That speed measurement might be low due to other reasons. It may be something else on the network was slowing it down, the connection type on the renderer may be limited/interference on WiFi etc. Best to try a wired connection to your router with both your computer and renderer and see if the speed improves.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Exceeding the estimated network speed
This is spot on.
In UMS.conf file:
Optionnally, one can add (unit is Mb/s):
Thank you.
In UMS.conf file:
Code: Select all
automatic_maximum_bitrate = false
Code: Select all
maximum_bitrate = 100