GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

4 results across 6 corpora for VideoEncoder: VideoEncoder() constructor.

Developer library 4

VideoEncoder

WebCodecs APIwindow_and_dedicated The **`VideoEncoder`** interface of the encodes VideoFrame objects into EncodedVideoChunks. ## Constructor - VideoEncoder() - : Creates a new `VideoEncoder` object. ## Instance properties _Inherits properties from its parent, EventTarget._ - VideoEncoder.encodeQueueSize - : An integer representing the number of encode queue requests. - VideoEncoder.state - : Represen

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/VideoEncoder

VideoEncoder: configure() method

WebCodecs APIwindow_and_dedicated The **`configure()`** method of the VideoEncoder interface changes the state of the encoder to "configured" and asynchronously prepares the encoder to accept VideoEncoders for encoding with the specified parameters. If the encoder doesn't support the specified parameters or can't be initialized for other reasons an error will be reported via the error callback provided to the VideoE

VideoEncoder: VideoEncoder() constructor

WebCodecs APIwindow_and_dedicated The **`VideoEncoder()`** constructor creates a new VideoEncoder object with the provided `options.output` callback assigned as the output callback, the provided `options.error` callback as the error callback, and sets the VideoEncoder.state to `"unconfigured"`. ## Syntax ```js-nolint new VideoEncoder(options) ``` ### Parameters - `options` - : An object containing two required

VideoEncoder: encode() method

WebCodecs APIwindow_and_dedicated The **`encode()`** method of the VideoEncoder interface asynchronously encodes a VideoFrame. Encoded data (EncodedVideoChunk) or an error will eventually be returned via the callbacks provided to the VideoEncoder constructor. ## Syntax ```js-nolint encode(frame) encode(frame, options) ``` ### Parameters - `frame` - : A VideoFrame object. - `options` - : An object containing

JSON results · Services directory