ZM 1.30.4 Unable to display monitor Logitech C370

Forum for questions and support relating to the 1.30.x releases only.
Locked
DaveV
Posts: 8
Joined: Fri Sep 06, 2013 10:27 am

ZM 1.30.4 Unable to display monitor Logitech C370

Post by DaveV »

Hi
Got so frustrated with this I now have a clean install of UBUNTU 16.04 to which I have added SSH and SAMBA before doing a clean install of Zoneminder.
I add the camera and monitor name/function/source is all in green! When I click name to see the picture I get a icon with the monitor name against it and no picture.

I have tried Local to the C270 and remote to the C270 using mjpg_streamer (not at the same time!).

As I get green for both as if ZM is getting a picture I wonder if I am missing something to display it via apache?

Streamer is producing a good picture
./mjpg_streamer -i "./input_uvc.so -f 15 -r 640x480 -y " -o "./output_http.so -w ./www"

######
For Local attempt

General Tab:

Source Type: Local
Function: Monitor
Source:

Device Path: /dev/video0
Capture Method: Video For Linux version2
Device Format: PAL
Capture Palette: MJEPG
Capture Width: 640
Capture Height: 480

#######################

Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5443]: INF ['zmc -d /dev/video0' starting at 18/02/11 14:30:09, pid = 5040]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5040]: INF ['zmc -d /dev/video0' started at 18/02/11 14:30:09]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmc_dvideo0[5040]: INF [No direct match for the selected palette (0x0000000e) and target colorspace (03). Format conversion is required, performance penalty expected]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5443]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5443]: INF [Starting pending process, zmc -d /dev/video0]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5443]: INF ['zmc -d /dev/video0' starting at 18/02/11 14:30:09, pid = 5044]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5044]: INF ['zmc -d /dev/video0' started at 18/02/11 14:30:09]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmdc[5443]: WAR [Can't find process with command of 'zma -m 5']
Feb 11 14:30:09 dvanes-OptiPlex-780 zmc_dvideo0[5044]: INF [No direct match for the selected palette (0x0000000e) and target colorspace (03). Format conversion is required, performance penalty expected]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmc_dvideo0[5044]: INF [Starting Capture version 1.30.4]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmc_dvideo0[5044]: WAR [Failed to get JPEG compression options: Inappropriate ioctl for device]
Feb 11 14:30:09 dvanes-OptiPlex-780 zmc_dvideo0[5044]: WAR [Hue control is not supported]

Feb 11 14:30:13 dvanes-OptiPlex-780 web_php[4807]: WAR [Adjusting to minimum width when getting popup size for tag 'watch' - getPopupSize()]

============================================== ===================
For Remote attempt

TabGeneral
Remote
Monitor

TabSource
HTTP
localhost
8080
?action=stream
24 bit Colour
640
480
###############
$
zmdc[5443]: WAR [Can't find process with command of 'zma -m 2']
zmdc[5443]: WAR [Can't find process with command of 'zmc -m 2']
zmdc[5443]: INF ['zmc -m 2' starting at 18/02/11 14:07:26, pid = 4508]
zmdc[4508]: INF ['zmc -m 2' started at 18/02/11 14:07:26]
zmdc[5443]: ERR ['zmc -m 2' exited abnormally, exit status 255]
zmdc[5443]: INF [Starting pending process, zmc -m 2]
zmdc[5443]: INF ['zmc -m 2' starting at 18/02/11 14:07:26, pid = 4511]
zmdc[4511]: INF ['zmc -m 2' started at 18/02/11 14:07:26]
zmdc[5443]: WAR [Can't find process with command of 'zma -m 2']
zmc_m2[4511]: INF [Starting Capture version 1.30.4]

web_php[4405]: ERR [Socket /var/run/zm/zms-279702s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. $
web_php[4405]: ERR [getStreamCmdResponse stream error: Socket /var/run/zm/zms-279702s.sock does not exist. This file is created by zms, and since it does not exist, either zms$
web_php[4351]: ERR [socket_bind( /var/run/zm/zms-782400w.sock ) failed: Address already in use]
web_php[4351]: ERR [getStreamCmdResponse stream error: socket_bind( /var/run/zm/zms-782400w.sock ) failed: Address already in use - checkStreamForErrors()]
web_php[4284]: ERR [Socket /var/run/zm/zms-782400s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. $

zmc_m2[4511]: INF [Monitor-2: 1000 - Capturing at 14.93 fps]
bbunge
Posts: 2931
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by bbunge »

Did you add the video user per the WIKI instructions?

For Logitech usb
Local
Palb
Auto
32 bit colour
640x480 or 320x240
DaveV
Posts: 8
Joined: Fri Sep 06, 2013 10:27 am

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by DaveV »

Hi - using my defs and your defs I get green result on the ZM monitor line and a green light on the camera - BUT i cannot see the monitor/camera view when clicking on the "name".
Image

" https://drive.google.com/file/d/1eb997C ... sp=sharing"
mythedoff
Posts: 25
Joined: Sat Dec 04, 2010 5:21 pm

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by mythedoff »

I'm using a QuickCam Pro 5000[046d:0990] but remotely and so somewhat different but I do notice one thing that is different:
?action=stream
on mine
/?action=stream
DaveV
Posts: 8
Joined: Fri Sep 06, 2013 10:27 am

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by DaveV »

Hi - sorry typo - yes I have "/?action=stream" when using mjpg-streamer - exactly the same though as direct - all in green in Zoneminder but clicking on the name to look on the feed is empty. ALSO - I am looking at ZM both remotely from a windows PC (firefox and chrome) going to 192.168.1.nn/zm and using VNC to the server and using Firefox to localhost/zm same result. Green status and no video to see.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by rockedge »

did you set the correct path to the /cgi-bin in Options->Paths->PATH_ZMS so it looks like this:

Code: Select all

/zm/cgi-bin/nph-zms
Incorrect paths will prevent the stream views from working
bbunge
Posts: 2931
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by bbunge »

Looks like another case of failing to read the instructions! For the install and the forum to post in!
DaveV
Posts: 8
Joined: Fri Sep 06, 2013 10:27 am

Re: ZM 1.30.4 Unable to display monitor Logitech C370

Post by DaveV »

Hi - Thanks people. Missed the PD stuff at the bottom and did not have the /zm/ at the start of the path. Basically googled straight to the Ubuntu easy install and stopped at "Installation complete" did not pass "Harder Way:"
Locked