mediainfo --Output=JSON video.mp4

Category: Media & Conversion

mediainfo --Output=JSON video.mp4

Dump media information as JSON

Outputs the full media report as JSON for scripts and tools. Pipe through jq to pull specific fields. Other output formats include XML and a CSV-ish summary.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.