Hi,
my system is the following:
Ubuntu 9.10 desktop 386
ZoneMinder v.1.24.1
Video Camera: CCD camera + EasyCap USB Video Adapter (Syntec driver) .
I get this error from /var/log/messages:
...
Nov 18 12:31:55 angelo-desktop zmdc[1498]: INF ['zmc -d /dev/video' starting at 09/11/18 12:31:55, pid = 2180]
Nov 18 12:31:55 angelo-desktop zmdc[2180]: INF ['zmc -d /dev/video' started at 09/11/18 12:31:55]
Nov 18 12:31:55 angelo-desktop zmc_dvideo[2180]: INF [Debug Level = 0, Debug Log = <none>]
Nov 18 12:31:55 angelo-desktop zmc_dvideo[2180]: INF [Starting Capture]
Nov 18 12:31:55 angelo-desktop zmc_dvideo[2180]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
...
I got the following output from v4l-info:
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "stk11xx"
card : "Syntek USB Video Camera"
bus_info : "usb-0000:00:1d.7-7"
version : 2.2.0
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
standards
VIDIOC_ENUMSTD(0)
index : 0
id : 0x0 []
name : "webcam"
frameperiod.numerator : 0
frameperiod.denominator : 0
framelines : 0
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Input1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
VIDIOC_ENUMINPUT(1)
index : 1
name : "Input2"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
VIDIOC_ENUMINPUT(2)
index : 2
name : "Input3"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
VIDIOC_ENUMINPUT(3)
index : 3
name : "Input4"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "rgb24"
pixelformat : 0x33424752 [RGB3]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "rgb32"
pixelformat : 0x34424752 [RGB4]
VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
index : 2
type : VIDEO_CAPTURE
flags : 0
description : "bgr24"
pixelformat : 0x33524742 [BGR3]
VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
index : 3
type : VIDEO_CAPTURE
flags : 0
description : "bgr32"
pixelformat : 0x34524742 [BGR4]
VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
index : 4
type : VIDEO_CAPTURE
flags : 0
description : "uyvy"
pixelformat : 0x59565955 [UYVY]
VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
index : 5
type : VIDEO_CAPTURE
flags : 0
description : "yuyv"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x33524742 [BGR3]
fmt.pix.field : NONE
fmt.pix.bytesperline : 1920
fmt.pix.sizeimage : 921600
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 65280
step : 1
default_value : 32512
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 65280
step : 1
default_value : 32512
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 65280
step : 1
default_value : 32512
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : 0
maximum : 65280
step : 1
default_value : 32512
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "stk11xx"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 720
maxheight : 576
minwidth : 640
minheight : 480
channels
VIDIOCGCHAN(0)
channel : 0
name : "Webcam"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 32767
hue : 65535
colour : 32767
contrast : 32767
whiteness : 65535
depth : 24
palette : RGB24
buffer
VIDIOCGFBUF
base : (nil)
height : 0
width : 0
depth : 0
bytesperline : 0
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 3224892003
I've no idea where to go!
Any help would be very appreciate.
Thanks.
Angelo
zmc capture problem
Try capturing video using ffmpeg. If it works you can use ZM ffmpeg support to stream the video into zoneminder.
If ffmpeg also crashes, then there is probably a bug in the video capture driver. Search to see if you can find an updated driver.
OT: USB isn't really a good transport for video capture, Virtually all USB 2.0 devices only support FULL-Speed (12 Mbps) and not High-Speed (480 Mbps). USB packets are tiny (64 bytes).
If ffmpeg also crashes, then there is probably a bug in the video capture driver. Search to see if you can find an updated driver.
OT: USB isn't really a good transport for video capture, Virtually all USB 2.0 devices only support FULL-Speed (12 Mbps) and not High-Speed (480 Mbps). USB packets are tiny (64 bytes).