ZM driving me crazy. Or is it just me ?

Forum for questions and support relating to the 1.25.x releases only.
Locked
hansie
Posts: 15
Joined: Wed May 19, 2004 3:40 pm

ZM driving me crazy. Or is it just me ?

Post by hansie »

Hi,

After having searched the forum thoroughly, as well as days of Googleing, I can't find the source of my problems.

I'm using CentOS 6.4 and ZoneMinder 1.25.0. My hardware is a Rioworks dual Opteron cpu server, a H.264 4-channel DVR
capture card which has 4 SAA7134 chips, and 4 cameras (from DVR14SET).
To install ZM, I followed this guide http://www.mindcryme.com/2012/02/02/ins ... -centos-6/

This is what I have encountered so far:

The card and cameras have proven to work in a windows environment.

First attempt CentOS:
After connecting everything and compiling ZM, I was unable to get a picture off of one of the cameras. The capturecard is
recognized. After fighting this for a while, I noticed that in modect mode there were detections being made. This led me to the
events directory, and yes, the pictures were there !.
Up until that time I had used IE9 only. When I switched to Firefox, everything worked as it should.

Second attempt CentOS:
After having built in the capture card, and having restarted the system. ZM seems to be working (well, no complaints in the log),
but looking at the live camera I now only get a green screen with timestamp in Firefox. Still no picture in IE9.
In modect mode no detections are made any longer.

There must have been something that has changed between attempt 1, the reboot and attempt 2, but I cannot figure out what it
can be.

I have been switching video formats. The only result that gives me is that the screen goes from green to black (with timestamp),
or the device does not work at all (/dev/video3 turns red). People that are using this card also with ZM describe that one should use
YUYV and PAL I and, for less stress on the card, set the resolution to 384x256. If I follow this advice, I get the green screen.

Has anyone encountered these symptoms before ?
Does the green screen indicate the direction I should be looking ?
Can I verify that the camera/card are still working from the commandline, other than the info I got and is shown below ?

I have been at this for weeks now, and I'm starting to go out of ideas.
So if anyone out there can give me a hint, I would be very grateful.

For completeness, below some more info :

Code: Select all

zmu -d /dev/video3 -q -v

Video Device: /dev/video3
General Capabilities
  Driver: saa7134
  Card: AVerMedia DVD EZMaker
  Bus: PCI:0000:02:0f.0
  Version: 0.2.16
  Type: 0x5000015
    Supports video capture (X)
    Does not support video output
    Supports frame buffer overlay
    Supports VBI capture
    Does not support VBI output
    Does not support sliced VBI capture
    Does not support sliced VBI output
    Does not support video output overlay
    Does not have tuner
    Does not have audio in and/or out
    Does not have radio
    Supports read/write i/o (X)
    Does not support async i/o
    Supports streaming i/o (X)
    Standards:
      NTSC
      NTSC-M
      NTSC-M-JP
      NTSC-M-KR
      PAL
      PAL-BG
      PAL-H
      PAL-I
      PAL-DK
      PAL-M
      PAL-N
      PAL-Nc
      PAL-60
      SECAM
      SECAM-B
      SECAM-G
      SECAM-H
      SECAM-DK
      SECAM-L
      SECAM-Lc
  Formats:
    8 bpp gray (GREY)
    15 bpp RGB, le (RGBO)
    15 bpp RGB, be (RGBQ)
    16 bpp RGB, le (RGBP)
    16 bpp RGB, be (RGBR)
    24 bpp RGB, le (BGR3)
    24 bpp RGB, be (RGB3)
    32 bpp RGB, le (BGR4)
    32 bpp RGB, be (RGB4)
    4:2:2 packed, YUYV (YUYV)
    4:2:2 packed, UYVY (UYVY)
    4:2:2 planar, Y-Cb-Cr (422P)
    4:2:0 planar, Y-Cb-Cr (YU12)
    4:2:0 planar, Y-Cb-Cr (YV12)
Crop Capabilities
  Bounds: 720 x 578
  Default: 720 x 576
  Current: 720 x 576
Inputs: 2
  Input 0
    Name: Composite1
    Type: Camera
    Audioset: 00000001
    Standards: 0xffbfff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected
    Horizontal Lock detected
  Input 1
    Name: S-Video
    Type: Camera
    Audioset: 00000001
    Standards: 0xffbfff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected
    Horizontal Lock detected

Code: Select all

/var/log/messages, when ZM is started

Apr  4 20:13:38 vulcan zmc_dvideo0[31892]: INF [Monitor-2: 2000 - Capturing at 2.00 fps]
Apr  4 20:14:57 vulcan zmc_dvideo3[623]: INF [Monitor-1: 2000 - Capturing at 2.00 fps]
Apr  4 20:14:58 vulcan zma_m1[636]: INF [Monitor-1: 2000 - Processing at 2.00 fps]

Seems very low, 2.00 fps, I have set the fps to 25.00 in the config screen.

Code: Select all

dmesg

saa7130/34: v4l2 driver version 0.2.16 loaded
saa7134[0]: found at 0000:02:0c.0, rev: 1, irq: 16, latency: 123, mmio: 0xfc200000
saa7134[0]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7134[0]: board init: gpio is 10000
IRQ 16/saa7134[0]: IRQF_DISABLED is not guaranteed on shared IRQs
saa7134[0]: Huh, no eeprom present (err=-5)?
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134[1]: found at 0000:02:0d.0, rev: 1, irq: 17, latency: 123, mmio: 0xfc200400
saa7134[1]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7134[1]: board init: gpio is 10000
IRQ 17/saa7134[1]: IRQF_DISABLED is not guaranteed on shared IRQs
saa7134[1]: Huh, no eeprom present (err=-5)?
saa7134[1]: registered device video1 [v4l2]
saa7134[1]: registered device vbi1
saa7134[2]: found at 0000:02:0e.0, rev: 1, irq: 18, latency: 123, mmio: 0xfc200800
saa7134[2]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7134[2]: board init: gpio is 10000
IRQ 18/saa7134[2]: IRQF_DISABLED is not guaranteed on shared IRQs
saa7134[2]: Huh, no eeprom present (err=-5)?
saa7134[2]: registered device video2 [v4l2]
saa7134[2]: registered device vbi2
saa7134[3]: found at 0000:02:0f.0, rev: 1, irq: 19, latency: 123, mmio: 0xfc200c00
saa7134[3]: subsystem: 1131:0000, board: AVerMedia DVD EZMaker [card=33,insmod option]
saa7134[3]: board init: gpio is 10000
IRQ 19/saa7134[3]: IRQF_DISABLED is not guaranteed on shared IRQs
saa7134[3]: Huh, no eeprom present (err=-5)?
saa7134[3]: registered device video3 [v4l2]
saa7134[3]: registered device vbi3
Please help ! I'm going mad .....

Hans
active8
Posts: 7
Joined: Tue May 28, 2013 3:41 pm

Re: ZM driving me crazy. Or is it just me ?

Post by active8 »

If your still around, I was wondering if you got anywhere. I followed your link and 20 million other sets of instructions. First install seemed to work best and I haven't changed my ./configure options except perhaps the order in which they appear. Later, with the same options, I got compile errors fron the same source code. Then different errors on subsequend builds. The first time was the best and when I did the conversion to video on motion event frames, I got static, for lack of a better term. Cam viewer and recorder apps work. It's a cheesy cam, too. I don't know where to begin if I post a new topic, except to write a book of every piece of command line code if used to figger it out.
Locked