(Solved) Swann PNP-150 cameras only get black screen
Posted: Thu Aug 25, 2011 8:15 pm
I've installed ZM 1.24.2 on a Ubuntu 10.04 LTS unit following the Wiki http://www.zoneminder.com/wiki/index.ph ... x)_Desktop
I'm using a 4 channel 25 FPS Capture Card with a single 878a chip, and Swann PNP-150 cameras. Just cannot seem to get any video from either camera. Tried them one at a time on channel 0. Tried many different combinations. Went to very basic settings as follows:
Monitor - Monitor-1 (1)
GeneralSourceTimestampBuffersMisc
Device Path /dev/video0
Capture Method Video for Linux version 1
Device Channel 0
Device Format NTSC
Capture Palette Grey
Capture Width (pixels) 320
Capture Height (pixels) 240
Preserve Aspect Ratio
Orientation normal
Output from ZMU shows:
$ zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video ( *** UNKNOWN/GENER
Bus: PCI:0000:01:09.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: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal not detected (X)
Colour Signal detected
Horizontal Lock not detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: S-Video
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Here is another output:
$ dmesg | grep bttv
[ 18.817605] bttv: driver version 0.9.18 loaded
[ 18.817617] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 18.819270] bttv: Bt8xx card found (0).
[ 18.819778] bttv 0000:01:09.0: PCI INT A -> Link[LNKF] -> GSI 11 (level, low) -> IRQ 11
[ 18.819803] bttv0: Bt878 (rev 17) at 0000:01:09.0, irq: 11, latency: 32, mmio: 0xf6afe000
[ 18.823806] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 18.823820] IRQ 11/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 18.823883] bttv0: gpio: en=00000000, out=00000000 in=00f36fff [init]
[ 25.280073] bttv0: tuner type unset
[ 25.283879] bttv0: registered device video0
[ 25.285247] bttv0: registered device vbi0
in the ZM console the screen is blank but has State: Idle - 30.74 fps below the black screen. I can lower the frames per second and it will correspond to show it. looks like it really wants to work but needs some additional setting.
Any help or ideas would be greatly appreciated.
I'm using a 4 channel 25 FPS Capture Card with a single 878a chip, and Swann PNP-150 cameras. Just cannot seem to get any video from either camera. Tried them one at a time on channel 0. Tried many different combinations. Went to very basic settings as follows:
Monitor - Monitor-1 (1)
GeneralSourceTimestampBuffersMisc
Device Path /dev/video0
Capture Method Video for Linux version 1
Device Channel 0
Device Format NTSC
Capture Palette Grey
Capture Width (pixels) 320
Capture Height (pixels) 240
Preserve Aspect Ratio
Orientation normal
Output from ZMU shows:
$ zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video ( *** UNKNOWN/GENER
Bus: PCI:0000:01:09.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: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal not detected (X)
Colour Signal detected
Horizontal Lock not detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: S-Video
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Here is another output:
$ dmesg | grep bttv
[ 18.817605] bttv: driver version 0.9.18 loaded
[ 18.817617] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 18.819270] bttv: Bt8xx card found (0).
[ 18.819778] bttv 0000:01:09.0: PCI INT A -> Link[LNKF] -> GSI 11 (level, low) -> IRQ 11
[ 18.819803] bttv0: Bt878 (rev 17) at 0000:01:09.0, irq: 11, latency: 32, mmio: 0xf6afe000
[ 18.823806] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 18.823820] IRQ 11/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 18.823883] bttv0: gpio: en=00000000, out=00000000 in=00f36fff [init]
[ 25.280073] bttv0: tuner type unset
[ 25.283879] bttv0: registered device video0
[ 25.285247] bttv0: registered device vbi0
in the ZM console the screen is blank but has State: Idle - 30.74 fps below the black screen. I can lower the frames per second and it will correspond to show it. looks like it really wants to work but needs some additional setting.
Any help or ideas would be greatly appreciated.