How do you use the CCTV bandwidth calculator?
Enter how many cameras will send video at the same time, then pick the stream or type its bitrate. The calculator shows the upload in megabits a second and the data those streams use in a day and in a 30-day month, with the working underneath.
Count only the streams that leave the site at once. A phone viewing two cameras sends two streams; a monitoring service watching eight cameras around the clock sends eight, all day. The default setting is the sub stream, because that is what most remote viewing and monitoring uses.
Read the two answers for different decisions. The upload figure tells you whether the line is fast enough today. The monthly data figure matters on a capped broadband plan or a mobile router, where running out part-way through the month leaves the cameras unwatched until the plan renews.
Where do you find the bitrate of the stream you send?
On the recorder's encoding page, under the stream you will send. Recorders keep separate settings for the main stream and the sub stream of each channel; Dahua's network video server manual calls the second one the extra stream and lists its bit rate on the same Encode page as the main stream's, where in constant bitrate mode the figure is the maximum.
You can also read a live figure. Play the camera's RTSP address in VLC, open Tools, then Media Information, and watch the input bitrate on the Statistics tab for a minute; a busy scene reads higher than an empty one. The RTSP URL generator builds the address to test.
The settings in the calculator's list are typical starting points, not measurements. Use them to get a first idea, then replace them with your recorder's own figure.
What do worked examples give?
Each figure is an estimate for streams running 24 hours a day, with the line size worked out to leave a third spare:
- 4 cameras on the sub stream (0.5 Mbps): 2 Mbps of upload, 21.6 GB a day, about 648 GB a month. A line with 3.0 Mbps of upload carries it.
- 16 cameras on the sub stream: 8 Mbps, 86.4 GB a day, about 2592 GB a month; a 12.0 Mbps upload.
- 8 cameras on the main stream, 2 MP (1080p), H.265 (2 Mbps): 16 Mbps and about 5184 GB a month; a 24.0 Mbps upload.
- 8 cameras on the main stream, 4 MP, H.265 (3 Mbps): 24 Mbps; a 36.0 Mbps upload.
Why does CCTV need upload speed rather than download speed?
Because the video leaves the building. Broadband is usually sold by its download speed, and many lines have far less upload than download. A line advertised at a high download speed can still be too slow to send several camera streams out.
Run a speed test on a computer at the site, on the same router as the recorder, and read the upload figure. Test at a busy time of day too, since a shared line's speed changes. The calculator's advice to leave a third spare covers those dips and the shop's own use of the line.
What changes the bandwidth answer the most?
The stream you choose matters most, then the codec and the frame rate:
- Sub or main stream. In the typical settings, a 2 MP main stream on H.265 is 4 times the sub stream's bitrate. Use the sub stream for anything that watches all day.
- Codec. H.265 halves H.264 at the same resolution in the typical settings, if the recorder and the viewer both handle it.
- Frame rate and bitrate on the recorder. Lowering the sub stream's frame rate or bitrate shrinks the upload, at the cost of a coarser picture.
- Motion-only recording doesn't help here. It saves disk, but a live stream sent to a viewer or a monitoring service runs whether or not anything moves. For disk sizing, use the CCTV storage calculator.
Is a Hikvision or Dahua stream calculated differently?
No. A stream's upload is its bitrate, whatever the brand, so the same calculator serves Hikvision, Dahua, CP Plus, Uniview and the rest. The brand only changes where you read the bitrate and which stream a given program asks for.
That second point matters. A viewer that asks a Hikvision recorder for address 101 gets the main stream, while 102 is the sub stream; on Dahua, subtype=0 is main and subtype=1 sub. The Hikvision RTSP URL and Dahua RTSP URL guides list both for every channel, so you can check which one your software uses.
How much bandwidth does GoKavach use?
GoKavach keeps one stream per camera open all day and samples pictures from it, so count every monitored camera in the calculator. The Dahua firmware, Uniview, Ezviz, TP-Link Tapo and VIGI presets read the sub stream. The Hikvision firmware and Axis presets read the main stream, so size the line on that bitrate.
The video leaves the site's upload either way, whether GoKavach reads the recorder directly or through the site connector. On a mobile connection, the monthly figure is what the data plan has to cover; the guide to 4G CCTV camera monitoring works through that, and viewing CCTV remotely without a static IP explains the connection options.