CCTV Nest Box Cameras for Wildlife: Choosing, Fitting and Streaming with RTSP
Last checked: September 2026.
Every camera on Barn Owl Live, from the barn owl nest box to the badger and fox camera, is a CCTV camera. Some are standard, and some I've adapted a little. CCTV cameras are built to run day and night in all weathers, which makes them perfect for wildlife.
I've been around CCTV cameras for a long time. Over 30 years ago I started a business manufacturing them, so this page shares what I've learnt, in plain English. It covers which cameras work best for wildlife, and how to get the picture from your camera to YouTube using something called RTSP.
- Choosing a CCTV camera for wildlife
- Why a mini PTZ helps, and how to mount it
- My two favourite mini PTZ cameras
- Cameras and lights to avoid
- Infrared and night vision
- Adding gentle daylight to a nest box
- The easy option: streaming straight from the camera
- What is an RTSP stream?
- Camera or NVR: which address to use
- Usernames and passwords
- Reading an RTSP address: what to change
- RTSP addresses for popular UK camera brands
- Test your link with VLC first
- Keeping your cameras secure
Choosing a CCTV camera for wildlife
Why most off-the-shelf cameras are blurry in a nest box
This catches out a lot of people, so it's worth explaining. Most general-purpose CCTV cameras have a wide-angle lens with a fixed focus. At the factory, the lens is set so that everything from about 1.5 metres away to the far distance is sharp. That's perfect for watching a driveway, because you never have to think about focusing.
Inside a nest box, though, the owls are only about 200 to 300mm from the lens. That's far closer than the camera was set up for, so the picture will be noticeably out of focus. It's the same if you take a spare camera off the side of your house and put it in a box.
You can refocus these cameras, but on many of them, especially the small "eyeball" dome cameras, it means taking the camera apart and turning the tiny lens on the circuit board. Focusing it isn't difficult in itself. The hard part is taking the camera apart and putting it back together without damaging the delicate electronics. You can also trap damp air inside while it's open, which can fog up the lens. That usually clears on its own within about a week, but it's frustrating when you've just fitted the camera.
What to buy instead
- A dedicated nest box camera. If you're new to CCTV, this is the easiest choice. Wildlife cameras made for nest boxes are either focused for close range already, or easy to refocus yourself.
- A camera with an adjustable lens. Look for a varifocal or motorised zoom lens, so you can set the focus without opening the camera.
- A small mini PTZ camera, if you have room. PTZ stands for pan, tilt and zoom. From your computer or phone, you can gently change where the camera is pointing and refocus it. Go for one of the smaller models, as space inside a box is tight. My two favourites are below.
Use the PTZ controls sparingly. The camera sits behind a clear polycarbonate bubble, so the birds can't really see it move. It does make a small noise while it's moving, though, so avoid moving it often while birds are nesting. Please also remember that barn owls are protected at the nest under Schedule 1, so fit and adjust cameras outside the breeding season.
Why a mini PTZ is worth it in a barn owl box
In a larger barn owl box, you never really know where the owl will lay her eggs. Once they're laid, she turns and rolls them to keep them evenly warm so they hatch, so they don't stay in one spot either. With a fixed camera, you can easily end up pointing at the wrong corner.
What I've found: this has happened to me many times with fixed cameras. You do get better at positioning them with experience, but a mini PTZ makes it so much easier, because you can simply turn the camera to wherever the eggs are. I'll be using more of them from now on.
Mount it on the ceiling, not the wall
It's tempting to fix the camera sideways on a side wall to save space, but don't. A PTZ camera is designed to hang from a ceiling. On its side, the pan movement no longer sweeps across the floor of the box. Instead, it swings the view round the side wall and rotates the picture, so the owl and eggs appear to spin on screen rather than coming into view.
Fit the camera to the ceiling of the box. If the ceiling is too high, fix a wooden bracket or board across the box to make a slightly lower "false ceiling", and mount the camera on that. Just don't mount it so low that the owlets can huddle round it for warmth. More on that below.
My two favourite mini PTZ cameras
Hikvision and Dahua are two of the biggest CCTV brands, and both make excellent mini PTZ cameras with great picture quality. These are the two I like best for nest boxes.
HiLook PTZ-N2404I-DE3 (Hikvision)
HiLook is Hikvision's retail brand. It lets Hikvision sell to the public through shops without upsetting the trade installers and distributors who sell the main Hikvision range. There's very little difference between the two. HiLook cameras are often almost identical hardware to their Hikvision equivalents, with slightly different firmware.
What I like most about this camera is its multiple video streams. I record the full 4MP main stream, which is excellent quality for making wildlife videos for YouTube, and at the same time I send one of its lower resolution sub-streams to the live stream.
A tip the specification won't tell you: the online specification says the camera's third stream only goes up to 720p. In my experience, the camera itself will actually do 1080p on the third stream. So you can record in 4MP and stream to YouTube in full HD 1080p at 25fps at the same time. To save bandwidth, I usually stream at 1080p and 15fps, which still looks lovely for a nest box.
The third stream has its own RTSP address. On Hikvision and HiLook cameras, it ends in 103 instead of 101. You set its resolution and frame rate in the camera's video settings.
Dahua SD1A404DB-GNY (4MP)
This one has a much smaller, lower profile than the HiLook. Its smaller polycarbonate dome doesn't stick out as far, which makes it easier to fit into an owl box.
It does run a little warmer than the HiLook. The good news is that a nest box needs much less infrared light than a garden or driveway, so you can turn the IR down in the camera's settings. The IR LEDs use a lot of the camera's power, so turning them down saves power and keeps the camera running cooler.
Mount it a little higher in the box. I've found that owlets will huddle around a camera for its warmth, even a cool-running one, and then all you can see is the backs of fluffy heads! Placing the camera a little higher stops them crowding it and keeps your view clear.
Colour at dusk: Hikvision versus Dahua
In my experience, Hikvision cameras stay in colour for longer as the light fades, before switching to black and white infrared. Inside a nest box, where you're mostly using infrared anyway, this doesn't matter much. Outdoors, it means a Hikvision camera gives you more colour pictures at dusk. That's purely down to how each company sets up the switch-over, and both give great picture quality.
Avoid "deterrent" cameras
A lot of CCTV manufacturers now sell deterrent cameras. They're designed to scare off intruders, so they have a flashing strobe light and a warning siren or voice built in. You'll often see them described with words like "active deterrence", "strobe", "siren" or "audio alarm".
For wildlife, that's the last thing you want. If the deterrent is ever triggered by accident, it could terrify the owls in your nest box or send the badgers in your garden running. You can switch these features off in the camera's settings, but a firmware update or a reset can switch them back on without you noticing. Unless you're very experienced with CCTV, my advice is simply not to use these cameras. It isn't worth the risk.
Avoid "full colour" cameras, and be careful with white lights
Some cameras use white LED lights to show a colour picture at night. There are two kinds to watch out for:
- "Full colour" cameras usually have no infrared at all, only white light. At night, the only way they can see is by switching on that white light, which lights up the nest box for everyone to see and would scare off nesting birds. Avoid these completely for wildlife.
- "Dual light" or "hybrid light" cameras have both white light and infrared. Even turned down to its lowest setting, the white light is far too bright for wildlife, so if you use one, make sure it only ever uses infrared at night.
Infrared: how cameras see in the dark
Infrared (IR) light is what lets CCTV cameras see at night without disturbing wildlife. The birds can't see it, so for them the nest box stays dark.
- 850nm infrared is used in most CCTV cameras, so there's lots of choice and they're easy to buy. The LEDs give off a faint red glow when they're on, but this won't disturb the birds.
- 940nm infrared gives off almost no visible glow at all. It works just as well for wildlife, but far fewer camera models have it, so you'll have much less choice. An 850nm camera, like the ones I've suggested above, is the easier option.
What I do: in some of my nest boxes I've fitted my own separate infrared lights inside the box, rather than relying only on the camera's built-in IR. Lighting the box from more than one angle cuts down the shadows and gives the best possible picture.
Quick tip for boxes with more than one camera: if you have two or more cameras with infrared in the same box, the IR light from one can overwhelm another. The second camera thinks it's daylight and switches its own IR off, then the picture goes dark, so it switches it back on. You can end up with the cameras flickering between day and night mode all night. The fix is simple: in the camera settings, turn the IR off on every camera except one, and let that one light the box for all of them.
Adding gentle daylight to a nest box
Inside a closed nest box, it's dark even in the daytime, so a camera shows a black and white infrared picture all day. If you'd like a natural colour picture during the day, there are a couple of ways to let a little light in.
- A very dim LED light, controlled by daylight. This is what I use myself. The LED needs to be very, very dim, soft and subtle, just enough to gently light the box. Control it with a photocell (light sensor) so it only comes on in the daytime and switches off at night.
- A small solar panel to power the light. This is an even simpler way to do the same thing. The light can only come on when the sun is up, and it goes off by itself when the sun sets.
- A small window of diffused or opaque polycarbonate. This lets soft natural daylight in. I'm not a big fan of this option, though. Get the size or position wrong and the box can heat up like a conservatory in the sun, which could be dangerous for the owlets. If you do fit one, keep it small, make sure it's frosted or opaque rather than clear, and keep it away from direct sun.
What I've found: done properly, a very low light LED looks completely natural on camera, and the owls carry on as normal. The key is keeping it subtle and making sure it's off at night.
For more on camera features such as infrared and weatherproofing, see my guide to streaming your wildlife cameras to YouTube. For the box itself, here are my barn owl nest box sizes and checklist.
The easy option: streaming straight from the camera
YouTube can't talk to a CCTV camera directly. Something in between has to collect the camera's video and send it to YouTube in a format it understands.
Some newer CCTV cameras can do this themselves, using a feature called RTMP. You'll find it in the camera's network settings, in its web page or app. Many DIY camera brands have it, as do some Hikvision and Dahua models. Just copy the stream URL and stream key from YouTube, paste them into the camera, and it streams to YouTube with no box and no computer.
Tip: if you want to try live streaming before spending money on a streaming box, check whether your camera supports RTMP. It's a cheap and easy way to see how your camera looks on YouTube.
For a camera without RTMP, or for a more reliable 24/7 stream, you'll need a streaming box, such as the Kiloview MG300 v2 that I use, or streaming software like OBS on a computer. The camera sends its video to the box or computer over your home network using RTSP, and the box or computer sends it on to YouTube. I compare the two options in hardware or software for live streaming.
What is an RTSP stream?
RTSP (Real Time Streaming Protocol) is the standard way CCTV cameras share live video over a network. Think of it as a web address made just for live video. Instead of starting with http://, it starts with rtsp://. When your streaming box or OBS connects to that address, the camera sends it a continuous live picture.
Most cameras offer two streams:
- The main stream: full quality. This is the one to use for YouTube.
- The sub-stream: lower quality and smaller. It's handy for testing, or on a slow network.
Camera or NVR: which address to use
How your camera is wired changes the RTSP address you need.
- Camera plugged into your router or network switch: use the camera's own IP address in the RTSP link.
- Camera plugged into the back of an NVR (network video recorder): the cameras sit on the NVR's own private network, so you can't reach them directly. Instead, use the NVR's IP address, plus the channel number the camera is plugged into. The NVR passes the video through to your streaming box.
Usernames and passwords
A camera or NVR won't share its video without a username and password. There are two ways to give them.
Kept separate (the better way)
Streaming boxes such as the MG300 v2 let you paste a "clean" RTSP address, with no password in it, and enter the username and password in their own boxes. That's more secure, because your password can't leak if the address is ever copied, shared or saved in a log.
rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
Built into the address (for OBS and VLC)
In OBS and VLC, it's easiest to put the username and password into the address itself, by adding username:password@ straight after rtsp://. It works well, but bear in mind the password is saved in plain text in the software's settings.
rtsp://admin:MyPassword123@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
Password not working? Some special characters, such as @, :, / and #, break the address. Either change the camera's password to use letters and numbers, or replace the character with its web code. For example, @ becomes %40 and # becomes %23.
Reading an RTSP address: what to change
An RTSP address looks complicated, but you only ever change a few parts of it. Here's a Dahua address broken down, colour-coded so you can see what's what:
rtsp://admin:MyPassword123@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
| Part | What it is | Do I change it? |
|---|---|---|
rtsp:// | Tells the software this is a live video stream | Never |
admin:MyPassword123@ | Your camera's username and password, followed by an @ | Yes, to your own. Only needed in OBS and VLC. Leave it out on a streaming box that has separate login boxes. |
192.168.1.100 | The IP address of your camera, or of your NVR if the camera is plugged into one | Yes, always. Find it in your router's list of devices or the camera's app. |
:554 | The RTSP port. 554 is the standard. | Only if you've changed the port in the camera's settings |
/cam/realmonitor?channel= | The fixed path for this brand of camera | Never. Each brand has its own, shown below. |
1 after channel= | The camera channel | Yes, if the camera is on an NVR: use the channel it's plugged into. For a camera on its own, leave it as 1. |
0 after subtype= | Which stream: 0 is the main stream, 1 is the sub-stream | Leave as 0 for YouTube. Use 1 only for testing or slow networks. |
Common mistakes: don't type any brackets, and don't add spaces anywhere. Keep the colon before the port, and the @ after the password. Everything should be one continuous line.
Every example on this page uses 192.168.1.100 as the IP address. It's just an example, so always swap it for your own.
RTSP addresses for popular UK camera brands
Dahua
Dahua addresses include the channel and the stream quality. subtype=0 is the main stream and subtype=1 is the sub-stream.
Camera on its own:
rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
Through an NVR (camera on channel 4):
rtsp://192.168.1.100:554/cam/realmonitor?channel=4&subtype=0
Hikvision and HiLook
HiLook is Hikvision's home range, and both use exactly the same addresses. The first digit is the camera channel, and the last two digits are the stream: 01 for the main stream, 02 for the sub-stream and 03 for the third stream, if your camera has one.
Camera on its own:
rtsp://192.168.1.100:554/Streaming/Channels/101
Through an NVR (camera on channel 4):
rtsp://192.168.1.100:554/Streaming/Channels/401
Third stream (for example, streaming the HiLook PTZ-N2404I-DE3 at 1080p while recording in 4MP):
rtsp://192.168.1.100:554/Streaming/Channels/103
Quick reference table
Just swap 192.168.1.100 for your own camera's IP address. The default logins are the factory settings on older models. Most newer cameras make you set your own strong password the first time you switch them on.
| Brand | Main stream RTSP address | Default login | Notes |
|---|---|---|---|
| Dahua | rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0 | admin / admin | Newer firmware makes you set a password first. |
| Hikvision | rtsp://192.168.1.100:554/Streaming/Channels/101 | admin / 12345 | First digit is the channel, last two are the stream (01 main, 02 sub, 03 third). Newer firmware makes you set a password first. |
| HiLook | rtsp://192.168.1.100:554/Streaming/Channels/101 | admin / 12345 | Same as Hikvision. |
| Reolink | rtsp://192.168.1.100:554/h264Preview_01_main | admin / (blank) | Very popular for wildlife. The sub-stream is h264Preview_01_sub. Some 4K models use h265Preview instead. |
| TP-Link Tapo | rtsp://192.168.1.100:554/stream1 | Set in the Tapo app | Create a Camera Account in the Tapo app first. The sub-stream is stream2. |
| Swann | rtsp://192.168.1.100:554/ch01/0 | admin / admin (or blank) | Varies a little between models. |
| Uniview (UNV) | rtsp://192.168.1.100:554/unicast/c1/s0/live | admin / 123456 | Change s0 to s1 for the sub-stream. |
| Amcrest | rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0 | admin / admin | Same format as Dahua. |
| Annke | rtsp://192.168.1.100:554/Streaming/Channels/101 | admin / 12345 | Same format as Hikvision on most models. |
Test your link with VLC first
This is my number one fault-finding tip. Before you spend hours wondering why your streaming box or OBS shows a black screen, check that the RTSP link actually works. The best tool for that is VLC, a free video player that opens network streams without any fuss.
- Download VLC for free from videolan.org.
- Open the network stream menu. Click Media, then Open Network Stream, or press Ctrl+N on Windows or Cmd+N on a Mac.
- Paste in your RTSP address, with
username:password@included so VLC can log in. - Click Play and give it four or five seconds to show the first picture.
If VLC shows your wildlife camera, your address is right, and any problem is in your streaming box or OBS settings. If VLC can't play it, check:
- the IP address is correct and the camera is switched on
- you've used the right channel number, if the camera is on an NVR
- the username and password are right, and the password has no special characters breaking the address
- RTSP is turned on in the camera's settings. On some cameras it's off by default.
Keeping your cameras secure
- Change the default password as soon as you set up a camera, and use a different, strong one.
- Don't open RTSP to the internet by forwarding ports on your router. Your streaming box or OBS only needs to reach the camera on your home network, and YouTube handles everything else.
- Keep camera firmware up to date, as updates often fix security problems.
Questions people ask
Can I stream a CCTV camera to YouTube?
Yes. If the camera supports RTMP, it can stream to YouTube on its own. If not, a streaming box or OBS takes the camera's RTSP stream and sends it to YouTube.
What is an RTSP stream?
RTSP is the standard way CCTV cameras share live video over a network. It's an address starting with rtsp:// that streaming boxes, OBS and VLC use to pick up the camera's live picture.
Why is my CCTV camera blurry in a nest box?
Most general-purpose CCTV cameras are focused at the factory for things about 1.5 metres or more away. In a nest box the birds are only 200 to 300mm away, so the camera needs refocusing, or you need a nest box camera or one with an adjustable lens.
How do I find my camera's RTSP address?
Check the table above for your brand, then swap 192.168.1.100 for your camera's IP address. You'll find the IP address in your router's list of devices or in the camera's app. Test it in VLC before using it anywhere else.
Can I use a deterrent CCTV camera for wildlife?
It's best not to. Deterrent cameras have built-in strobe lights and sirens to scare off intruders. If they're triggered by accident, they can frighten nesting birds and other wildlife. Even with those features switched off, it isn't worth the risk.
Can I put a light in a barn owl nest box?
Only a very dim, soft LED that's controlled by a light sensor or powered by a small solar panel, so it only comes on in daylight and is off at night. Never use a camera's built-in white light, as even its lowest setting is far too bright, and avoid "full colour" cameras that rely on white light at night.
Can owls see infrared light?
No. The birds can't see infrared, so the nest box stays dark for them. Most CCTV cameras use 850nm infrared, which gives off a faint red glow but won't disturb them.
Why does my nest box camera keep flickering between day and night mode?
If there's more than one camera in the box, the infrared from one can make another think it's daylight. Turn off the infrared on every camera except one in the camera settings, and let that one light the box.
Where should I mount a camera in a barn owl nest box?
On the ceiling, or on a wooden bracket that forms a slightly lower false ceiling. A mini PTZ camera mounted on a side wall will rotate the picture when it moves, instead of looking across the floor. Keep it high enough that the owlets can't huddle round it for warmth.
What's the difference between the main stream and the sub-stream?
The main stream is full quality and is the one to send to YouTube. The sub-stream is a smaller, lower quality version, which is useful for testing or on slow networks.
If you'd like to see what these cameras can do, have a look at our live wildlife cameras from the Peak District. And if you get stuck, ask in the chat. I'm always happy to talk CCTV.
Paul
Please share this article if you like it!