- Home
- Skills
- Productivity
- Clip Size — Paste Bitrate and Length, Get File Size
Clip Size — Paste Bitrate and Length, Get File Size
Paste one clip per CSV row and estimate file bytes from video bitrate, optional audio bitrate and duration, as decimal MB and binary MiB.
$5
Works with the AI Agents you already use
Clip Size — Paste Bitrate and Length, Get File Size
Example session with this skill installed
python3 scripts/clip_size.py examples/clips.csv
- Read your context and instructions
- Compiled the clip size
Line Label Video Audio Seconds MB MiB
2 Demo, one 5000000 128000 60.0 38.46 36.68
3 Silent sample 5000000 none 60.0 37.50 35.76
Total — — — 120.0 75.96 72.44
2 readable rows; 0 unreadable lines.
Audio none means audio bitrate was not supplied.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one clip per CSV row. Clip Size estimates file bytes from video bitrate, optional audio bitrate, and duration, then reports decimal MB and binary MiB. It calculates size only; it does not estimate container overhead or advise on image quality.
Accepted input
The header is label,video,audio,length. Quote values containing commas. Bitrates need an attached bps, kbps, or Mbps unit. Length accepts seconds, m:ss, or h:mm:ss; clock seconds and minutes must be below 60. Audio may be blank, which means no audio bitrate is added. Invalid rows are marked unreadable while later rows continue.
Formula
bytes = (video bps + optional audio bps) × seconds ÷ 8. MB = bytes ÷ 1,000,000; MiB = bytes ÷ 1,048,576. For example, 5000kbps video plus 128kbps audio for 60 seconds gives 38.46 MB and 36.68 MiB. Container overhead is excluded; actual media files may be larger.
Output
Choose --format text (default), markdown, csv, or json. Use - as the input path to read from standard input. --output PATH creates a new UTF-8 file and never overwrites.
Quick start
python3 scripts/clip_size.py examples/clips.csv
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.
This tool estimates from supplied values and does not inspect a source media file. It does not add container overhead, infer units, convert bytes per second, or assess quality. A malformed header or unreadable file encoding exits with code 2 and one error line.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+