ZMC Stopping with exit status 255

Forum for questions and support relating to the 1.24.x releases only.
Locked
Elijah
Posts: 1
Joined: Thu Aug 13, 2009 5:54 am
Location: Kingman, AZ

ZMC Stopping with exit status 255

Post by Elijah »

Hi guys, I've just built zoneminder and trying to get it to work with a capture card. The drivers are installed for the card, and I'm able to get a picture off it with webcam, so I do believe it's working. From the log files though, it appears that zmc is stopping almost instantly, so nothing's being captured. For the record, here's what I zmu -d /dev/video0 -q -v shows:

sudo -u www-data zmu -d /dev/video0 -q -v
[sudo] password for elijah:
Video Device: /dev/video0
General Capabilities
Driver: saa7134
Card: Sabrent SBT-TVFM (saa7130)
Bus: PCI:0000:01:08.0
Version: 0.2.14
Type: 0x5010015
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
Has 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:
PAL
PAL-BG
PAL-I
PAL-DK
NTSC
SECAM
SECAM
SECAM-DK
SECAM-L
SECAM-Lc
PAL-M
PAL-Nc
PAL-60
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: 704 x 480
Default: 704 x 480
Current: 704 x 480
Inputs: 3
Input 0
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbdff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Television
Type: Tuner
Audioset: 00000001
Standards: 0xffbdff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: S-Video
Type: Camera
Audioset: 00000001
Standards: 0xffbdff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected

This is what I'm seeing in zmdc.log:

08/12/09 23:05:19.090106 zmdc[18309].INF ['zmc -d /dev/video0' starting at 09/08/12 23:05:19, pid = 18502]
08/12/09 23:05:19.143064 zmdc[18309].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

And that repeats every few minutes. Now, if I run zmc manually as *root*, it keeps running; if I run it manually as www-data (the httpd user), it aborts instantly again. That would lead me to believe it's something with the permisions, but I even tried setting video0 to 777 and it still aborts when running under www-data. I appreciate any insight you all may have into this, I'd like to get it working. Thanks!
Rainer
Posts: 10
Joined: Wed Feb 17, 2010 12:32 am

same problem

Post by Rainer »

Hi,

I'm wondering if you ever could solve the problem.
If so ti would be nice to share with me how you did it.

Tanks a lot
Locked