Back to Remotion

@remotion/webcodecs

packages/docs/docs/webcodecs/index.mdx

4.0.4641.8 KB
Original Source

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import {TableOfContents, WebCodecsGuide} from './TableOfContents';

:::warning We are phasing out Remotion WebCodecs and are moving to Mediabunny! :::

available from v4.0.229

This package provides APIs for converting videos in the browser.
It leverages @remotion/media-parser to parse the video and audio data, and then uses the WebCodecs API to encode the video.

import {LicenseDisclaimer} from './LicenseDisclaimer'; import {UnstableDisclaimer} from './UnstableDisclaimer';

What can you do with this package?

In browsers that implement WebCodecs, you can use this package to:

Is it fast?

Unlike solutions which leverage WebAssembly, WebCodecs have full access to GPU acceleration.
You can expect vastly faster processing than with online converters or WebAssembly-based processing.

See a comparison here.

💼 License Disclaimer

<LicenseDisclaimer />

🚧 Unstable API Warning

<UnstableDisclaimer />

Installation

<Installation pkg="@remotion/webcodecs" />

Guide

<WebCodecsGuide />

APIs

The following APIs are available:

<TableOfContents />