Display Lorex D841A6 DVR feeds in ZoneMinder

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
linuxnutt
Posts: 20
Joined: Fri Aug 12, 2016 6:06 am

Display Lorex D841A6 DVR feeds in ZoneMinder

Post by linuxnutt » Sun Jun 28, 2020 6:55 am

Hello,
Trying to take the video feeds from a Lorex DVR (Model D841A6) and view them from ZoneMinder. I'm able to view in VLC the DVR camera outputs using this syntax: rtsp://admin:admin password@192.168.1.104/cam/realmonitor?channel=1&subtype=0, but when I try to set this up in ZoneMinder I get a blue screen. So I'm hoping I can get some help to view the DVR camera connections from this DVR in ZoneMinder. I'm of course able to use Windows 10 and IE and see individual camera outputs from the DVR.

So let me tell you more about my setup. I'm using ZomeMinder 1.30.4 (I know need to update to new version) on Linux Mint 18 Sarah. I have 6 IP cameras running very happily on this system for quite some time now. The Lorex DVR system has 16 CCTV ports, but I'm only using 8 CVI 4K Ultra HD Model C881DA-Z (Non-IP cameras). Lorex Cameras and DVR https://www.lorextechnology.com/hd-dvr- ... 4KAD88-1-p . I've realized that the cameras and DVR are using Lorex P2P technology which I feel is unacceptable from a security standpoint, so I'm trying to do a work around using ZoneMinder, and ZMNinja.

Anyway here is my system info using "inxi -Fxz":
$ inxi -Fxz
System: Host: media2 Kernel: 4.4.0-184-generic x86_64 (64 bit gcc: 5.4.0) Console: tty 2
Distro: Linux Mint 18 Sarah
Machine: Mobo: MSI model: A78M-E35 (MS-7721) v: 6.0 Bios: American Megatrends v: V30.0 date: 10/25/2013
CPU: Dual core AMD A6-6400K APU with Radeon HD Graphics (-MCP-) cache: 2048 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 15571
clock speeds: max: 3900 MHz 1: 3900 MHz 2: 3900 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV370 [Radeon X600/X600 SE] bus-ID: 01:00.0
Display Server: X.org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
tty size: 158x31 Advanced Data: N/A out of X
Audio: Card Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.4.0-184-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 5001.0GB (38.1% used) ID-1: USB /dev/sda model: Expansion_Desk size: 4000.8GB
ID-2: /dev/sdb model: WDC_WD1002FBYS size: 1000.2GB
Partition: ID-1: / size: 902G used: 417G (49%) fs: ext4 dev: /dev/dm-1
ID-2: /boot size: 472M used: 215M (49%) fs: ext2 dev: /dev/sdb1
ID-3: swap-1 size: 16.33GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 59.5C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 243 Uptime: 3 days Memory: 9730.8/15941.5MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

ZoneMinder setup:
General_2020-06-27 22-48-13.png
General_2020-06-27 22-48-13.png (39.46 KiB) Viewed 40 times
Source_2020-06-27 22-50-31.png
Source_2020-06-27 22-50-31.png (32.73 KiB) Viewed 40 times
Log Snip it:
$ tail -vf /var/log/syslog | grep -i zmc_m17
Jun 27 23:15:28 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:15:29 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 273000 - Capturing at 500.00 fps]
Jun 27 23:15:33 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 274000 - Capturing at 250.00 fps]
Jun 27 23:15:35 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 275000 - Capturing at 500.00 fps]
Jun 27 23:15:38 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 276000 - Capturing at 333.33 fps]
Jun 27 23:15:38 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:15:42 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 277000 - Capturing at 250.00 fps]
Jun 27 23:15:47 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 278000 - Capturing at 200.00 fps]
Jun 27 23:15:49 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:15:51 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 279000 - Capturing at 250.00 fps]
Jun 27 23:15:54 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 280000 - Capturing at 333.33 fps]
Jun 27 23:15:58 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:15:59 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 281000 - Capturing at 200.00 fps]
Jun 27 23:16:02 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 282000 - Capturing at 333.33 fps]
Jun 27 23:16:05 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 283000 - Capturing at 333.33 fps]
Jun 27 23:16:08 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:16:09 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 284000 - Capturing at 250.00 fps]
Jun 27 23:16:11 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 285000 - Capturing at 500.00 fps]
Jun 27 23:16:13 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 286000 - Capturing at 500.00 fps]
Jun 27 23:16:16 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 287000 - Capturing at 333.33 fps]
Jun 27 23:16:18 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:16:19 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 288000 - Capturing at 333.33 fps]
Jun 27 23:16:21 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 289000 - Capturing at 500.00 fps]
Jun 27 23:16:25 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 290000 - Capturing at 250.00 fps]
Jun 27 23:16:27 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 291000 - Capturing at 500.00 fps]
Jun 27 23:16:28 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]
Jun 27 23:16:32 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 292000 - Capturing at 200.00 fps]
Jun 27 23:16:33 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 293000 - Capturing at 1000.00 fps]
Jun 27 23:16:35 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 294000 - Capturing at 500.00 fps]
Jun 27 23:16:38 media2 zmc_m17[14422]: INF [LorexD841DVR-C1-M17: 295000 - Capturing at 333.33 fps]
Jun 27 23:16:38 media2 zmc_m17[14422]: ERR [Unable to open input rtsp://admin:password@192.168.1.104/cam/realmonitor?channel=1&subtype=0 due to: Bad message]

Thanks in advance for any help that will lead to displaying the output from the Cameras DVR in ZoneMinder.

Thanks

burger
Posts: 62
Joined: Mon May 11, 2020 4:32 pm

Re: Display Lorex D841A6 DVR feeds in ZoneMinder

Post by burger » Tue Jun 30, 2020 4:35 pm

https://wiki.zoneminder.com/Finding_Camera_Stream_Paths

If it works in VLC, try source type: libVLC.

Blue screen sometimes means resolution is wrong. Check resolution in vlc. You can also try ffmpeg (which outputs resolution info).
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests