@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.)
- Fine-grained querying, only download as much data as necessary
- Functional TypeScript API
- Solve problems that are relevant for Remotion users
Installation
- npm
- yarn
- pnpm
- bun
npm i --save-exact @remotion/media-parser@4.0.239
npm i --save-exact @remotion/media-parser@4.0.239
pnpm i @remotion/media-parser@4.0.239
pnpm i @remotion/media-parser@4.0.239
bun i @remotion/media-parser@4.0.239
bun i @remotion/media-parser@4.0.239
yarn --exact add @remotion/media-parser@4.0.239
yarn --exact add @remotion/media-parser@4.0.239
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: