Color Bullet Camera not working by using xawtv yes
Posted: Sat May 29, 2010 5:22 am
I have a zoneminder 1.24X system and am having trouble getting video from a generic analog color IR camera with these specs:
1/3 Sony Super HAD CDD Sensor
270K/420 TV Line (enhanced)
0.1 LUX (W/CDS Sensor on 0.00 Lux
Built in 12 IR LED
NTSC or PAL
510(H)X492(V) for NTSC / 500(H) X 582(V) for PAL
Resolution - Over 420 TV LINE (horizontal)
Video Output Signal 1.0 Vp-p 75 OHMs
Sensitivity - 0.1 LUX (CD Sensor on 0.00 LUX)
Scanning System - 2:1 Interlaced
Sync System - Internal
I am using a bluecherry PV-981A-8A 8 port DVR card. I can see that all the cameras work using
xawtv -c /dev/video0-3
but I cannot get any of the cameras to work under zoneminder. I have tried every resolution from 320X240, 360X240, 510X492, 500X582, PAL, NTSC, channel 0,1,2,3 and etc and nothing works.
when I run zmu -d /dev/video0-3 -q -v
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:04:00.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
v4l-info:
vbi capture
VIDIOC_G_FMT(VBI_CAPTURE)
type : VBI_CAPTURE
fmt.vbi.sampling_rate : 35468950
fmt.vbi.offset : 244
fmt.vbi.samples_per_line: 2048
fmt.vbi.sample_format : 0x59455247 [GREY]
fmt.vbi.start[0] : 7
fmt.vbi.start[1] : 320
fmt.vbi.count[0] : 16
fmt.vbi.count[1] : 16
fmt.vbi.flags : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 65535
step : 256
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 65535
step : 128
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 65535
step : 128
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : 0
maximum : 65535
step : 256
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+6)
id : 9963782
type : INTEGER
name : "Balance"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+7)
id : 9963783
type : INTEGER
name : "Bass"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+8)
id : 9963784
type : INTEGER
name : "Treble"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+9)
id : 9963785
type : BOOLEAN
name : "Mute"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
id : 134217728
type : BOOLEAN
name : "chroma agc"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
id : 134217729
type : BOOLEAN
name : "combfilter"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+2)
id : 134217730
type : BOOLEAN
name : "automute"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+3)
id : 134217731
type : BOOLEAN
name : "luma decimation filter"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+4)
id : 134217732
type : BOOLEAN
name : "agc crush"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+5)
id : 134217733
type : BOOLEAN
name : "vcr hack"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+6)
id : 134217734
type : INTEGER
name : "whitecrush upper"
minimum : 0
maximum : 255
step : 1
default_value : 207
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+7)
id : 134217735
type : INTEGER
name : "whitecrush lower"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+8)
id : 134217736
type : INTEGER
name : "uv ratio"
minimum : 0
maximum : 100
step : 1
default_value : 50
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+9)
id : 134217737
type : BOOLEAN
name : "full luma range"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+10)
id : 134217738
type : INTEGER
name : "coring"
minimum : 0
maximum : 3
step : 1
default_value : 0
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "BT878 video (ProVideo PV150)"
type : 0x2d [CAPTURE,TELETEXT,OVERLAY,CLIPPING]
channels : 2
audios : 0
maxwidth : 924
maxheight : 576
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "Composite0"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
VIDIOCGCHAN(1)
channel : 1
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
VIDIOCGAUDIO
audio : 0
volume : 0
bass : 0
treble : 0
picture
VIDIOCGPICT
brightness : 32768
hue : 32768
colour : 32768
contrast : 32768
whiteness : 0
depth : 24
palette : RGB24
buffer
VIDIOCGFBUF
base : (nil)
height : 0
width : 0
depth : 0
bytesperline : 0
window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
What could it be ???????????
1/3 Sony Super HAD CDD Sensor
270K/420 TV Line (enhanced)
0.1 LUX (W/CDS Sensor on 0.00 Lux
Built in 12 IR LED
NTSC or PAL
510(H)X492(V) for NTSC / 500(H) X 582(V) for PAL
Resolution - Over 420 TV LINE (horizontal)
Video Output Signal 1.0 Vp-p 75 OHMs
Sensitivity - 0.1 LUX (CD Sensor on 0.00 LUX)
Scanning System - 2:1 Interlaced
Sync System - Internal
I am using a bluecherry PV-981A-8A 8 port DVR card. I can see that all the cameras work using
xawtv -c /dev/video0-3
but I cannot get any of the cameras to work under zoneminder. I have tried every resolution from 320X240, 360X240, 510X492, 500X582, PAL, NTSC, channel 0,1,2,3 and etc and nothing works.
when I run zmu -d /dev/video0-3 -q -v
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:04:00.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
v4l-info:
vbi capture
VIDIOC_G_FMT(VBI_CAPTURE)
type : VBI_CAPTURE
fmt.vbi.sampling_rate : 35468950
fmt.vbi.offset : 244
fmt.vbi.samples_per_line: 2048
fmt.vbi.sample_format : 0x59455247 [GREY]
fmt.vbi.start[0] : 7
fmt.vbi.start[1] : 320
fmt.vbi.count[0] : 16
fmt.vbi.count[1] : 16
fmt.vbi.flags : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 65535
step : 256
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 65535
step : 128
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 65535
step : 128
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : 0
maximum : 65535
step : 256
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+6)
id : 9963782
type : INTEGER
name : "Balance"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+7)
id : 9963783
type : INTEGER
name : "Bass"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+8)
id : 9963784
type : INTEGER
name : "Treble"
minimum : 0
maximum : 65535
step : 655
default_value : 32768
flags : 0
VIDIOC_QUERYCTRL(BASE+9)
id : 9963785
type : BOOLEAN
name : "Mute"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
id : 134217728
type : BOOLEAN
name : "chroma agc"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
id : 134217729
type : BOOLEAN
name : "combfilter"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+2)
id : 134217730
type : BOOLEAN
name : "automute"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+3)
id : 134217731
type : BOOLEAN
name : "luma decimation filter"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+4)
id : 134217732
type : BOOLEAN
name : "agc crush"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+5)
id : 134217733
type : BOOLEAN
name : "vcr hack"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+6)
id : 134217734
type : INTEGER
name : "whitecrush upper"
minimum : 0
maximum : 255
step : 1
default_value : 207
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+7)
id : 134217735
type : INTEGER
name : "whitecrush lower"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+8)
id : 134217736
type : INTEGER
name : "uv ratio"
minimum : 0
maximum : 100
step : 1
default_value : 50
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+9)
id : 134217737
type : BOOLEAN
name : "full luma range"
minimum : 0
maximum : 1
step : 0
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+10)
id : 134217738
type : INTEGER
name : "coring"
minimum : 0
maximum : 3
step : 1
default_value : 0
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "BT878 video (ProVideo PV150)"
type : 0x2d [CAPTURE,TELETEXT,OVERLAY,CLIPPING]
channels : 2
audios : 0
maxwidth : 924
maxheight : 576
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "Composite0"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
VIDIOCGCHAN(1)
channel : 1
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
VIDIOCGAUDIO
audio : 0
volume : 0
bass : 0
treble : 0
picture
VIDIOCGPICT
brightness : 32768
hue : 32768
colour : 32768
contrast : 32768
whiteness : 0
depth : 24
palette : RGB24
buffer
VIDIOCGFBUF
base : (nil)
height : 0
width : 0
depth : 0
bytesperline : 0
window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
What could it be ???????????