Can a script get video off an NVR?

Any major updates coming, Upcoming Software, General Security advice for others and topics alike Post them here so other users can chat with you.
Post Reply
beast
Posts: 2
Joined: Mon Sep 05, 2016 10:21 am

Can a script get video off an NVR?

Post by beast »

Hello,

I'm thinking about getting an NVR to simplify my setup.

Currently, I have one camera, with a Raspberry Pi pulling any new motion video with audio off the camera every few minutes via FTP. The Raspberry Pi also syncs the video to Amazon Drive for long term storage.

If I have the camera video go to an NVR, is there a way to programmatically get the video off the NVR (file share, FTP, SCP, HTTPS, etc.)?
User avatar
TheUberOverLord
Posts: 32
Joined: Sun Jul 31, 2016 5:14 pm

Re: Can a script get video off an NVR?

Post by TheUberOverLord »

Yes. Assuming it's a Amcrest NVR. The syntax is that of the below with channel= being the NVR port for the camera. 1 being the first NVR camera port or other numeric for other NVR camera ports. subtype= 0 ("Main Stream") subtype=1 ("Sub Stream"):

Code: Select all


rtsp://User:Password@DDNSorISPipAddress:NVRportOrPort554/cam/realmonitor?channel=1&subtype=0
ONVIF

Code: Select all


rtsp://User:Password@DDNSorISPipAddress:NVRportOrPort554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
Note: The line above is 1 line with no spaces. The forum breaks it into two lines.

Additionally, you can also use automatic refreshed snapshots with or without including camera PTZ camera controls using methods like this:

https://amcrest.com/forum/general-discu ... html#p5198

Don
Post Reply