dot-probe_format_field: Query a Container-Level Field via ffprobe

.probe_format_fieldR Documentation

Query a Container-Level Field via ffprobe

Description

Reads a format (container) field rather than a stream field, so it works for audio-only and video files alike. Used for duration, which is not always present on a given stream.

Usage

.probe_format_field(file, field)

Arguments

file

Path to media file.

field

The ffprobe format field (e.g. "duration").

Value

The field value as a character string.


compost documentation built on Aug. 4, 2026, 5:11 p.m.