Hi, I'm new to the forums, loving domoticz.
Just wanted to share my experience with regards to getting RTSP streams working from a normal DVR, that is not an IP camera.
I have a QVIS Zeus, essentially a dahua 8ch DVR connected to 7 cameras.
I could not get an RTSP stream working, and had to read around a few threads, and eventually sorted it out. If there is an easier way, then please do enlighten me.
step 1:
Install netcam studio x.
As far as I can tell, this is free to use if for up to a maximum of 2 streams - which is sufficient for my needs.
http://www.netcamstudio.com/
Once installed, add a user, and a source.
Took some time experimenting to find the correct URL, so if you do not know your URL from your DVR, then you can use a program like URLsnooper to find the correct streaming url. Again free to use.
https://www.donationcoder.com/Software/ ... rlsnooper/
To add the source into netcam studio, I had to go to "Add Custom URL"
There I changed the stream type to RTSP_TCP
And added the URL in the following format:
rtsp://[user]:[password]@[IPADDRESSOFDVR]:554/cam/realmonitor?channel=[YOURCHANNEL]&subtype=0
Replace the square brackets with your appropriate information (there will be NO square brackets in the final url)
Click on the tab with two people and a key "Access Control"
Create a new user preferably without admin rights.
Double click on the user you just created, you will see at the bottom a permanent authtoken. Copy this to your clipboard.
This is pretty much it for this program. This will be a server running on your machine in the background. (I am not sure how stable it is as I only did this today)
Now in domoticz...
Add a camera.
Active : TICK
Name: Choose a name
IP Address: The IP address of the machine where you installed netcam studio
Port: 8100
Username: User name of the user you created in netcam studio (not the user of your DVR)
Password: Password of the user you created in netcam studio (not the user of your DVR)
URL: jpeg/0?authtoken=[PASTE YOUR USERS AUTHTOKEN HERE] (there will be no square brackets)
Hit TEST and Eureka! There you have a stream!
You can repeat the process for a second stream but obviously change the URL to jpeg/1?authtoken=[your auth token]
Like I said, if anyone has a better solution than this for adding a normal DVR, please do let me know.
Dahua RTSP stream working
Moderator: leecollings
Re: Dahua RTSP stream working
Apologies, I do not know how to edit my thread, but I wanted to give credit to Zak45 for pointing me in the right direction via his reply to meeki's thread.
https://www.domoticz.com/forum/viewtopic.php?t=15444
https://www.domoticz.com/forum/viewtopic.php?t=15444
-
- Posts: 2
- Joined: Sunday 29 September 2013 7:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dahua RTSP stream working
Hi,
The only problem is that you must use windows PC for netcam studio.
I would have the same solution on linux
Anyway thank's for sharing
The only problem is that you must use windows PC for netcam studio.
I would have the same solution on linux
Anyway thank's for sharing
Re: Dahua RTSP stream working
So sorry!
I completely missed that this was a Windows only program.
If a mod can change the title to mention windows only?
I completely missed that this was a Windows only program.
If a mod can change the title to mention windows only?
-
- Posts: 76
- Joined: Thursday 07 June 2018 21:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Noordwijk, Netherlands
- Contact:
Re: Dahua RTSP stream working
Thanx!
This was the solution I was looking for.
I've got a Windows server running and installed NetCam.
My Raspberry Pi 3B+ is in the same Network and running Domoticz. Working great sofar but still some work to do...
Audio is not working for me, pan and tilt the same thing. Now trying to get a RTSP form my Asian webcam and see if this is a solution for my RING doorbell.
But verry, verry nice man. Thanx! Better then the solution provider in your comment, by the way.
This was the solution I was looking for.
I've got a Windows server running and installed NetCam.
My Raspberry Pi 3B+ is in the same Network and running Domoticz. Working great sofar but still some work to do...
Audio is not working for me, pan and tilt the same thing. Now trying to get a RTSP form my Asian webcam and see if this is a solution for my RING doorbell.
But verry, verry nice man. Thanx! Better then the solution provider in your comment, by the way.
Re: Dahua RTSP stream working
This blog is great check it outjpvaneijk wrote: ↑Friday 11 January 2019 16:27 Thanx!
This was the solution I was looking for.
I've got a Windows server running and installed NetCam.
My Raspberry Pi 3B+ is in the same Network and running Domoticz. Working great sofar but still some work to do...
Audio is not working for me, pan and tilt the same thing. Now trying to get a RTSP form my Asian webcam and see if this is a solution for my RING doorbell.
But verry, verry nice man. Thanx! Better then the solution provider in your comment, by the way.
Who is online
Users browsing this forum: No registered users and 1 guest