Skip to content
SkillModel-led141 tokens in use

remotion-multimedia

Read audio duration, video duration and video dimensions with Mediabunny in the browser, Node.js or Bun.

7,648 stars on the repositoryremotion-dev/skills · skills/remotion-multimedia
npx skills add remotion-dev/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing remotion-multimedia costs

11tokens idle
141tokens in use
1,318tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Needs attention
  • Frontmatter4/15
  • Structure5/25
  • Examples0/15
  • Output0/15
  • Size15/15
  • Resources11/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity88
  • Maintenance48
  • Community52
  • Maturity32
  • Momentum40

Guidance for handling audio and video files with Mediabunny, a multimedia library for the browser. The skill links Mediabunny’s compact llms.txt overview and gives three short recipes: audio duration in seconds, video duration in seconds, and video width and height.

Each recipe shows the URL source for the browser and Remotion’s staticFile, the file path source for Node.js and Bun, and the blob source for a File from an input or a drop.

What You Get

  • A getAudioDuration function using computeDuration
  • A getVideoDuration function using computeDuration
  • A getVideoDimensions function reading displayWidth and displayHeight from the primary video track
  • Notes for staticFile in Remotion, FilePathSource in Node.js and Bun, and BlobSource for File objects
  • A link to Mediabunny’s llms.txt for a wider capability overview

Common Use Cases

  • Setting a composition’s duration from a video file in calculateMetadata
  • Sizing a composition to the source video’s dimensions
  • Timing a scene to a narration audio file
  • Reading metadata of a file a user dropped onto a page

What Makes It Unique

It gives ready recipes for the three metadata questions Remotion projects ask most often, in the Mediabunny API, which runs in the browser as well as on the server. It also reminds the agent to dispose of the input in Node.js and Bun to close the file handle.

Under The Hood

The skill is instructions with code samples and no scripts. The agent is pointed to the Mediabunny llms.txt page on the network and writes TypeScript that opens media files from a URL, a project file path or a File object. Reading a file path touches the local disk. The skill does not run commands of its own.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers