Skip to main content

getAvailableVideoCodecs()

Given a container, get a list of video codecs that the container can hold.
This does not mean that a any video stream of this codec can be put into the container.
Use canReencodeVideoTrack() and canCopyVideoTrack() to determine this.

Get available video codecs for a container
tsx
import {getAvailableVideoCodecs} from'@remotion/webcodecs';
getAvailableVideoCodecs({container: 'webm'}); // ['vp8', 'vp9']

See also

AltStyle によって変換されたページ (->オリジナル) /