Metadata-Version: 2.4
Name: klingai-media-inspect
Version: 0.1.0
Summary: Inspect local video dimensions, duration and frame rate with ffprobe
Author: highsfield
License-Expression: MIT
Project-URL: Homepage, https://klingai.me/
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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.

```sh
pip install klingai-media-inspect
```

## Usage

```sh
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.

## Related website

[Kling AI Video Generator](https://klingai.me/) 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

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

## License

MIT. Process only media you have permission to use.
