H.264 or H.265 for CCTV? How compression changes storage and bandwidth
Compression decides how many days of footage fit on a recorder and how much bandwidth remote viewing uses. How H.264, H.265 and smart codecs compare, how to estimate storage, and what to check before buying.
By the Powercomputers team · 21 November 2026 · 6 min read
The short answer
Compression decides how much data each camera produces. When H.265 (also called HEVC) was agreed in 2013, ITU said it would need only half the bit rate of the older H.264, so in principle the same hard drive holds about twice as much footage and remote viewing uses less bandwidth. Smart codecs such as H.265+ cut bit rates further in quiet scenes. Storage is bit rate multiplied by recording time, and every camera, recorder and viewing device must support the codec you choose.
Key points
- Daily storage is the bit rate multiplied by the seconds recorded: a camera averaging 4 Mbps writes about 43 GB a day.
- When ITU agreed H.265 in 2013, it said the new codec would need only half the bit rate of H.264.
- Smart codecs such as H.265+ and Zipstream save the most in still scenes and the least in busy ones.
- Manufacturers’ savings figures come from their own test scenes, so treat them as a guide, not a promise.
- Cameras, recorder, phone app and PCs must all handle the codec and settings you choose.
- Compare recorders on incoming bandwidth, decoding capacity and maximum drive size, not just channel count.
Why compression matters for CCTV
A camera produces a continuous stream of pictures, and compression decides how much data that stream contains. Codecs such as H.264 and H.265 send a complete picture, called an I-frame, only at intervals, and in between send frames that refer back to earlier ones. Dahua’s white paper on its smart code technology explains why this suits surveillance: consecutive frames are largely identical, and scenes contain large uniform areas such as sky and road.
The result is the bit rate, measured in kilobits or megabits per second (Kbps or Mbps). It decides two things you pay for: how many days of footage fit on the recorder’s hard drives, and how much internet upload capacity you need to watch the cameras remotely. Axis notes that a scene with more pronounced and long-lasting motion needs a higher bit rate, so a busy entrance produces more data than a quiet store room.
H.264 and H.265 compared
H.264, also known as MPEG-4 AVC, is the older standard and still the most common: Axis’s July 2026 white paper calls it the most used video compression standard today. H.265, known informally as HEVC (High Efficiency Video Coding), was agreed by ITU members in January 2013 as Recommendation ITU-T H.265, also published as ISO/IEC 23008-2. It was developed jointly by ITU’s Video Coding Experts Group and ISO/IEC’s Moving Picture Experts Group, and ITU said at the time that it would need only half the bit rate of its predecessor.
The real saving depends on the scene and on the encoder in each camera, and H.265 has drawbacks. Axis notes that licensing issues made it hard for companies to use H.265 widely, that it has been difficult for hardware vendors to preinstall client decoders, and that H.265 ecosystem support is still limited. The newer codec is therefore not automatically the right choice for every site.
Smart codecs: H.265+, Smart H.264+ and Zipstream
Manufacturers add their own layer on top of the standards. Dahua’s white paper describes its smart code technology as analysing the scene and giving more bits to areas of interest, such as faces, and fewer to the background, while still producing a standard stream, so supported devices need only a firmware upgrade and decoders have no trouble playing it. Axis describes Zipstream in the same way, as an encoder enhancement for H.264, H.265 and AV1 rather than a new codec.
The savings claimed are large but depend on the scene. Axis puts Zipstream’s average reduction at 50% or more, with its own test scenes ranging from 25% to 99.7%. Dahua shows an H.264 example in which an average stream of about 3,800 Kbps fell to about 250 Kbps in a common scene and about 700 Kbps in a complex one. These are the manufacturers’ own results, not a promise for your site.
There are trade-offs. Dahua notes that lengthening the interval between I-frames saves bit rate but makes fast-forward and rewind less responsive, and that dynamic frame rate does not suit uses with strict frame rate requirements. Axis warns that not every client or video management system plays dynamic frame rate video smoothly, and that legal requirements can rule it out in some surveillance cases.
How to estimate storage
Storage is simple arithmetic: bit rate multiplied by recording time. One megabit per second for a whole day is 86,400 seconds ÷ 8 = 10,800 megabytes, about 10.8 GB. Multiply that by each camera’s average bit rate in Mbps, by the number of cameras and by the number of days you need to keep.
Use each camera’s real average bit rate rather than the maximum in its datasheet. Axis recommends variable bit rate (VBR) and advises against constant bit rate as a way to save storage, because a camera held to a fixed bit rate may have to discard important forensic detail at critical moments. If you cap the bit rate, Axis says the limit must be high enough to capture the detail of moving objects.
- One camera averaging 4 Mbps, recording continuously: about 43.2 GB a day, or about 1.3 TB for 30 days.
- The same camera at 2 Mbps, for example after a codec change halves its bit rate: about 21.6 GB a day, or about 650 GB for 30 days.
- Eight cameras averaging 4 Mbps for 30 days: about 10.4 TB.
- Recording only on motion, or at a lower frame rate, reduces these totals; busy scenes increase them.
Bandwidth for remote viewing
Watching cameras from a phone or another office sends video out over the site’s internet connection, so the upload speed at the site matters. Each stream being viewed adds its own bit rate, so halving the bit rate roughly halves the upload capacity each viewer uses. Axis also notes that a pan, tilt and zoom camera needs more bandwidth than a fixed camera.
The recorder has limits of its own. Dahua’s NVR4108-8P-EI, an 8-channel recorder, lists 256 Mbps of incoming bandwidth with its AI features off and 180 Mbps with them on, one hard drive bay taking up to 20 TB, and support for Smart H.265+, H.265, Smart H.264+, H.264 and MJPEG. Figures like these, not the channel count alone, decide what a recorder can handle.
What to check before you buy
Ask for these points in writing with any quotation.
- Which codecs each camera supports, and whether the recorder records and plays back all of them, including smart codecs.
- Whether the phone app, PCs and any video management software play H.265 smoothly, and handle dynamic frame rate if it is switched on.
- The recorder’s incoming bandwidth, decoding capacity, number of drive bays and maximum capacity per drive.
- How many days of footage you need to keep, and the storage that needs at your real bit rates, with room to spare.
- Whether each camera records continuously, on motion or on a schedule, and at what resolution and frame rate.
- The upload speed at the site, if people will watch the cameras remotely.
How Powercomputers can help
Powercomputers supplies both analogue and IP security cameras with DVR and NVR recorders. Its security technicians carry out full installation and IP address setup and install the viewing app on phones, iPads, laptops and PCs. All of its DVR units are capable of off-site monitoring over ADSL or fibre, and its annual maintenance contracts cover CCTV operation.
Frequently asked questions
Not always. It needs a lower bit rate, which saves storage and bandwidth, but every part of the system must support it, and Axis notes that H.265 ecosystem support is still limited. Check the recorder, phone app and PCs before switching.
Divide the drive’s capacity by the daily storage of all your cameras. One camera averaging 4 Mbps writes about 43 GB a day, so a 4 TB drive holds roughly 92 days of that camera, or a little over 11 days of eight such cameras.
They reduce detail where it matters least, such as static background, and keep more for areas of interest. Dahua shows a number plate still clear after a stream was cut from 8 Mbps to about 1 Mbps. Check recorded footage, not just live view, before accepting the settings.
Only if your cameras cannot encode it. Smart codec features can sometimes be added by firmware: Dahua says its smart code needs only a firmware upgrade on devices that support it. The recorder must also record and decode H.265.
Sources
This guide was written from these pages:
- ITU: New video codec to ease pressure on global networks (press release, 25 January 2013)
- ITU-T: Recommendation H.265, High efficiency video coding
- Axis Communications: Axis Zipstream technology (white paper, July 2026)
- Dahua Technology: IPC Smart Code Technology White Paper, Release 1.0 (PDF)
- Dahua Technology: NVR4108-8P-EI 8-channel PoE network video recorder
- Powercomputers: Security Solutions
- Powercomputers: Technical Repair Solutions (annual maintenance contracts)

