Stock Reolink cameras do not support use with non-proprietary surveillance software such as Blue Iris. Neolink enables you to use your unsupported cameras with Blue Iris and other viewers/recorders. In this guide, you will learn how to configure your Reolink cameras and Neolink for use with Blue Iris software.
This guide applies to the following camera models:
- B800/D800
- B400/D400
- E1
The first thing to do to make video recording run smoothly is tweak the settings on your cameras to work around known Neolink problems, and to set them up as a part of your network.
The cameras have software bugs too, and Reolink is constantly working to fix them. Cameras ship with older versions which have known bugs. It's best to eliminate any unknown parameters when setting up your cameras.
- Download the latest version of firmware for your camera at Reolink's official firmware update site
- Unzip the firmware package.
- Refer to Reolink's official firmware upgrade guide for more information on how to upgrade firmware.
This is the most reliable setup since Neolink cannot autodetect when a camera's IP address changes.
-
In the Reolink PC app, login to your camera.
-
Click "Device Settings" (the gear) -> "Network General."
-
Change "Connection Type" from "DHCP" to "Static."
-
Enter a static IP address compatible with your network (i.e.
192.168.1.15
).Note: Here is a good article about how to select an IP address that is compatible with your network. If you accidentally lose access to your camera by setting an incompatible IP address, you will have to manually reset the camera with its physical reset button.
You will have to reconnect to the camera once you have changed the IP address
It's recommended that you set a password for each of your cameras. If you want to use the Reolink Mobile App, it makes you set a password for each camera anyway.
- In the Reolink PC app, login to your camera.
- Click "Device Settings" -> "Manage User."
- Click "Modify Password."
Now you've set up your cameras!
Refer to Neolink's README for instructions on installing.
The config file tells Neolink how to connect to your camera and serve the video streams.
-
Create a simple text file (i.g.
config.toml
) in the same directory you have unpacked Neolink with the following format:bind = "0.0.0.0" [[cameras]] name = "cameraname" username = "admin" password = "password" address = "192.168.1.10:9000" stream = "both"
-
Change
cameraname
to a legible, phonetic name that describes your camera. Leave the quotes around the name. -
The default username is
admin
; leave this unless you've created another user. -
Replace
password
with the password you set on the camera. If you chose to not use a password, remove this line from the config file. Again, leave the quotes. -
Replace
192.168.1.10:9000
with the IP address you set for your camera. Note: The port,:9000
, should remain at the end of your IP address. This is the proprietary "media port" that Reolink uses. -
The
stream
line allows you to choose which stream type to use. Neolink supports streaming two streams, the main-stream, and the sub-stream. It can stream either one, or both. If you wish to stream both streams, leave this line as is. If you wish to stream only the main-stream, changeboth
tomainStream
. If you wish to stream only the sub-stream, changeboth
tosubStream
.Note: Reolink D400/B400 Cameras do not support serving both streams at once, so you must manually choose which stream type to use. For best quality, choose the main stream.
-
For multiple cameras, copy and paste the entire
[[cameras]]
block below the first. Each camera entry must begin with[[cameras]]
.
Note: For E1 Cameras, refer to the readme for instructions on adding the format =
line. This configuration will be done automatically in the future.
-
Open a command prompt in the directory that contains Neolink and your config file.
-
Run the following command (with your correct config file name):
neolink --config config.toml
You should get login messages that look something like this:
Note: Neolink hosts all streams on localhost port 8554. Each camera has a designated path for the sub-stream and the main-stream. Neolink gets the name of the path from the name of the camera you set in the config file. So the path to the sample camera's main-stream would be 127.0.0.1:8554/cameraname/mainStream
and the path to the sample camera's sub-stream would be 127.0.0.1:8554/cameraname/subStream
.
Now you have Neolink up and running!
There are a few tricks to getting Blue Iris to work properly with Neolink's RTSP streams.
-
Click "Main Menu" -> "add new camera."
-
Give your camera a full name and a short name.
-
Uncheck "Enable Motion Detector."
-
Enable "Direct to disc recording."
- Click "OK."
Once you click "OK" on the "New Camera" window, Blue Iris should dump you directly into the camera configuration.
-
Leave protocol set to "http://."
Although we are using RTSP streams, Blue Iris does not allow the use of sub-streams if you set the protocol to RTSP.
-
In the address bar, enter
127.0.0.1:8554
. This will be the same for all cameras. -
Clear the password field.
-
Set the "Main stream" path to
/cameraname/mainStream
, changingcameraname
to the name of the camera you set in Neolink's config file. -
Set the "Sub stream" path to
/cameraname/subStream
, also changingcameraname
to the name of your camera. -
Under "Network Options," set "Receive Buffer" to 20MB.
This is because the 4k cameras' key frames are so large.
-
Click "OK."
Congrats, you have set up your first camera!
In the future, Neolink will support being a Windows Service. For now, you must manually set up Neolink to run at startup.
Blue Iris natively supports running as a Windows service.
-
In Blue Iris, click the "Main Menu" button, then click "Settings/Info."
-
In the "Startup" tab, under "Operating System," check "Run as a Windows Service (no UI, run again for console)."
-
Type in the username and password.
-
Once you click OK, you should see a popup window that says "Service has been installed..."
-
Restart Blue Iris or your computer to start the Blue Iris service.
The best way to have Neolink run at startup is create a Scheduled Task that starts the Neolink process at computer startup.
-
Create a simple bash file that starts Neolink.
For the Task Scheduler to successfully start Neolink, you must run the start commands in the same directory that contains Neolink and its config files. This is best accomplished by creating a bash file that "changes directories" to the directory that contains Neolink.
-
Navigate in Windows Explorer to the directory in which you placed Neolink and its config files.
-
Create a file with a
.cmd
file extension (e.g.neolink.cmd
).Note: You may need to create a text (
.txt
) file and runren neolink.txt neolink.cmd
in a command prompt to obtain the correct file extension. -
Edit the file. Copy the commands below, changing your respective directories and file names.
cd C:\Path\to\Neolink\Folder
neolink --config config.toml
-
Save the file and run it. Make sure Neolink successfully starts.
-
-
Create Scheduled Task
-
Open the Task Scheduler
-
In the "Actions" pane, click "Create Basic Task."
-
Name and describe the task and click "Next."
-
Select "When the Computer Starts" in the trigger settings. Click "Next."
-
Select "Start a Program" in the action settings. Click "Next."
-
Under "Program/script:," navigate to the
.cmd
file that you created and select it. Click "Next." -
Check "Open the properties dialog for this task when I click finish." Click "Finish."
Your Finish windows should look something like this:
-
In the "Properties" window, in the "General" tab, select "Run whether or not the User is logged on."
-
Also check "Run with highest privileges."
-
In the "Settings tab," uncheck "Stop the task if it is running longer than:"
-
Check "Run Task as soon as possible..."
-
Check "If the task fails, restart every:"
-
For redundancy, enter
999
into the number of restart tries.The Settings tab should look something like this:
-
In the "Conditions" tab, you may want to uncheck "Start the task only if the computer is on AC Power."
-
You may also want to check "Start only if the following network connection is available." This may prevent Neolink from retrying to connect many times if your computer takes a long time to connect to its network.
-
Click "OK," and enter the Username and Password.
-
You have now completed all the setup steps! Restart your computer and check if all the programs start as desired.