Hot answers tagged


Checking color_primaries is the right approach. I use ffprobe to get the JSON output. Then you can parse the JSON output instead of searching for a string in the normal output. $ ffprobe -v error -show_streams -select_streams v:0 -of json -i test.mp4 { "streams": [ { "index": 0, "codec_name": &...

Only top voted, non community-wiki answers of a minimum length are eligible