For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
probe_video
probe_video()
max.pipelines.context.probe_video(source, default_fps=30.0)
Reads a video’s header without decoding any frame.
-
Parameters:
-
Returns:
-
The stream metadata.
num_framesis the header’s best-effort count and may be0or simply wrong;decode_video_frames()corrects it against the frames a decode actually produces. -
Raises:
-
MediaDecodeError – If the source is not a readable video.
-
Return type: