Skip to content

Optimize bitstream buffer sizes with estimates #146

@YakoYakoYokuYoku

Description

@YakoYakoYokuYoku

I've noticed that OpenAPV uses bitstream buffers with a size of 128 mebibytes, which is not a quantity to ignore, while encoding to avoid potential issues of overflows. Ideally this number should be calculated according to average bitrate or a quantization parameter per what I understand instead of an arbitrary number. Meanwhile, decoding is a bit more flexible if packet sizes are known. An estimate can help when using a low or a high bitrate regardless.

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