Michael-
I’m looking to grab individual frames coming off a webcam that’s streaming mjpeg and inspect the images with my own software. The idea is to grab a frame, do some processing, loop back and grab another frame, do some more processing.
I don’t care what happens to the frames that come along while I’m processing. I just want the latest complete, decoded image coming off the webcam. By “de-coded image” I mean a bitmap format like Windows’ BMP format that allocates 3 bytes per color pixel or 1 byte per bw pixel.
Is there a way to configure ffmpeg to do that?
Thanks.