estimate_video_bitrate
Calculate encoded video file size from duration and bitrate, derive a target bitrate to meet a file-size cap, and assess bits-per-pixel density for quality planning.
Instructions
Calculate encoded video file size (bytes, MiB, MB) from duration and bitrate, target bitrate for a file-size cap, and bits-per-pixel density.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Optional frame rate for bits-per-pixel. | |
| widthPx | No | Optional frame width in pixels for bits-per-pixel. | |
| heightPx | No | Optional frame height in pixels for bits-per-pixel. | |
| totalKbps | No | Total bitrate (video + audio) in kbps (decimal). | |
| durationSec | Yes | Clip duration in seconds. | |
| targetBytes | No | Optional file-size cap in bytes to compute max kbps. |