[SOLVED] Exceeding the estimated network speed
Posted: Wed Nov 09, 2022 10:02 am
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.