zmc: invalid option -r

Forum for questions and support relating to the 1.29.x releases only.
Locked
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

zmc: invalid option -r

Post by jscmenezes »

Hi,

I am getting this error using zmc:

Code: Select all

$ zmc -r http -H my.ip.address -P 80 -p /cgi-bin/video.jpg
zmc: invalid option -- 'r'
zmc -d <device_path> or -r <proto> -H <host> -P <port> -p <path> or -f <file_path> or -m <monitor_id>
Options:
  -d, --device <device_path>               : For local cameras, device to access. E.g /dev/video0 etc
  -r <proto> -H <host> -P <port> -p <path> : For remote cameras
  -f, --file <file_path>                   : For local images, jpg file to access.
  -m, --monitor <monitor_id>               : For sources associated with a single monitor
  -h, --help                               : This screen
  -v, --version                            : Report the installed version of ZoneMinder
The option has been removed?
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: zmc: invalid option -r

Post by Nerre »

My first guess would be that you may be using a build without support for remote cameras. But why there would be such a build I can not figure out.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: zmc: invalid option -r

Post by SteveGilvarry »

No looks more like option was never implemented correctly, just -r <proto> nothing happens with it, but the rest are there. zmc -m x is how zm runs them using the db to hold all the required information, some functionality like this while still there doesn't appear to be used or maintained by anyone. I assume you are trying to work on that dlink auth issue you are having.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Re: zmc: invalid option -r

Post by jscmenezes »

Thanks for the explanation, Steve!

Yes, I am trying to work on the dlink auth issue.
Locked