What is a sub stream The smaller copy of a camera's video, made for slow links

A sub stream is the second, lower-resolution video stream that a CCTV camera or recorder channel produces alongside its full-quality main stream. It uses far less bandwidth, so it suits phone viewing and multi-camera grids. In GoKavach's live view, Hikvision, Dahua, Uniview, Ezviz and TP-Link devices can be switched between the two as HD and SD.

Free forever for 1 camera · no card · uses your cameras

Free: app and email alerts. WhatsApp from Starter (₹999 a month in India), phone calls from Pro. See plans

How does a sub stream work?

A camera or recorder channel encodes the same picture twice. The main stream is the full version, at the camera's top resolution and a high bitrate, and it is what gets recorded to the hard disk. The sub stream is a smaller copy, often around standard definition, with a lower frame rate and a fraction of the bitrate.

Bitrate is the amount of data the stream sends each second, and it is the number that decides how much of a connection the video uses. Both streams run at the same time and each has its own settings for resolution, frame rate and bitrate. Changing the sub stream doesn't touch the quality of the recording.

What do the sub stream settings look like on a recorder?

They sit on the video or encoding page of the recorder's or camera's menu. You pick a camera, then a stream type from a short list, main stream or sub stream, and the same handful of fields appears for each: resolution, frame rate, bitrate and the kind of compression, H.264 or H.265.

A typical pair of settings shows the gap between them. The main stream might read 1920 by 1080, 25 frames a second, 4096 kilobits a second. The sub stream for the same camera might read 640 by 360, 15 frames a second, 512 kilobits a second. On some firmware the sub stream also has a tick box that switches it on or off.

How much bandwidth does a sub stream save?

With the settings above, the sub stream uses one eighth of the main stream's data. For a single camera the difference is small. For a site it decides whether remote viewing works at all.

Take eight cameras. Sent as main streams they need about 32 megabits a second of upload from the site. Sent as sub streams they need about 4. Many internet lines upload far more slowly than they download, so the first figure is out of reach for a lot of premises while the second fits comfortably. That is why every phone app opens the sub stream first.

Where does a CCTV owner meet the sub stream?

You meet it whenever video has to travel somewhere tight. The phone app shows the sub stream by default, often labelled SD, fluent or basic, with the main stream as HD or clear. The recorder's own screen uses the sub stream for the 9 or 16 camera grid and switches to the main stream when you open one camera full screen.

It also appears in the RTSP address. On Hikvision firmware the path ends in 101 for channel 1's main stream and 102 for its sub stream. On Dahua firmware the address carries subtype=0 for main and subtype=1 for sub. Uniview uses s0 and s1 in the path, and TP-Link cameras use stream1 and stream2. The guide to finding your RTSP URL lists the patterns for other brands.

What is the sub stream confused with?

Three things, mostly. The first is recording quality. Lowering the sub stream doesn't make recordings worse, and raising it doesn't make them better, because the recorder saves the main stream.

The second is a third stream. Some cameras offer one more, even smaller or freely configurable, for a specific use. It is separate from the sub stream and usually off. The third is a slow connection itself. A sub stream that stutters on a phone is often set too high for the site's upload speed, not too low; dropping its bitrate or frame rate steadies it.

What are the common sub stream problems and how do you recognise them?

Sub stream faults are mild, but they are easy to mistake for a bad camera.

  • Faces and distant figures are a blur on the phone: the stream is small by design. Open that camera alone and switch to HD.
  • The main stream address opens and the sub stream address doesn't: the sub stream is switched off for that channel, or the path is wrong for that brand.
  • Movement looks jerky: the frame rate is set very low. Around 10 to 15 frames a second is enough for viewing.
  • A player shows a grey or broken picture on one stream only: that stream uses a compression mode the player can't read. Setting it to plain H.264 usually fixes it.
  • The grid on the phone keeps buffering: all the sub streams together exceed the upload speed. Lower the bitrate on each.

What should you ask an installer about the sub stream?

Ask what resolution, frame rate and bitrate the sub stream is set to on each camera, and what the site's upload speed is. The two should be chosen together: the sub streams of all cameras added up should sit well inside the upload speed.

Ask that the sub stream is left switched on for every channel, and that it uses standard H.264 or H.265 compression. Installers sometimes switch sub streams off to save effort, and viewing from outside then has only the heavy main stream to fall back on.

Which stream matters for alerts from your cameras?

For detection, what matters is whether a person is clear in the picture, not which stream it came from. A person far from the camera can shrink to a few pixels on a small sub stream, while one near a doorway is plain on either. GoKavach's Hikvision and Prama presets build the main stream address, and its Dahua, CP Plus, Honeywell, Uniview, Ezviz and TP-Link presets build the sub stream address; if you paste your own URL, it reads whichever stream that address names.

For watching live, the smaller stream is often the better choice on a slow site connection. On Hikvision, Prama, Dahua, CP Plus, most Honeywell, Uniview, Ezviz and TP-Link devices, GoKavach's live view has an HD and SD switch that moves between the two. Whichever is used, person detection still needs the areas drawn where people walk, as the guide to setting up detection zones explains.

Sub stream: key facts

What it is
A second, lower-resolution stream of the same camera
Main stream
Full resolution; the one that is recorded
Used for
Phone viewing, multi-camera grids and slow connections
Typical size
Around 640 by 360 at a few hundred kilobits a second
Hikvision address
Ends in 02, such as 102 for channel 1
Dahua address
subtype=1

What GoKavach is, and isn't

GoKavach is AI monitoring for the CCTV cameras you already have. It watches Hikvision, Dahua, CP Plus and almost any other brand around the clock and, when someone is where they shouldn't be, alerts you within seconds: in the app and by email on every plan, by WhatsApp and SMS on paid plans, and by phone call on the larger ones.

  • GoKavach's HD and SD switch in live view works only on Hikvision, Prama, Dahua, CP Plus, most Honeywell, Uniview, Ezviz and TP-Link addresses.
  • It can't change a recorder's sub stream resolution or bitrate; those are set on the recorder.
  • It can't sharpen a small stream: a person too far away to make out in the picture it reads may not be detected.

Sub stream FAQ Questions, answered

What owners ask before they connect their first camera.

What is the difference between main stream and sub stream on a DVR?

The main stream is the high-resolution video the DVR records. The sub stream is a smaller, lighter copy of the same camera for viewing over slow connections. They run together, and lowering the sub stream's settings has no effect on what is recorded.

What resolution should a CCTV sub stream be?

A sub stream is commonly set near standard definition, such as 640 by 360 or 704 by 480, with a modest frame rate. Higher looks better on a phone but uses more of the site's upload speed, which matters when several cameras are viewed at once.

Why is my camera's sub stream blurry on the phone app?

Because it is deliberately small. A wide scene squeezed into a low-resolution stream loses detail. Open the camera on its own and switch to the main or HD stream to see the full picture, or raise the sub stream's resolution in the recorder's settings.

Does every camera have a sub stream?

Nearly all current IP cameras and recorders offer one, and some add a third stream. A few older or very basic models produce only a main stream. The video or encoding page of the device's settings shows which streams exist and lets you configure each.

How much mobile data does a CCTV sub stream use compared with the main stream?

It follows the bitrate. A sub stream at 512 kilobits a second uses about 230 megabytes an hour. A main stream at 4096 kilobits a second uses about 1.8 gigabytes an hour, eight times as much. Watching a grid of several cameras multiplies whichever figure applies.

Is the sub stream saved to the recorder's hard disk?

Normally not. A recorder saves the main stream, and the sub stream is sent to whoever is viewing and then discarded. Some recorders can be set to record both, so that playback over a slow connection can use the smaller copy. That option takes extra disk space.

Still have questions? connect@gokavach.com

GoKavach pricing Start free. Move up a plan as you add cameras.

Every plan watches every camera around the clock, with intruder alerts in the hours you set. Bigger plans add cameras, people, phone-call alerts and longer storage of alert clips.

Free

Try it on one camera, for as long as you like.

$0

The same in every country

Free forever

  • 1 camera
  • 1 team member
  • Checks every 10 seconds, and every second while something moves
  • Email and app alerts
  • Alert pictures and clips kept 30 days
Start free

Starter

For one shop or home.

$19 /month

₹999/month in India

Renews until you cancel

  • 2 cameras
  • 2 team members
  • Checks every 5 seconds, and every second while something moves
  • WhatsApp, SMS, email and app alerts
  • Alert pictures and clips kept 60 days
  • 1 AI check in your own words
Choose Starter

Business

For many locations and larger teams.

$129 /month

₹6,999/month in India

Renews until you cancel

  • 16 cameras
  • 10 team members
  • Checks every 5 seconds, and every second while something moves
  • Phone calls, WhatsApp, SMS, email and app alerts
  • Alert pictures and clips kept 180 days
  • 10 AI checks in your own words
Choose Business

Enterprise

For more than 16 cameras, chains and guard companies.

Let's talk
  • More than 16 cameras and as many team members as you need
  • Checks every camera as often as every 5 seconds
  • Help setting up at each location
  • A named contact and agreed response times

Every plan includes

  • Areas, lines and hours you choose
  • A picture and clip with every alert
  • Live view on phone and computer
  • Camera offline and DVR disk alerts
  • Arming by your shop hours
  • Counter-left-empty alerts
  • Daily and weekly summaries
  • Reports on alerts and busy hours
  • A panic button for owners, admins and operators

Paid plans start the day you upgrade. Switch or cancel any time from Settings; after cancelling, your plan runs to the end of the paid period, then moves to Free. Prices exclude taxes.

Book a free demo Prefer we set it up with you?

In a free 15-minute call we connect one of your cameras and send a live test alert to your phone. Or start free on your own.

  • Works with the DVR or NVR you already have
  • We help with the connection, public IP or not
  • A live WhatsApp and phone-call alert to your phone
  • Free forever for 1 camera, no card needed

Book your free demo

Leave your number and we'll call to pick a time.

We reply within a day. No spam, no card. By submitting you agree to be contacted on WhatsApp/phone and to our privacy policy.