Page 1 of 1

zmu exit status 255, driving me crazy

Posted: Tue Jun 15, 2010 10:23 am
by tcsmith314
This is a copy of a post I made in the general forums 2.24... but probably should have posted this question here...

Admittedly I'm new to zoneminder, but I spent a great deal of time getting my card so that I can get tvtime and xawtv to display video from my cams. The card is a generic Kodicom 4400r. BUT ZONEMINDER KEEPS EXITING FROM MONITORING, with "exit status 255".

The error log shows...

10-06-14 23:42:45.001518 zmdc[8657].INF [Starting pending process, zmc -d /dev/video0]
10-06-14 23:42:45.002735 zmdc[8657].INF ['zmc -d /dev/video0' starting at 10/06/14 23:42:45, pid = 8695]
10-06-14 23:42:45.025100 zmdc[8657].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

I have zmu output... (check end of message).

I"m running the latest version of Ubuntu, and the video does show in tvtime, and xawtv just fine. I'm running zoneminder 1.24.2build3.

Can anyone provide some suggestions on how to fix this? The card I'm using is the same as .... http://cgi.ebay.ca/120-fps-NTSC-4-chann ... 2307b8586e

PS
...it took some tweaking to get the bttv driver to work with the card... I needed to add the following to a module.conf file...

alias char-major-81 bttv
options bttv card=0x85,0x84,0x85,0x85 radio=-1 tuner=4 pll=0

Thanks

zmu -q -d /dev/video0 -v

Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (Kodicom 4400R (sla
Bus: PCI:0000:02:0c.0
Version: 0.9.18
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)
8 bpp, dithered color (HI24)
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)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
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-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 16
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
...etc

And ... it took some tweaking to get the bttv driver to work with the card... I needed to add the following to a module.conf file...

alias char-major-81 bttv
options bttv card=0x85,0x84,0x85,0x85 radio=-1 tuner=4 pll=0

ok, I've made some progress...

Posted: Tue Jun 15, 2010 11:25 am
by tcsmith314
I managed to get a signal!

I got a video displayed... but things seem very flaky.

I managed to get a signal by dropping down to 320x240 (wow, this is pretty low... will I be able to get better?). BUT, the camera channels and source seem to be randomly moving.

I got one camera going on channel 1, video0. Then the other on channel 3, video0. I started playing around with settings on the first camera... and after a couple minutes, went to look at the second... and it was displaying the first camera image... I never changed any channel information on either. Now, I can't get an image on either... Why would this be so flaky and low resolution? Anyone have any suggestions?

ok, I give up

Posted: Fri Jun 18, 2010 9:45 pm
by tcsmith314
This software - well, to put it lightly - needs some work :)

I purchased one of those "black boxes" from china...hardware, software, everything you need for $100 - works great. Now only if I could get back the time I wasted with zoneminder lol, oh well.. it's a hobby I guess.