In situations where the first stream probed by ffprobe is not the main video stream, we could get a KeyError when trying to use color_range. This fixes that by ensuring we the first valid video stream.
NOTE: There may be cases where a file has multiple valid video streams. This will always get the first valid one.
In situations where the first stream probed by ffprobe is not the main video stream, we could get a KeyError when trying to use
color_range
. This fixes that by ensuring we the first valid video stream.NOTE: There may be cases where a file has multiple valid video streams. This will always get the first valid one.