8000 How to specify maxrate? · Issue #134 · quasarstream/python-ffmpeg-video-streaming · GitHub
[go: up one dir, main page]

Skip to content
How to specify maxrate? #134
@mbUSC

Description

@mbUSC
        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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0