Expand description
Run ffprobe and parse its JSON output.
We deserialize only the fields DeepShrink needs and expose typed accessors.
Mapping into the core MediaInfo type happens in deepshrink-core so this
crate stays free of a dependency on core.
Structs§
- Ffprobe
- Top-level
ffprobe -show_format -show_streams -of jsonoutput (subset). - Format
- The
formatobject: container-level metadata. - Stream
- A single stream (video or audio).
Functions§
- probe
- Probe
inputwithffprobe, returning parsed metadata.