[Resolved] ffmpeg web video maximum bitrate inconsistency
[Resolved] ffmpeg web video maximum bitrate inconsistency
I noticed with ffmpeg web video that the -maxrate parameter doesn't reflect the maximum bandwidth value specified in the UI.
Maximum bandwidth 5Mb/s ---> maxrate 1000000
Maximum bandwidth 10Mb/s ---> maxrate 4000000
Maximum bandwidth 50Mb/s ---> maxrate 24000000
Is this there any logic behind this?
Maximum bandwidth 5Mb/s ---> maxrate 1000000
Maximum bandwidth 10Mb/s ---> maxrate 4000000
Maximum bandwidth 50Mb/s ---> maxrate 24000000
Is this there any logic behind this?
Re: 3.0.0.b1 ffmpeg web video maximum bitrate inconsistency
Are you using the latest build?
If so and you utilized the Configuration wizard, i would think its because of these settings. (Automatic settings...)
If so and you utilized the Configuration wizard, i would think its because of these settings. (Automatic settings...)
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: 3.0.0.b1 ffmpeg web video maximum bitrate inconsistency
Using the 3.0.0.b1 release, not the latest build.
In my tests maxrate is independent of the transcoding quality.
In my tests maxrate is independent of the transcoding quality.
Re: 3.0.0.b1 ffmpeg web video maximum bitrate inconsistency
What I remember the formula is something like:
[/size]
Division by 2 is used because UMS caches 2seconds of data and sends it to renderer so sent data are twice the counted bitrate.
Code: Select all
(Max_bitrate divided by 2) - Audio_Bitrate
Division by 2 is used because UMS caches 2seconds of data and sends it to renderer so sent data are twice the counted bitrate.
Code: Select all
Maximum bandwidth 10Mb/s ---> maxrate 4000000 ----> (4Mbit video + 1Mbit audio) *2 = 10Mbit limit
Maximum bandwidth 50Mb/s ---> maxrate 24000000 ----> (24Mbit video + 1Mbit audio) *2 = 50Mbit limit
Re: [Resolved] ffmpeg web video maximum bitrate inconsistenc
Thank you. This explains why I was having problems with CustomFFmpegOptions.