Hi,
I have just done a new install of Fedora Core 10 with zoneminder 1.23.3 on a spare toshiba laptop, currently testing with 2 cheap USB webcams.
I previously tried a live CD (1.2.2 + mandriva 2006.0) which worked
fine with the same cameras.
xawtv works fine.
# ls -l /dev/video0
crwxrwxrwx+ 1 root root 81, 0 2009-02-09 11:16 /dev/video0
But the cameras have no picture, In zmdc.log I have the same message again and again:
02/09/2009 15:30:55.417745 zmdc[14045].INF ['zmc -d /dev/video0' starting at 09/02/09 15:30:55, pid = 19840]
02/09/2009 15:30:56.412212 zmdc[14045].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/09/2009 15:31:06.105549 zmdc[14045].INF ['zmc -d /dev/video0' starting at 09/02/09 15:31:06, pid = 19899]
02/09/2009 15:31:06.872429 zmdc[14045].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/09/2009 15:31:16.780610 zmdc[14045].INF ['zmc -d /dev/video0' starting at 09/02/09 15:31:16, pid = 19959]
02/09/2009 15:31:17.611642 zmdc[14045].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Also in /var/log/messages I have (repeated many times):
Feb 9 16:10:57 localhost zmdc[607]: INF ['zmc -d /dev/video0' started at 09/02/09 16:10:57]
Feb 9 16:10:57 localhost zmc_dvideo0[607]: INF [Debug Level = 0, Debug Log = <none>]
Feb 9 16:10:57 localhost zmdc[14045]: INF ['zmc -d /dev/video0' starting at 09/02/09 16:10:57, pid = 607]
Feb 9 16:10:58 localhost zmwatch[14191]: INF ['zmc -d /dev/video0' starting at 09/02/09 16:10:57, pid = 607]
Feb 9 16:10:58 localhost zmc_dvideo0[607]: INF [Starting Capture]
Feb 9 16:10:58 localhost zmc_dvideo0[607]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Feb 9 16:10:58 localhost zmc_dvideo0[607]: ERR [Failed to post-capture monitor 0]
Feb 9 16:10:58 localhost zmdc[14045]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 9 16:11:08 localhost zmwatch[14191]: INF [Restarting capture daemon for cam1, time since last capture 10 seconds (1234195868-1234195858)]
Any help would be much appreciated, cheers,
Steve.
zmu -q -d /dev/video0 -v
Video Capabilities
Name: CIF Single Chip
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 176
Height: 144
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 8
Brightness: 1028
Hue: 0
Colour :0
Contrast: 0
Whiteness: 0
Channel 0 Attributes
Name: pac207
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
zmdc exited abnormally, exit status 255]
Update
UPDATE: Installed ZoneMinder-1.22.2 from source and I still get the same errors.
Thi level perviously worked with the same hardware (with Mandriva 2006.0 ZM liveCD)
So either I am doing something wrong here (quite likely) or it is a problem related to the operating system (FC10)
I think I will give up soon, its a shame because FC10 is otherwise running very nicely.
Time to try another distro / ZM_liveCD
Cheers
Steve
Thi level perviously worked with the same hardware (with Mandriva 2006.0 ZM liveCD)
So either I am doing something wrong here (quite likely) or it is a problem related to the operating system (FC10)
I think I will give up soon, its a shame because FC10 is otherwise running very nicely.
Time to try another distro / ZM_liveCD
Cheers
Steve
liviab,
The main problems I had were with ccache and ffmpeg and probably my own doing
I have documented my progress in these two threads.
http://www.zoneminder.com/forums/viewto ... highlight=
http://www.zoneminder.com/forums/viewto ... 9453#49453
Hope that helps, Keith
The main problems I had were with ccache and ffmpeg and probably my own doing
I have documented my progress in these two threads.
http://www.zoneminder.com/forums/viewto ... highlight=
http://www.zoneminder.com/forums/viewto ... 9453#49453
Hope that helps, Keith
Guys,
Thanks for the replies.
I agree this isn't a FC10 problem, I tried a debian-based livecd and got the same error.
I think this is a HW issue.
I was just testing on an old laptop with very cheap webcams.
I've now sucessfully installed a new system using the mandria 2006/ZM 1.22 live CD and it works fine.
The webcams work, but the picure quality is bad.
I've now tried a bt878 based capture card, using a camcorder as the source and it works really well.
The FC10 install with RPMs was very easy, so I think next i will rebuild it
at FC10 + ZM 1.23
Thanks for the replies.
I agree this isn't a FC10 problem, I tried a debian-based livecd and got the same error.
I think this is a HW issue.
I was just testing on an old laptop with very cheap webcams.
I've now sucessfully installed a new system using the mandria 2006/ZM 1.22 live CD and it works fine.
The webcams work, but the picure quality is bad.
I've now tried a bt878 based capture card, using a camcorder as the source and it works really well.
The FC10 install with RPMs was very easy, so I think next i will rebuild it
at FC10 + ZM 1.23
...failed.elp99jcm wrote:Have you followed other posts and edited the zmdc.pl script?
I have this error and added the following line:
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';
To the /usr/bin/zmdc.pl file (just before the my @daemons line).
Restarted zoneminder and problem solved.
I keep getting abnormal exits in zmdc.log with an exit status 255