Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. EncodedVideoChunk

EncodedVideoChunk

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available inDedicated Web Workers.

TheEncodedVideoChunk interface of theWebCodecs API represents a chunk of encoded video data.

Constructor

EncodedVideoChunk()

Creates a newEncodedVideoChunk object.

Instance properties

EncodedVideoChunk.typeRead only

Returns a string indicating whether this chunk of data is a key chunk.

EncodedVideoChunk.timestampRead only

Returns an integer representing the timestamp of the video in microseconds.

EncodedVideoChunk.durationRead only

Returns an integer representing the duration of the video in microseconds.

EncodedVideoChunk.byteLengthRead only

Returns an integer representing the length of the video in bytes.

Instance methods

EncodedVideoChunk.copyTo()

Copies the encoded video data.

Specifications

Specification
WebCodecs
# encodedvideochunk-interface

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp