Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify maxrate? #134

Open
mbUSC opened this issue Jul 12, 2024 · 0 comments
Open

How to specify maxrate? #134

mbUSC opened this issue Jul 12, 2024 · 0 comments

Comments

@mbUSC
Copy link

mbUSC commented Jul 12, 2024

        Representation(Size(1920, 1080), Bitrate(overall=13000000)),
        Representation(Size(854, 720), Bitrate(overall=10000000)),
        Representation(Size(854, 480), Bitrate(overall=4000000)),
        Representation(Size(854, 360), Bitrate(overall=2000000)),
        Representation(Size(426, 240), Bitrate(overall=1000000))

Despite specifying the bitrates manually, the encoded video ends up being off by quite a bit:

Error: Measured peak bitrate compared to multivariant playlist declared value exceeds error tolerance
--> Detail:  Measured: 31840.51 kb/s, Multivariant playlist: 13000.00 kb/s, Error: 144.93%
--> Source:  www/charge/charge.m3u8
--> Compare: charge_1080p.m3u8

--> Detail:  Measured: 2575.27 kb/s, Multivariant playlist: 1000.00 kb/s, Error: 157.53%
--> Source:  www/charge/charge.m3u8
--> Compare: charge_240p.m3u8

--> Detail:  Measured: 5062.86 kb/s, Multivariant playlist: 2000.00 kb/s, Error: 153.14%
--> Source:  www/charge/charge.m3u8
--> Compare: charge_360p.m3u8

--> Detail:  Measured: 9977.83 kb/s, Multivariant playlist: 4000.00 kb/s, Error: 149.45%
--> Source:  www/charge/charge.m3u8
--> Compare: charge_480p.m3u8

--> Detail:  Measured: 23697.42 kb/s, Multivariant playlist: 10000.00 kb/s, Error: 136.97%
--> Source:  www/charge/charge.m3u8
--> Compare: charge_720p.m3u8

Is there a way to specify maxrate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant