I am using ffmpeg to record a video using a Raspberry Pi with its camera module. I would like to run a image classifier on a regular interval for which I need to extract a f