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
H.264
H.264 is a widely used video compression standard for CCTV and IP cameras. It reduces bandwidth and storage compared with frame-by-frame formats such as MJPEG while preserving practical evidence quality for live viewing, recording, and NVR retention.
H.265
H.265, also known as HEVC, is a video compression standard that can deliver similar visible quality to H.264 at lower bitrates when conditions are favorable. In CCTV, H.265 is usually considered when storage pressure or constrained bandwidth makes higher compression efficiency attractive.
CBR / VBR
CBR and VBR are bitrate control methods used by CCTV encoders and IP cameras. Constant bitrate (CBR) keeps the stream close to a fixed data rate, while variable bitrate (VBR) changes bandwidth and file size as scene complexity, motion, and compression settings change.