Skip to content

Latency and bidirectionally predicted frames in VideoEncoder. #57

Open
@riju

Description

@riju

VideoEncoder can increase coding efficiency by referencing future frames when coding a frame (eg. B-frames). However, this also increases latency since the future frames need to be decoded before the bidirectionally encoded frames. This is not desirable in all use cases such as video conferencing.

How about adding maxPredictionFrames -

dictionary VideoEncoderEncodeOptions {
  .. 
  unsigned long maxPredictionFrames;
};

which gives the maximum number of future frames to use for prediction. Setting maxPredictionFrames to 0 would disable B-frames altogether.

Related to #55 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensionInterface changes that extend without breaking.researchIssues that require researching the properties of existing codecs or codec implementations.tuning-parameterA configurable parameter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions