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

Correct support for avc3, hev1? #857

Open
dalecurtis opened this issue Dec 9, 2024 · 1 comment
Open

Correct support for avc3, hev1? #857

dalecurtis opened this issue Dec 9, 2024 · 1 comment

Comments

@dalecurtis
Copy link
Contributor

  • Apparently avc3 and hev1 are specific forms for writing the AVC and HEVC bitstreams.
  • AVC1 and AVC3 don't differ much beyond the codec string, but HEV1 has a array_completeness value which should be set to 1 if parameter sets are expected to change.
  • WebCodecs VideoEncoder requires explicit config changes, so no matter what we always emit AVC1/HVC1 compliant streams.

The WebCodecs codec registry currently reports support for both of these forms. Should we remove that? Should we require implementations to set array_completeness=1 for HEV1 content even if we don't allow in-band parameter set changes?

@Djuffin @sandersdan

@StaZhu
Copy link
Contributor

StaZhu commented Dec 9, 2024

I think if its hev1/avc3, WebCodec should also include sps/pps/vps into the EncodedVideoChunk, so I dont need to extract codec description to get these parameter sets if they are changed.

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

2 participants