Page 1 of 1

Only Blue Picture

Posted: Thu May 20, 2010 2:05 pm
by BlackJack01090
Hi,

first of all sorry for my english :D.

I have the following capture card:
TV8802 from Abus. The Card has the conexant fusion 878a chip and 4 BNC Inputs and one S-Video Output.

I installed Debian lenny and Zoneminder 1.24.2 with the Howto from the ZoneMinder wiki.

My kernel is 2.6.26-2-amd64.

my /etc/modprobe.d/bttv has this content: option bttv card=77

In ZM I configured one monitor with the following settings:

Device /dev/video0
Capture Method v4l2
Channel 0
Format PAL
Palett RGB565
width 320
height 240

And i got only a blue Picture... But the FPS where shown under the Picture and they are changing.

The Cam (checked on the tv) is connected over BNC. The User manual says:

1/4" Sharp CCD
PAL 512(H)X582(V) NTSC 512(H)X492(V)
HorizontalResolution 420 TV Lines

Code: Select all

zeta002:~# zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
  Driver: bttv
  Card: BT878 video ( *** UNKNOWN/GENER
  Bus: PCI:0000:03:01.0
  Version: 0.9.17
  Type: 0x5010015
    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
    Has 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: 4
  Input 0
    Name: Television
    Type: Tuner
    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
  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
zmdc.log

Code: Select all

05/20/10 15:46:56.891517 zmdc[2790].INF [Server starting at 10/05/20 15:46:56]
05/20/10 15:46:59.972745 zmdc[2790].INF ['zmc -d /dev/video0' starting at 10/05/20 15:46:59, pid = 2812]
05/20/10 15:47:00.054570 zmdc[2790].INF ['zmfilter.pl' starting at 10/05/20 15:47:00, pid = 2814]
05/20/10 15:47:00.139491 zmdc[2790].INF ['zmaudit.pl -c' starting at 10/05/20 15:47:00, pid = 2816]
05/20/10 15:47:00.170219 zmdc[2790].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/20/10 15:47:00.170414 zmdc[2790].INF [Starting pending process, zmc -d /dev/video0]
05/20/10 15:47:00.172180 zmdc[2790].INF ['zmc -d /dev/video0' starting at 10/05/20 15:47:00, pid = 2819]
05/20/10 15:47:00.183852 zmdc[2790].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/20/10 15:47:00.263464 zmdc[2790].INF ['zmwatch.pl' starting at 10/05/20 15:47:00, pid = 2820]
05/20/10 15:47:00.360845 zmdc[2790].INF ['zmupdate.pl -c' starting at 10/05/20 15:47:00, pid = 2822]
05/20/10 15:47:05.024958 zmdc[2790].INF [Starting pending process, zmc -d /dev/video0]
05/20/10 15:47:05.025573 zmdc[2790].INF ['zmc -d /dev/video0' starting at 10/05/20 15:47:05, pid = 2829]
05/20/10 15:47:05.036862 zmdc[2790].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/20/10 15:47:15.044983 zmdc[2790].INF [Starting pending process, zmc -d /dev/video0]
05/20/10 15:47:15.045991 zmdc[2790].INF ['zmc -d /dev/video0' starting at 10/05/20 15:47:15, pid = 2837]
05/20/10 15:47:15.058134 zmdc[2790].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
05/20/10 15:47:23.659827 zmdc[2790].INF [Command 'zmc -d /dev/video0' removed from pending list at 10/05/20 15:47:23]
05/20/10 15:47:23.745583 zmdc[2790].INF ['zmc -d /dev/video0' starting at 10/05/20 15:47:23, pid = 2845]
05/20/10 15:47:23.834336 zmdc[2790].WAR [Can't find process with command of 'zma -m 1']

Posted: Thu May 20, 2010 8:41 pm
by kingofkya
Blue means zm is in fact capturing but most likeley you have the wrong input selected.

Posted: Fri May 21, 2010 6:28 am
by BlackJack01090
That sounds gut ich added 4 Monitors with /dev/video0 channel 0 up to 3 and i plugged in the cam on every bnc port. No Result only blue picture. I testet grey instead RGB565 and than i have a black screen with small grey lines but you can see this lines only if you look extremly good on the screen. sorry for my englisch :)

If I used v4l1 the browser cannot find an image there is the little cross in the internet explorer.

Perhaps the Wrong card in option bttv??

-- edit --

dsmeg says now

[18378.652363] i2c-adapter i2c-1: sendbytes: NAK bailout.
[18378.652363] tda7432 1-0045: I/O error, trying (write 3 0x20)
[18378.652363] i2c-adapter i2c-1: sendbytes: NAK bailout.
[18378.652363] tda7432 1-0045: I/O error, trying (write 4 0x20)
[18378.652363] i2c-adapter i2c-1: sendbytes: NAK bailout.
[18378.652363] tda7432 1-0045: I/O error, trying (write 5 0x20)
[18378.652363] i2c-adapter i2c-1: sendbytes: NAK bailout.
[18378.652363] tda7432 1-0045: I/O error, trying (write 6 0x20)

Greetings

BJ01090

Posted: Fri May 21, 2010 8:12 pm
by kingofkya
[18378.652363] tda7432 1-0045: I/O error, trying (write 3 0x20)

means the card cant talk try removing cards from the pci bus untile the error goes away if that dosen't work you may have a bad card.

Posted: Sat May 22, 2010 8:21 am
by BlackJack01090
On windows this card works very well. I released all pci cards, change the pci slots but the error still exists. Normaly this card is a very good card. It was very expensive not like the PICO2000 but I don't know why this card doesen't work. I think I could be only the wrong card configured? card=77 is this right?

How good does the PICO2000 works? Perhaps I should buy this card?

Greetings

BJ01090

Posted: Sat May 22, 2010 8:27 pm
by kingofkya
Try setting card=0

if that dosen't work try to find a card# that works
http://www.kernel.org/doc/Documentation ... DLIST.bttv

I also highly dought its a 77 card which may be the problem as the cameras ports could be attached diffrently between models

Posted: Sun May 23, 2010 11:13 pm
by michael smith
your video should be /dev/video 0 <--notice the space

Cheers
Michael Smith

Posted: Mon May 24, 2010 2:04 am
by kingofkya
michael smith thast wrong and dosen't apply as he is getting video just the wrong input.

Posted: Mon May 24, 2010 3:57 am
by michael smith
yes your right :oops:
Cheers
Michael Smith

Posted: Fri May 28, 2010 9:26 pm
by BlackJack01090
Sorry no solutions perhaps this card isn't compatible. Under Windows XP with the original software everything works fine. So I think it is an driver problem under linux. I should use another card for zm ;)

Thanks for your help!

Greetings

BJ01090

Posted: Sat May 29, 2010 5:47 am
by kingofkya
You probbly have the wrong card= just by the fact you get a blue signele.