# Convert the frame to grayscale and apply a simple transformation gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
if cv2.waitKey(1) & 0xFF == ord('q'): break 4_Kerolay_Chaves_(White_Fairyy2).mp4
# Probe the file to get metadata probe = ffmpeg.probe(input_file) # Convert the frame to grayscale and apply