2 ms·
Depends on what you mean by MJPEG, it's not really standardized anywhere. I'm aware of at least two meanings: 1) Take a stream of images calculate images that
by pedrocr 11y ago
Depends on what you mean by MJPEG, it's not really standardized anywhere. I'm aware of at least two meanings:
1) Take a stream of images calculate images that are the differences between subsequent frames and then JPEG encode the first image and the subsequent differences. The decoder then does the opposite. Once you lose a frame you're done so its better to actually encode a full frame once in a while (do I and B frames like normal codecs).
2) Just push a set of full JPEG images as individual frames. This is the most common usage of MJPEG these days as it's what you get from IP surveillance cameras and stuff like that. This is actually reasonably standardized as it's basically HTTP multipart where each of the parts is just a new jpeg. If you point an HTML img tag to a HTTP GET endpoint like that most browsers will display a video stream.