@remotion/media-parser
available from v4.0.190
This is an experimental package that parses video and other media files in order to extract relevant metadata.
warning
Unstable API: This package is experimental. We might change the API at any time, until we remove this notice.
Design goals:
- Support as many relevant containers as possible - currently:
.mp4
,.mov
,.webm
,.mkv
,.avi
,.ts
- Work in the browser, and server runtimes (Node.js, Bun, Edge, etc.)
- Enable powerful WebCodecs use cases
- Fine-grained querying, only download as much data as necessary
- Functional TypeScript API
- Be useful when passing unsupported media
- Solve problems that are relevant for Remotion users
Installation
- npm
- yarn
- pnpm
- bun
npm i --save-exact @remotion/media-parser@4.0.242
npm i --save-exact @remotion/media-parser@4.0.242
pnpm i @remotion/media-parser@4.0.242
pnpm i @remotion/media-parser@4.0.242
bun i @remotion/media-parser@4.0.242
bun i @remotion/media-parser@4.0.242
yarn --exact add @remotion/media-parser@4.0.242
yarn --exact add @remotion/media-parser@4.0.242
Also update
remotion
and all `@remotion/*`
packages to the same version.Remove all
^
character in front of the version numbers of it as it can lead to a version conflict.Guide
APIs
The following APIs are available: