remotion-dev / skills
remotion-multimedia
Work with audio, video, and mixed media assets in Remotion compositions.
Install
npx skills add https://github.com/remotion-dev/skills --skill remotion-multimedia- metadata
- tags: dimensions, width, height, resolution, size, video
Getting video dimensions with Mediabunny
Mediabunny can extract the width and height of a video file. It works in browser, Node.js, and Bun environments.
Getting video dimensions
Usage
Using with local files
For a File from a file input or drag and drop, use BlobSource instead of UrlSource:
In Node.js and Bun, use new FilePathSource(path) to read a file from disk, and call input.dispose() when done.