Exit status 255, I cant view my webcam
Posted: Fri Jun 19, 2009 6:57 pm
Hi all!
This is my first post....
First, I readed the FAQ and zoneminder's documentation, but I cant start viewing my webcam.
Everything runs fine, I can use my webcam with Camstream, Xawtv and it is finely identified by v4l2. I use Fedora 10 with Zoneminder 1.23.3, I have mysql installed and running well and all other parts is ok too. My webcam is a C3 Tech (results of lsusb: 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam) and I use with aMsn and others programs normaly.
The results of v4l-info:
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "zc3xx"
card : "PC Camera"
bus_info : "0000:00:1d.0"
version : 2.2.0
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "zc3xx"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "JPEG"
pixelformat : 0x4745504a [JPEG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x4745504a [JPEG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 320
fmt.pix.sizeimage : 29390
fmt.pix.colorspace : JPEG
fmt.pix.priv : 1
controls
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 256
step : 1
default_value : 128
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "PC Camera"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "zc3xx"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 0
hue : 0
colour : 0
contrast : 32768
whiteness : 26214
depth : 8
palette : unknown
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
Here is my log:
Jun 19 15:55:15 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437715-1245437686)]
Jun 19 15:55:15 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:15, pid = 11645]
Jun 19 15:55:15 jorge zmdc[11645]: INF ['zmc -d /dev/video0' started at 09/06/19 15:55:15]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:55:15 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:15, pid = 11645]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11645]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [Starting Capture]
Jun 19 15:55:16 jorge zmc_dvideo0[11645]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:55:16 jorge zmc_dvideo0[11645]: ERR [Failed to post-capture monitor 0]
Jun 19 15:55:16 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jun 19 15:55:45 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437745-1245437716)]
Jun 19 15:55:45 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:45, pid = 11662]
Jun 19 15:55:45 jorge zmdc[11662]: INF ['zmc -d /dev/video0' started at 09/06/19 15:55:45]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:55:45 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:45, pid = 11662]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11662]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [Starting Capture]
Jun 19 15:55:46 jorge zmc_dvideo0[11662]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:55:46 jorge zmc_dvideo0[11662]: ERR [Failed to post-capture monitor 0]
Jun 19 15:55:46 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jun 19 15:56:15 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437775-1245437746)]
Jun 19 15:56:15 jorge zmdc[11678]: INF ['zmc -d /dev/video0' started at 09/06/19 15:56:15]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:56:15 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:56:15, pid = 11678]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11678]
Jun 19 15:56:15 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:56:15, pid = 11678]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [Starting Capture]
Jun 19 15:56:16 jorge zmc_dvideo0[11678]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:56:16 jorge zmc_dvideo0[11678]: ERR [Failed to post-capture monitor 0]
Jun 19 15:56:16 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
I dont know what I can do with this "ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]", and I cant even know if the error is with zoneminder or if my webcam is incompatible with it...
Can anyone help me, please?? I seek whole forum and I dont found anything to help me...
Thanks a lot!
This is my first post....
First, I readed the FAQ and zoneminder's documentation, but I cant start viewing my webcam.
Everything runs fine, I can use my webcam with Camstream, Xawtv and it is finely identified by v4l2. I use Fedora 10 with Zoneminder 1.23.3, I have mysql installed and running well and all other parts is ok too. My webcam is a C3 Tech (results of lsusb: 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam) and I use with aMsn and others programs normaly.
The results of v4l-info:
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "zc3xx"
card : "PC Camera"
bus_info : "0000:00:1d.0"
version : 2.2.0
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "zc3xx"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "JPEG"
pixelformat : 0x4745504a [JPEG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x4745504a [JPEG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 320
fmt.pix.sizeimage : 29390
fmt.pix.colorspace : JPEG
fmt.pix.priv : 1
controls
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 256
step : 1
default_value : 128
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "PC Camera"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "zc3xx"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 0
hue : 0
colour : 0
contrast : 32768
whiteness : 26214
depth : 8
palette : unknown
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
Here is my log:
Jun 19 15:55:15 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437715-1245437686)]
Jun 19 15:55:15 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:15, pid = 11645]
Jun 19 15:55:15 jorge zmdc[11645]: INF ['zmc -d /dev/video0' started at 09/06/19 15:55:15]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:55:15 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:15, pid = 11645]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11645]
Jun 19 15:55:15 jorge zmc_dvideo0[11645]: INF [Starting Capture]
Jun 19 15:55:16 jorge zmc_dvideo0[11645]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:55:16 jorge zmc_dvideo0[11645]: ERR [Failed to post-capture monitor 0]
Jun 19 15:55:16 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jun 19 15:55:45 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437745-1245437716)]
Jun 19 15:55:45 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:45, pid = 11662]
Jun 19 15:55:45 jorge zmdc[11662]: INF ['zmc -d /dev/video0' started at 09/06/19 15:55:45]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:55:45 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:55:45, pid = 11662]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11662]
Jun 19 15:55:45 jorge zmc_dvideo0[11662]: INF [Starting Capture]
Jun 19 15:55:46 jorge zmc_dvideo0[11662]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:55:46 jorge zmc_dvideo0[11662]: ERR [Failed to post-capture monitor 0]
Jun 19 15:55:46 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Jun 19 15:56:15 jorge zmwatch[9267]: INF [Restarting capture daemon for WebCam, time since last capture 29 seconds (1245437775-1245437746)]
Jun 19 15:56:15 jorge zmdc[11678]: INF ['zmc -d /dev/video0' started at 09/06/19 15:56:15]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [Debug Level = 0, Debug Log = <none>]
Jun 19 15:56:15 jorge zmdc[9230]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:56:15, pid = 11678]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.11678]
Jun 19 15:56:15 jorge zmwatch[9267]: INF ['zmc -d /dev/video0' starting at 09/06/19 15:56:15, pid = 11678]
Jun 19 15:56:15 jorge zmc_dvideo0[11678]: INF [Starting Capture]
Jun 19 15:56:16 jorge zmc_dvideo0[11678]: ERR [Sync failure for frame 1 buffer 2(1): Invalid argument]
Jun 19 15:56:16 jorge zmc_dvideo0[11678]: ERR [Failed to post-capture monitor 0]
Jun 19 15:56:16 jorge zmdc[9230]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
I dont know what I can do with this "ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]", and I cant even know if the error is with zoneminder or if my webcam is incompatible with it...
Can anyone help me, please?? I seek whole forum and I dont found anything to help me...
Thanks a lot!