probe_media
Inspect a media file to retrieve its codec, resolution, fps, duration, bitrate, and audio specs from a relative path.
Instructions
Technical specs (codec, resolution, fps, duration, bitrate, audio) of a media file.
Args:
path: File path relative to the configured media root, e.g. "sample_1080p.mp4".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| container | Yes | ||
| has_audio | Yes | ||
| duration_s | Yes | ||
| video_codec | Yes | ||
| bitrate_kbps | Yes |