I am new in this forum, and it's my first post for asking help , i hope i will
write all the necessary for, you will be able to help me.
My System
OSVER: Ubuntu Server 9.04
Kernel : 2.6.28-18-server
ZMVER: ZoneMinder 1.24.2
RAM: 1GB DDR2
2 DEVICE: : Conexant Ship (4 Channel each and 30fps each ) with 8 analogs cams.
One is attach to the mother board and the other is a PCI card.
My dmesg information :
Code: Select all
Linux video capture interface: v2.00
[ 7.262857] bttv: driver version 0.9.17 loaded
[ 7.262861] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 7.262928] bttv: Bt8xx card found (0).
[ 7.262946] bttv 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7.262960] bttv0: Bt878 (rev 17) at 0000:02:00.0, irq: 16, latency: 16, mmio: 0xfdbff000
[ 7.263759] bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 7.263796] bttv0: gpio: en=00000000, out=00000000 in=00ff9fff [init]
[ 7.264587] tveeprom 0-0050: Huh, no eeprom present (err=-6)?
[ 7.264590] bttv0: tuner type unset
[ 7.264593] bttv0: i2c: checking for MSP34xx @ 0x80... not found
[ 7.265261] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[ 7.265926] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[ 7.266658] bttv0: registered device video0
[ 7.266687] bttv0: registered device vbi0
[ 7.266735] bttv: Bt8xx card found (1).
[ 7.266749] bttv 0000:02:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7.266761] bttv1: Bt878 (rev 17) at 0000:02:04.0, irq: 16, latency: 16, mmio: 0xfdbfd000
[ 7.266829] bttv1: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 7.266856] bttv1: gpio: en=00000000, out=00000000 in=00ff95ff [init]
[ 7.267614] tveeprom 1-0050: Huh, no eeprom present (err=-6)?
[ 7.267617] bttv1: tuner type unset
[ 7.267619] bttv1: i2c: checking for MSP34xx @ 0x80... not found
[ 7.268284] bttv1: i2c: checking for TDA9875 @ 0xb0... not found
[ 7.268951] bttv1: i2c: checking for TDA7432 @ 0x8a... not found
[ 7.269668] bttv1: registered device video1
[ 7.269698] bttv1: registered device vbi1
Code: Select all
02:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 16, IRQ 16
Memory at fdbff000 (32-bit, prefetchable) [size=4K]
Capabilities: <access>
Kernel driver in use: bttv
Kernel modules: bttv
02:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 4, IRQ 11
Memory at fdbfe000 (32-bit, prefetchable) [size=4K]
Capabilities: <access>
02:04.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 16, IRQ 16
Memory at fdbfd000 (32-bit, prefetchable) [size=4K]
Capabilities: <access>
Kernel driver in use: bttv
Kernel modules: bttv
02:04.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 4, IRQ 11
Memory at fdbfc000 (32-bit, prefetchable) [size=4K]
Capabilities: <access>
My Memory :
Code: Select all
total used free shared buffers cached
Mem: 2004 1898 105 0 198 1430
-/+ buffers/cache: 269 1734
Swap: 5867 0 5867
Code: Select all
CPU0 CPU1
0: 2543 0 IO-APIC-edge timer
1: 2 0 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
14: 0 0 IO-APIC-edge ata_piix
15: 0 0 IO-APIC-edge ata_piix
16: 118951576 0 IO-APIC-fasteoi uhci_hcd:usb5, HDA Intel, bttv0, bttv1
18: 0 0 IO-APIC-fasteoi uhci_hcd:usb4
19: 1003788 0 IO-APIC-fasteoi ata_piix, uhci_hcd:usb3
23: 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
2302: 36126299 0 PCI-MSI-edge eth0
NMI: 0 0 Non-maskable interrupts
LOC: 26312201 30695238 Local timer interrupts
RES: 180207 214658 Rescheduling interrupts
CAL: 283 342 Function call interrupts
TLB: 128819 122965 TLB shootdowns
SPU: 0 0 Spurious interrupts
Code: Select all
---- LÃÂmites memoria compartida ----
número máx. segmentos = 4096
tamaño máx. segmento (kbytes) = 316800
máximo total de memoria compartida (kbytes) = 1297612800
tamaño mÃÂn. segmento (bytes) = 1
------ LÃÂmites semáforo --------
número máximo de matrices = 128
máx. semáforos por matriz = 250
máx. semáforos sistema = 32000
máx. oper. por llamada semop = 32
valor máx. semáforo = 32767
------ Mensajes: lÃÂmites -------
máx. colas sistema = 1706
tamaño máx. mensaje (bytes) = 8192
tamaño máx. predeterminado cola (bytes) = 16384
Code: Select all
kernel.shmall = 324403200
kernel.shmmax = 324403200
Code: Select all
Video Device: video0
General Capabilities
Driver: bttv
Card: BT878 video ( *** UNKNOWN/GENER
Bus: PCI:0000:02:00.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: 838 x 504
Default: 768 x 480
Current: 768 x 480
Code: Select all
Video Device: video1
General Capabilities
Driver: bttv
Card: BT878 video ( *** UNKNOWN/GENER
Bus: PCI:0000:02:04.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: 838 x 504
Default: 768 x 480
Current: 768 x 480
I use also NTSC M and Video for Linux version 2, for each of my 8 analog cams
MY PROBLEMS
1/ I am only be able to capture at : 320x240 if i increase the size i have black image.
2/I was problems adding monitor because when in configure them the channels where interlaced !!
with my 1rst device this problem disapear disabling the V4L_MULTI_BUFFER
but with my second device is the same.
I don´t know if i need to configure In /etc/modprobe.conf
Code: Select all
options bttv card=77,77 tuner=4,4 radio=0,0 triton1=0 vsfx=0 autoload=0
3 /I put maximum FPS to 7fps (30fps / 4 = 7.5fps)
But in monitor mode i can only see 3fps for each camera. Why?