Ubuntu Intrepid, Zoneminder 1.23X No video

Support and queries relating to all previous versions of ZoneMinder
Locked
metallica1973
Posts: 100
Joined: Sat Aug 23, 2008 8:03 pm

Ubuntu Intrepid, Zoneminder 1.23X No video

Post by metallica1973 »

I have install Ubuntu Intrepid and Zoneminder 1.23X. I have setup all of the all of the cameras and every time I try and run the cameras is cycle or montage mode I get no picture and I see a little emblem that resembles a broken connection. I checked /var/log/apache2/error.log and I can see that that there is an error with finding /htdocs

[Tue Jan 13 15:08:30 2009] [error] [client 127.0.0.1] File does not exist: /htdocs, referer: http://localhost:12444/zm/index.php?vie ... ode=stream
[Tue Jan 13 15:09:00 2009] [error] [client 127.0.0.1] File does not exist: /htdocs, referer: http://localhost:12444/zm/index.php?vie ... ode=stream
[Tue Jan 13 15:09:30 2009] [error] [client 127.0.0.1] File does not exist: /htdocs, referer: http://localhost:12444/zm/index.php?vie ... ode=stream
[Tue Jan 13 15:10:00 2009] [error] [client 127.0.0.1] File does not exist: /htdocs, referer: http://localhost:12444/zm/index.php?vie ... ode=stream
[Tue Jan 13 15:10:30 2009] [error] [client 127.0.0.1] File does not exist: /htdocs, referer: http://localhost:12444/zm/index.php?vie ... ode=stream

I cannot find the location of where /htdocs is located. Can someone help?
metallica1973
Posts: 100
Joined: Sat Aug 23, 2008 8:03 pm

Post by metallica1973 »

problem solved. It turned out to be an configuration issue with apache and the virtualhosts. I had changed the listening port 80 to 12444 in apache2.conf and also needed to do so under the /etc/apache2/site-enabled/000-default{virtualhost}. After that is all work fine.
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

Ubuntu Intrepid, Zoneminder 1.23X No video

Post by blas_lg »

Just a question..

I have the same config as you (zm 1.23.3 in ubuntu intrepid) but I can get any image from the webcam on my acer asipre notebook. It works fine with xawtv but the source in the control page is in red and no image sended...

Can you tell me the step you followed (if diferent as in the zm doc) ? In my zmdc.log I get error message from zmc (zmc -d /dev/video0' starting at 09/01/15 20:15:21, pid = 30192) and zma ('zma -m 1' exited abnormally, exit status 255]).

Any help would be apreciated.

TIA,

blas
metallica1973
Posts: 100
Joined: Sat Aug 23, 2008 8:03 pm

Post by metallica1973 »

I sorry that I didnt reply sooner. I would start by checking your /var/log/apache2/error.log. If things are working fine when testing with xawtv then it is most likely a configuration issue under your camera configuration section in zoneminder? What is your output of zmu -d /dev/video0 -q. From your results you should be able to see what is the maximum resolution to you cameras, whether or not to use PAL or NTSC, what channels do what(svideo, composite, tv and etc.) Please post your results zmu? I am sure we can figure it out.
wisekki
Posts: 39
Joined: Tue Feb 27, 2007 11:58 am

Post by wisekki »

I bet that zmu doesn't output anything for him..
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

wisekki wrote:I bet that zmu doesn't output anything for him..
That's productive. Thanks.
wisekki
Posts: 39
Joined: Tue Feb 27, 2007 11:58 am

Post by wisekki »

cordel wrote: That's productive. Thanks.
I know.. but I'm getting tired.. I've tried everything that I know and zm still refuses to work and it seems nobody knows why :)

and btw.. zmu doesn't output anything if you get "exited abnormally, exit status 255"
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

wisekki wrote:
cordel wrote: That's productive. Thanks.
I know.. but I'm getting tired.. I've tried everything that I know and zm still refuses to work and it seems nobody knows why :)

and btw.. zmu doesn't output anything if you get "exited abnormally, exit status 255"
That sounds like either a permission issue or a problem video driver, but we should not be hijacking someone else's thread.
Jair
Posts: 4
Joined: Tue Feb 03, 2009 6:16 pm

Post by Jair »

My ZM console dosnt show anything, but my device camera is listed as below: (sorry, but my english is very pool. I'm brazilian)

#zmu -d /dev/video1 -q -v

Video Capabilities
Name: BT878 video ( *** UNKNOWN/GENER
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 1
Maximum Width: 924
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 3
Channel has a tuner
Channel has audio
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Jair
Posts: 4
Joined: Tue Feb 03, 2009 6:16 pm

Post by Jair »

I forget,
I'm using Debian Etch 5.0

Thanks,

Jair
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

Your card may be misdetected. Can you get a picture with xawtv? If not, you will need to manually configure your card. Post a new thread with a picture of your card and the output of "lspci" and we can help.
liviab
Posts: 87
Joined: Wed Oct 15, 2008 11:54 am
Location: Brazil [MG]

Post by liviab »

Firstly, I'm using Fedora 10.

I'm with the same problem:

Code: Select all

Jan 29 12:08:35 localhost zmdc[21616]: INF [Starting pending process, zmc -d /dev/video0]
Jan 29 12:08:35 localhost zmdc[21616]: INF ['zmc -d /dev/video0' starting at 09/01/29 12:08:35, pid = 21926]
Jan 29 12:08:35 localhost zmdc[21926]: INF ['zmc -d /dev/video0' started at 09/01/29 12:08:35]
Jan 29 12:08:35 localhost zmc_dvideo0[21926]: INF [Debug Level = 0, Debug Log = <none>]
Jan 29 12:08:35 localhost zmc_dvideo0[21926]: INF [Starting Capture]
Jan 29 12:08:35 localhost zmc_dvideo0[21926]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jan 29 12:08:35 localhost zmc_dvideo0[21926]: ERR [Failed to post-capture monitor 0]
Jan 29 12:08:35 localhost zmdc[21616]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jan 29 12:08:40 localhost zmwatch[21673]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Jan 29 12:08:50 localhost zmwatch[21673]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Jan 29 12:09:00 localhost zmwatch[21673]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Jan 29 12:09:10 localhost zmwatch[21673]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
Jan 29 12:09:20 localhost zmwatch[21673]: ERR [Can't get shared memory id '7a6d0001', 1: No such file or directory]
And the commands said above shows:

Code: Select all

[root@livia log]# zmu -d /dev/video0 -q -v 
Video Capabilities
  Name: USB Camera (041e:4051)
  Type: 1
    Can capture
  Video Channels: 1
  Audio Channels: 0
  Maximum Width: 640
  Maximum Height: 480
  Minimum Width: 48
  Minimum Height: 32
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 320
  Height: 240
Picture Attributes
  Palette: 0 - Unknown
  Colour Depth: 8
  Brightness: 32896
  Hue: 0
  Colour :0
  Contrast: 32768
  Whiteness: 26214
Channel 0 Attributes
  Name: zc3xx
  Channel: 0
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL
and

Code: Select all

[root@livia log]# zmu -d /dev/video0 -q
N:USB Camera (041e:4051),T:1,nC:1,nA:0,mxW:640,mxH:480,mnW:48,mnH:32,X:0,Y:0,W:320,H:240,P:0,D:8,B:32896,h:0,Cl:0,Cn:32768,w:26214,n0:zc3xx,C0:0,Fl0:0,T0:2F0:0,
Anyone can help me?
Jair
Posts: 4
Joined: Tue Feb 03, 2009 6:16 pm

Post by Jair »

My card is an generic PICO2000 with BT878 chipset.
I can't run XawTV because my SYSTEM X isn't installed. So let me post the LSPCI:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0e.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX200] (rev b2)
Jair
Posts: 4
Joined: Tue Feb 03, 2009 6:16 pm

Post by Jair »

I think the setting detected has wrong, because channel 0 appear as type 1 - TV, see this:

Channel 0 Attributes
Name: Television
Channel: 0
Flags: 3
Channel has a tuner
Channel has audio
Type: 1 - TV
Format: 0 - PAL
Locked