w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.

Home Page:https://w3c.github.io/webcodecs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How many frame need to be decoded before output callback is invoked in webcodec(avc1.640028)

GuichiZhao opened this issue · comments

https://stackoverflow.com/questions/76251657/how-many-frame-need-to-be-decoded-before-output-callback-is-invoked-in-webcodec

Sorry for copying the question here, but it seems the topic is not that popular in stackoverflow

Please do not post support question here, this is an issue tracker for the specification.

The answer to your question depends on the codec, and how the video has been encoded.

Web Codecs has nothing to do with requestAnimationFrame, it's likely that your code is doing something strange that results in an improper API usage.