Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Media duration and dimensions with Mediabunny v1.0.0

Use this resource to read the duration and dimensions of an audio or video file in the browser

New

  • 406 downloads
  • 131 likes
  • 243 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install browser-media-duration-dimensions

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent uses Mediabunny to read a media file's metadata in the browser: duration in seconds of an audio or video, width and height of a video. You get the code that reads these values before any upload or processing.

Mostly picked by

Updated November 2, 2026

Card for the “Media duration and dimensions with Mediabunny” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: library overview and pointers per task
  • get-audio-duration.md, get-video-dimensions.md and get-video-duration.md: code for each task

Good fit for

  • You want to limit the length of a file uploaded by a user
  • You display a video's dimensions before upload

Not for

    Tags

    • media
    • video
    • audio

    About

    You say

    “Check in the browser that the uploaded video is under 60 seconds and 1080 px wide.”

    Card for the “Media duration and dimensions with Mediabunny” skill

    Skill published by guanyang under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to read the duration and dimensions of an audio or video file in the browser
    3. Review and adjust the result

    Content preview

    Files

    • get-audio-duration.md1.4 KB
    • get-video-dimensions.md1.7 KB
    • get-video-duration.md1.4 KB
    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md0.8 KB

    Origin and licence

    Listed unmodified

    Author
    guanyang
    Source
    github.com/guanyang/open-agent-hub/tree/dbefc83e32a42b7319fef8af75e3e307506251c8/skills/mediabunny
    Licence
    MIT

    Notice

    « mediabunny » (guanyang, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.