Skip to main content

KlingAI Media Inspect

Inspect local video dimensions, duration and frame rate with ffprobe. A standalone local Python utility for media production workflows.

Install

Requires Python 3.10 or newer.

pip install klingai-media-inspect

Usage

klingai-media-inspect clip.mp4 --max-seconds 15
klingai-media-inspect --help

Behavior and limitations

Requires FFmpeg/ffprobe installed separately on PATH. Reads the first non-cover-art video stream. Width and height are encoded dimensions, without applying rotation. Duration and frame rate may be null when unavailable. An exceeded duration limit prints the report then exits 1. This is a user-selected limit, not a claim about current Kling model restrictions. The utility is independent of Kuaishou and is not an official Kling SDK. Does not encode, upload or generate video.

No account, API key or network request is used by this package. Existing output files are never overwritten. File-producing commands fail if the target already exists. CLI validation/read/write failures exit 1; argument errors exit 2.

Kling AI Video Generator is the related website. The local utility is separate from the website's online generation service; installing it does not provide AI generation or website credits.

Development

python -m pip install -e .
python -m unittest discover -s tests
python -m build

License

MIT. Process only media you have permission to use.

Metadata

Release files for klingai-media-inspect 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for klingai-media-inspect 0.1.0
File Interpreter ABI Platform Actions
klingai_media_inspect-0.1.0-py3-none-any.whl Python 3 none any Details for klingai_media_inspect-0.1.0-py3-none-any.whl

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

Download URL klingai_media_inspect-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
281e8136449d2672570fd8a0c63ea10b15238037d1c0e9532db235ef1d07a88c
BLAKE2b-256 checksum
How to use checksums
375597c8d82706819d6955335000fbc151fa2c9c5775507639fd11611296ad99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Security for klingai-media-inspect 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

1 release file 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