Because MJPEG does not rely on interframe prediction (comparing one frame to the next), there are fewer artifacts, specifically in high-motion environments.
Understanding IP Camera Dorks: The Mechanics of "inurl:axis-cgi/mjpg" and Motion JPEG inurl+axis+cgi+mjpg+motion+jpeg+better
--myboundary Content-Type: image/jpeg Content-Length: [bytes] [Raw Binary JPEG Data] Use code with caution. Because MJPEG does not rely on interframe prediction
Unlike H.264/H.265, which use inter-frame compression (key frames and delta frames) to reduce file size, MJPEG compresses every single frame independently 1.2.3. there are fewer artifacts