Video SurveillanceVideo Surveillance

MJPEGMotion JPEG

TL;DR

  • 1MJPEG stands for Motion JPEG: each video frame is compressed like a separate image.
  • 2It can be useful for simple browser streams, legacy integrations, and frame-by-frame inspection, but it is inefficient for long retention.
  • 3For most security video, H.264 or H.265 is better for bandwidth and storage unless a specific integration requires MJPEG.
  • 4MJPEG is easy to decode but expensive for storage and bandwidth.
  • 5For 30-day CCTV retention, MJPEG can make a storage quote much larger than H.264 or H.265.
  • 6Use the storage calculator before approving camera settings for commercial perimeter projects.

Definition

MJPEG is a video compression format that sends each frame as a separate JPEG image. It is simple and broadly compatible, but it usually uses much more bandwidth and storage than H.264 or H.265 in CCTV and perimeter-security systems.

Why it matters

MJPEG matters for security design because storage, bandwidth, and VMS compatibility decisions can change the size and cost of a 30-day retention system. Buyers comparing MJPEG vs H.264 vs H.265 should calculate retention impact before procurement.

Where you'll see it

  • Legacy IP camera streams and simple browser-based video previews.
  • Integrations that need individual frame access rather than interframe video prediction.
  • Troubleshooting or low-complexity streams where compatibility matters more than storage efficiency.
  • Legacy IP cameras, browser-compatible streams, diagnostic snapshots, and simple integrations where compression efficiency is less important than compatibility.

Common Pitfalls

  • Using MJPEG for continuous 30-day CCTV retention without calculating storage impact.
  • Assuming MJPEG has the same bandwidth behavior as H.264 or H.265 at the same resolution and frame rate.
  • Leaving MJPEG enabled on multi-camera systems where network uplinks or NVR disks are already constrained.
  • Leaving MJPEG enabled on high-resolution cameras and discovering after handover that the NVR cannot hold the required retention period.

Implementation Notes

  • Use MJPEG only when the camera, VMS, browser, or integration explicitly needs frame-independent video.
  • For retained surveillance footage, compare MJPEG, H.264, and H.265 in the storage calculator before selecting a stream profile.
  • Where MJPEG is required, lower frame rate, resolution, or retention period may be needed to stay within bandwidth and storage limits.
  • For perimeter security projects, compare MJPEG, H.264, and H.265 using real bitrate samples before buying storage.

Related Terms

Last updated: May 9, 2026