Difference between revisions of "Kodicom 4400r"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(15 intermediate revisions by 9 users not shown)
Line 2: Line 2:
<br>/dev/video0 (3) assigns composit input 3 to the first device
<br>/dev/video0 (3) assigns composit input 3 to the first device
<br>/dev/video1 (0) assigns composit input 0 to the second device etc...
<br>/dev/video1 (0) assigns composit input 0 to the second device etc...
More information can be obtained at [http://www.linuxtv.org/v4lwiki/index.php/Kodicom_4400R linuxtv.org]
More information can be obtained
More notes from the forum [[General_Notes#Kodicom_Capture_Cards]]
 
For video display in ZonEMindeR, make sure you select "Video For Linux Version 1" and the proper resolution for the camera.




==Add a single card==
==Add a single card==
modprobe bttv gbuffers=16 card=133,132,133,133<br>
modprobe bttv gbuffers=16 card=133,132,133,133 tuner=4,4,4,4<br>
or <br>
or <br>
edit your modprobe.conf to include <br>
edit your modprobe.conf (on modern linux distributions, the options below should be placed in /etc/modprobe.d/bttv.conf)  to include <br>
options bttv  gbuffers=16 card=133,132,133,133<br>
options bttv  gbuffers=16 card=133,132,133,133 tuner=4,4,4,4<br>
requires a 2.6.12 kernel but fully supported in a 2.6.13<br>
requires a 2.6.12 kernel but fully supported in a 2.6.13<br>
I tried and failed on the 2.6.12 but succeeded on the 2.6.13<br>
I tried and failed on the 2.6.12 but succeeded on the 2.6.13<br>
When using all 16 channels plug the additional BNC's onto the headers bearing in mind the first 4 are on the card.
but the order of the channels is
1,2,3,4,9,8,5,4,13,12,11,10,15,14,7,6
*James Wilson
*James Wilson


==Anko-tech a supplier of several cards including Kodicom==
It's very important to set: <br />
KMC-4400r<br>
options -> config -> V4L_MULTI_BUFFER = '''disabled'''  <br />
http://www.anko-tech.com/products<br>
Otherwise, you will get half picture from one camera and half picture from other camera. <br />
and <br />
options -> config -> CAPTURES_PER_FRAME = '''4'''<br />
or something between 2 or 4, otherwise you could get two cameras swapping back and forth. <br />
<br />
[[File:Options_kodicom_zoneminder.PNG]]<br />


==Two Cards in a single box ****==
==Two Cards in a single box ****==
Line 37: Line 48:
options bttv gbuffers=32 card=0x85,0x84,0x85,0x85,0x85,0x84,0x85,0x85 tuner=4<br>
options bttv gbuffers=32 card=0x85,0x84,0x85,0x85,0x85,0x84,0x85,0x85 tuner=4<br>


[http://www.sz-dvr.com/kodicom.htm Kodicom DVR]
 
 
==If color cameras show black and white==
Adding chroma_agc=1 to your modprobe line might fix it.  
 
Eg.
 
options bttv gbuffers=16 card=133,132,133,133 chroma_agc=1

Latest revision as of 04:19, 27 January 2016

This card works a little different than the others. The inputs are not bound to any spacific bt878 chip but go through a crosspoint video switch. The way this works is you have inputs (channles) 0-15 and you can assign them to any of the video devices (bt878 chips /dev/video 0-3)
/dev/video0 (3) assigns composit input 3 to the first device
/dev/video1 (0) assigns composit input 0 to the second device etc... More information can be obtained

For video display in ZonEMindeR, make sure you select "Video For Linux Version 1" and the proper resolution for the camera.


Add a single card

modprobe bttv gbuffers=16 card=133,132,133,133 tuner=4,4,4,4
or
edit your modprobe.conf (on modern linux distributions, the options below should be placed in /etc/modprobe.d/bttv.conf) to include
options bttv gbuffers=16 card=133,132,133,133 tuner=4,4,4,4
requires a 2.6.12 kernel but fully supported in a 2.6.13
I tried and failed on the 2.6.12 but succeeded on the 2.6.13

When using all 16 channels plug the additional BNC's onto the headers bearing in mind the first 4 are on the card. but the order of the channels is 1,2,3,4,9,8,5,4,13,12,11,10,15,14,7,6

  • James Wilson

It's very important to set:
options -> config -> V4L_MULTI_BUFFER = disabled
Otherwise, you will get half picture from one camera and half picture from other camera.
and
options -> config -> CAPTURES_PER_FRAME = 4
or something between 2 or 4, otherwise you could get two cameras swapping back and forth.

Options kodicom zoneminder.PNG

Two Cards in a single box ****

Two 4400r cards - labeled as se-120 (4 8778 chips/card). In an IBM 342 Server. FC4

It is setup with :
/dev/video0 channel 0
/dev/video1 channel 1
/dev/video2 channel 2
/dev/video3 channel 3

/dev/video4 channel 0
/dev/video5 channel 1
/dev/video6 channel 2
/dev/video7 channel 3

  1. modprobe.conf

alias char-major-81 bttv
options bttv gbuffers=32 card=0x85,0x84,0x85,0x85,0x85,0x84,0x85,0x85 tuner=4


If color cameras show black and white

Adding chroma_agc=1 to your modprobe line might fix it.

Eg.

options bttv gbuffers=16 card=133,132,133,133 chroma_agc=1