I'm trying to extract jpeg images from an mjpeg stream. I've done a search and found a few sources, but those were extracting jpeg images from a mjpeg file, such as this one here. In my case, I don't have a file, but a live video stream. How can I extract jpeg images from this mjpeg stream? My goal at the end of the day is to recreate the video from a series of jpegs.
I'm looking for a command line answer to use in a terminal, as I'm using Ubuntu Server without GUI. If possible, it'd be great if frame rate and/or quality can be configured. I've looked at ffmpeg, libav and vlc, but I can't quite figure it out. Can anyone help?