Skip to main content

Video Shot Budget

Split a clip length in milliseconds among positive integer beat weights. The returned durations sum to the original length. The optional minimum reserves time for each beat before weighted allocation. Equal remainders favor earlier beats.

Try VidFomo's Seedance 2.5 generator to turn a timed brief or image references into a short clip. Choose the clip duration and whether to generate audio, so you can plan the reveal, hold, and sound together before reviewing the result.

Usage

from video_shot_budget import allocate

allocate(9000, [1, 2, 1], minimum_ms=1000)  # [2500, 4000, 2500]

This is an independent utility released under the MIT license.

Metadata

Release files for video-shot-budget 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video-shot-budget 0.1.0
File Size Uploaded Provenance Actions
video_shot_budget-0.1.0.tar.gz 2.9 kB Without provenance Details for video_shot_budget-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for video-shot-budget 0.1.0
File Interpreter ABI Platform Actions
video_shot_budget-0.1.0-py3-none-any.whl Python 3 none any Details for video_shot_budget-0.1.0-py3-none-any.whl

Total release size: 6.1 kB

Release files / video_shot_budget-0.1.0.tar.gz

Download URL video_shot_budget-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9fce65c7ae2d967e98fb0ca047fb771ebd6231836e5b934a11ec201bb85f2dd9
BLAKE2b-256 checksum
How to use checksums
3f2f7d5df63d0fe7fc63630f9887e4d89f31768a47f78b29374581b739e6a3a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / video_shot_budget-0.1.0-py3-none-any.whl

Download URL video_shot_budget-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dc6c7db55a764b9de44251e59ab74130d9254fa54d8f996c5c31cff9761b74a
BLAKE2b-256 checksum
How to use checksums
ac0cb0a19a69061036346ca1e5fb6e925b3b884599b501ff7d4ca331e6f268cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Security for video-shot-budget 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page