|
Page 1 of 1
|
[ 14 posts ] |
|
| Author |
Message |
|
tomlj
Joined: Sat Sep 10, 2005 4:55 pm Posts: 13 Location: China and Singapore
|
 help: no image displayed
I used the following command to build zm1.22.0 on my fedora core 3 machine with a logitech usb webcam.
./configure -with-webdir=/var/www/html/zm -with-cgidir=/var/www/cgi-bin
The zm console can start but there is no image displayed.
The following error logs are found at \var\log\message:
Apr 14 22:52:58 localhost zmwatch[3841]: INF [Restarting capture daemon for cam1, shared memory not valid]
Apr 14 22:52:59 localhost zmdc[4813]: INF ['zmc -d dev/video0' started at 06/04/14 22:52:59]
Apr 14 22:52:59 localhost zmdc[3796]: INF ['zmc -d dev/video0' starting at 06/04/14 22:52:59, pid = 4813]
Apr 14 22:52:59 localhost zmc_dvideo0[4813]: INF [Debug Level = 0, Debug Log = <none>]
Apr 14 22:52:59 localhost zmc_dvideo0[4813]: ERR [Failed to open video device dev/video0: No such file or directory]
Apr 14 22:52:59 localhost zmdc[3796]: ERR ['zmc -d dev/video0' crashed, exit status 255]
Apr 14 22:52:59 localhost zmwatch[3841]: INF ['zmc -d dev/video0' started at 06/04/14 22:52:59]
I also tried liveCD, it works fine with my logitech usb webcam.
Any ideas about solving this problem?
Thanks in advance.
|
| Sat Apr 15, 2006 4:46 pm |
|
|
|
 |
|
acrid
Joined: Sun Aug 24, 2003 11:26 pm Posts: 68 Location: Germany
|
i think you forgot the beginning "/" in "/dev/video0"
|
| Sat Apr 15, 2006 11:03 pm |
|
 |
|
tomlj
Joined: Sat Sep 10, 2005 4:55 pm Posts: 13 Location: China and Singapore
|
Thanks for your reply.
I modified the camera setting to /dev/video0, but there is still no image. Any ohter suggestions?
Here is the error log: /var/log/messages:
Apr 16 13:40:03 localhost zmwatch[3763]: INF [Restarting capture daemon for cam1, shared memory not valid]
Apr 16 13:40:03 localhost zmdc[4346]: INF ['zmc -d /dev/video0' started at 06/04/16 13:40:03]
Apr 16 13:40:03 localhost zmdc[3726]: INF ['zmc -d /dev/video0' starting at 06/04/16 13:40:03, pid = 4346]
Apr 16 13:40:03 localhost zmc_dvideo0[4346]: INF [Debug Level = 0, Debug Log = <none>]
Apr 16 13:40:03 localhost zmc_dvideo0[4346]: ERR [Failed to open video device /dev/video0: No such file or directory]
Apr 16 13:40:03 localhost zmdc[3726]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
Apr 16 13:40:03 localhost zmwatch[3763]: INF ['zmc -d /dev/video0' started at 06/04/16 13:40:03]
Apr 16 13:40:13 localhost zmwatch[3763]: INF [Restarting capture daemon for cam1, shared memory not valid]
Apr 16 13:40:14 localhost zmdc[4352]: INF ['zmc -d /dev/video0' started at 06/04/16 13:40:14]
Apr 16 13:40:14 localhost zmc_dvideo0[4352]: INF [Debug Level = 0, Debug Log = <none>]
Apr 16 13:40:14 localhost zmdc[3726]: INF ['zmc -d /dev/video0' starting at 06/04/16 13:40:14, pid = 4352]
Apr 16 13:40:14 localhost zmc_dvideo0[4352]: ERR [Failed to open video device /dev/video0: No such file or directory]
Apr 16 13:40:14 localhost zmdc[3726]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
Apr 16 13:40:14 localhost zmwatch[3763]: INF ['zmc -d /dev/video0' started at 06/04/16 13:40:14]
Apr 16 13:40:24 localhost zmwatch[3763]: INF [Restarting capture daemon for cam1, shared memory not valid]
|
| Sun Apr 16, 2006 6:44 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
check you dmsg log and make sure the bttv drivers are loading.
look into your messages log as well for any relavent errors.
Regards,
Corey
|
| Mon Apr 17, 2006 5:28 am |
|
 |
|
tomlj
Joined: Sat Sep 10, 2005 4:55 pm Posts: 13 Location: China and Singapore
|
Thanks for your kind reply.
I downloaded and installed spac5xx linux webcam driver. This can be shown at /var/log/dmesg
Linux video capture interface: v1.00
/home/jli/zmsurveillance/spca5xx-20060402/drivers/usb/spca5xx.c: USB SPCA5xx camera found. Type QC Express (unknown CCD)
/home/jli/zmsurveillance/spca5xx-20060402/drivers/usb/spca5xx.c: [spca5xx_probe:8301] Camera type GBGR
usbcore: registered new driver spca5xx
/home/jli/zmsurveillance/spca5xx-20060402/drivers/usb/spca5xx.c: spca5xx driver 00.57.11 registered
However, after installing usb webcam driver, there is still no image. The /var/log/messages is attached as following.
Any other suggestions?
Thanks.
Apr 18 11:47:41 minint-7wfdns zmwatch[3889]: INF [Restarting capture daemon for cam1, shared memory not valid]
Apr 18 11:47:42 minint-7wfdns zmdc[3850]: INF ['zmc -d /dev/video0' starting at 06/04/18 11:47:42, pid = 4250]
Apr 18 11:47:42 minint-7wfdns zmdc[4250]: INF ['zmc -d /dev/video0' started at 06/04/18 11:47:42]
Apr 18 11:47:42 minint-7wfdns zmc_dvideo0[4250]: INF [Debug Level = 0, Debug Log = <none>]
Apr 18 11:47:42 minint-7wfdns zmwatch[3889]: INF ['zmc -d /dev/video0' starting at 06/04/18 11:47:42, pid = 4250]
Apr 18 11:47:42 minint-7wfdns zmc_dvideo0[4250]: ERR [Failed to set picture attributes: Invalid argument]
Apr 18 11:47:42 minint-7wfdns zmdc[3850]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
Apr 18 11:47:48 minint-7wfdns zmu[4252]: ERR [Shared memory not initialised by capture daemon]
Apr 18 11:47:49 minint-7wfdns zms[4258]: ERR [Shared memory not initialised by capture daemon]
Apr 18 11:47:51 minint-7wfdns zmu[4260]: ERR [Shared memory not initialised by capture daemon]
Apr 18 11:47:51 minint-7wfdns zms[4266]: ERR [Shared memory not initialised by capture daemon]
Apr 18 11:47:52 minint-7wfdns zmwatch[3889]: INF [Restarting capture daemon for cam1, shared memory not valid]
Apr 18 11:47:52 minint-7wfdns zmdc[3850]: INF ['zmc -d /dev/video0' starting at 06/04/18 11:47:52, pid = 4270]
Apr 18 11:47:52 minint-7wfdns zmdc[4270]: INF ['zmc -d /dev/video0' started at 06/04/18 11:47:52]
Apr 18 11:47:52 minint-7wfdns zmc_dvideo0[4270]: INF [Debug Level = 0, Debug Log = <none>]
Apr 18 11:47:52 minint-7wfdns zmwatch[3889]: INF ['zmc -d /dev/video0' started at 06/04/18 11:47:52]
Apr 18 11:47:53 minint-7wfdns zmc_dvideo0[4270]: ERR [Failed to set picture attributes: Invalid argument]
Apr 18 11:47:53 minint-7wfdns zmdc[3850]: ERR ['zmc -d /dev/video0' crashed, exit status 255]
Apr 18 11:48:02 minint-7wfdns zmwatch[3889]: INF [Restarting capture daemon for cam1, shared memory not valid]
|
| Tue Apr 18, 2006 4:52 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
This usualy means that you have set one of the following incorrectly,
color pallet, video hieght, or video width. Try starting with 320x240 (assuming ntsc) and try different pallets.
Regards,
Corey
|
| Tue Apr 18, 2006 6:38 pm |
|
 |
|
tomlj
Joined: Sat Sep 10, 2005 4:55 pm Posts: 13 Location: China and Singapore
|
I set the camera parameters accordiing to the output of zmu -d /dev/video0 -q -v
/dev/video0
Device channel 0
Format 0=PAL
RGB24
176
144
[root@minint-7wfdns ~]# zmu -d /dev/video0 -q -v
Video Capabilities
Name: QC Express
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 176
Height: 144
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: TV8532
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
But there is still no image. Also tried 320*240, 320*280 as well as other capture palettes. All all are no luck.
I followed some posts at the forum and set
echo 134217728 > /proc/sys/kernel/shmall
echo 134217728 > /proc/sys/kernel/shmmax
But these setting doesn't change my situation.
The error log is attached at the following. Any more suggestions? Thanks in advance for any replies.
Error log from /var/log/messages:
Apr 26 16:52:26 minint-7wfdns zmc_d0[3944]: INF [Debug Level = 0, Debug Log = <none>]
Apr 26 16:52:26 minint-7wfdns zmc_d0[3944]: WAR [Attempt to fetch boolean value for ZM_MPEG_REPLAY_FORMAT, actual type is string]
Apr 26 16:52:26 minint-7wfdns zmc_d0[3944]: ERR [Failed to set picture attributes: Invalid argument]
Apr 26 16:52:26 minint-7wfdns zmc_d0[3944]: WAR [Attempt to fetch boolean value for ZM_WEB_TITLE_PREFIX, actual type is string]
Apr 26 16:52:45 minint-7wfdns zmu[3956]: WAR [Attempt to fetch boolean value for ZM_MPEG_REPLAY_FORMAT, actual type is string]
Apr 26 16:52:45 minint-7wfdns zmu[3956]: WAR [Attempt to fetch boolean value for ZM_EMAIL_ADDRESS, actual type is string]
Apr 26 16:52:45 minint-7wfdns zmu[3956]: WAR [Attempt to fetch integer value for ZM_WEB_RESIZE_CONSOLE, actual type is boolean]
Apr 26 16:52:45 minint-7wfdns zmu[3956]: ERR [Shared memory not initialised by capture daemon]
Apr 26 16:52:45 minint-7wfdns zms[3960]: ERR [Shared memory not initialised by capture daemon]
|
| Wed Apr 26, 2006 10:07 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
1) Do you have STRICT_VIDEO_CONFIG set to off? If not then I would do so.
2) The config errors you are getting there implies that your db config is for a different version than your binaries. Is this possible?
_________________ Phil
|
| Wed Apr 26, 2006 12:01 pm |
|
 |
|
keynet
Joined: Sun Feb 17, 2008 5:18 pm Posts: 12
|
 WinTV USB Pro
Hi,
Having had some success with a Winfast DTV 1000 capture card, I want to swap to a WinTV USB capture for a couple of reasons. The WinTV device works well with both xawtv and kdetv (using the S-video input).
But I can't make it work with ZM at all, on any setting. I keep getting
ZM works with the 2 Winfast cards in the same machine, (but their analogue quality is poor), KdeTV/xawtv work with all 3, seems hard to believe much is wrong. I have lots of RAM (2G) and about 1G shared, so seems unlikely to be the problem. I use /dev/video0 (2) set to 320 x 240 and greyscale. ZM shows the video device as orange. ZMU reports: xawtv describes it as follows dmesg says And each time zmc tries to init the driver syslog reports
I have not so far succeeded in increasing the zmc debug level. Don't know if that would help - advice please?
Can anyone suggest a solution?
Thanks
|
| Tue May 20, 2008 11:23 pm |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
First problem I see is that it using V4L2, ZM does not work yet with V4L2 and needs the V4L compatability layer at least or the V4L driver. Also be aware that the V4L compatability layer has known issues.
You might try an older kernel like 2.6.23 or 2.6.24
|
| Wed May 21, 2008 8:09 am |
|
 |
|
keynet
Joined: Sun Feb 17, 2008 5:18 pm Posts: 12
|
Thanks, yes I noted that too. But the two Winfast cards also report V4L2 when they boot, and the WinTV reports supporting V4L and V4L2. So I'm a bit lost. I'm using Kernel 2.6.23.1-244 (Standard on SuSe 10.3 at the mo, I think). Perhaps the compatibility layer isn't working...?
|
| Wed May 21, 2008 3:18 pm |
|
 |
|
mynew1
Joined: Fri Sep 28, 2012 6:23 pm Posts: 3
|
 Re:
Hi Keynet, Did you figure out the problem? I am also having the same problem, no image displayed. I tried pretty much everything mentioned in this thread, still no luck. Just wondering if you found a solution. Thanks.
_________________ Many thanks - James
Last edited by mynew1 on Tue Nov 13, 2012 10:14 pm, edited 1 time in total.
|
| Fri Sep 28, 2012 6:28 pm |
|
 |
|
keynet
Joined: Sun Feb 17, 2008 5:18 pm Posts: 12
|
 Re: help: no image displayed
No sorry, I gave up on that one a long time ago! The WinTV USB is now gathering dust in the loft. It's only 320 x 240 res. best case I think, so not worth investing too much time in.
FYI I have tried other USB sources and not had much luck even though I'm on a much newer kernel now (3.04). Cheap ebay no-brand turned out not to have the claimed Philips chip in it, so was returned, I also tried a Dazzle DVC90 which is very touchy on setup (only worked with YUYV colour setting as I recall), but wasn't reliable - EM28xx driver appeared to die with nothing logged after 3-4 days use.
I'm now exclusively using PCI BT878 based cards which *are* 100% reliable. BTW that includes an old PCI WinTV card with single S-video/composite input
HTH!
|
| Fri Sep 28, 2012 6:52 pm |
|
 |
|
davide.pascolini
Joined: Thu Dec 20, 2012 10:38 am Posts: 2
|
 Re: help: no image displayed
thanks
|
| Thu Dec 20, 2012 10:51 am |
|
|
|
Page 1 of 1
|
[ 14 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|