Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available in Dedicated Web Workers.
The EncodedVideoChunk interface of the WebCodecs API represents a chunk of encoded video data.
Creates a new EncodedVideoChunk object.
Returns a string indicating whether this chunk of data is a key chunk.
EncodedVideoChunk.timestamp Read onlyReturns an integer representing the timestamp of the video in microseconds.
EncodedVideoChunk.duration Read onlyReturns an integer representing the duration of the video in microseconds.
EncodedVideoChunk.byteLength Read onlyReturns an integer representing the length of the video in bytes.
Copies the encoded video data.
| WebCodecs # encodedvideochunk-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on May 8, 2024 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.