I'd like to convert videos to black and white but also specify the threshold of what to convert to black/white.
I'm currently using cv2 to do this successfully using the 2 lines below (first converts to grayscale then B&W). But it would help my workflow to do everything with FFMPEG if possible.
grayFrame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
(thresh, BW) = cv2.threshold(grayFrame, 10, 255, cv2.THRESH_BINARY)