Chinese CX23881 working in Ubuntu 7.10 and Zoneminder 1.23.2
-
- Posts: 3
- Joined: Sat Mar 01, 2008 3:58 am
Chinese CX23881 working in Ubuntu 7.10 and Zoneminder 1.23.2
I purchased the card below on ebay.
TE-8004E
Adopt Conexant 23881 10bit decode chipset
Video Input: 4 Channels,1Ch TV out
Display Rate: 120fps(NTSC), 100fps(PAL)
Recording Rate: 120fps(NTSC), 100fps(PAL)
Compression Format: H.264
Video Resolution: 320*240,352*288 S/W
and works with Ubuntu 7.10 AFTER installing the newest kernel.
no special config needed.
TE-8004E
Adopt Conexant 23881 10bit decode chipset
Video Input: 4 Channels,1Ch TV out
Display Rate: 120fps(NTSC), 100fps(PAL)
Recording Rate: 120fps(NTSC), 100fps(PAL)
Compression Format: H.264
Video Resolution: 320*240,352*288 S/W
and works with Ubuntu 7.10 AFTER installing the newest kernel.
no special config needed.
I've also bought this one from ebay.
Card works in windows with the supply software.
I can't get a complete image. There are big black/green horizontal lines in front of the image and only a small part of the actual image can be seen. I use ZMLinuxOS 2008.7 which uses kernel 2.6.22. And have also tested with Ubuntu 8.04 without luck.
The cx88 module is loaded but isn't able to detect the card. Card-id is set to type 0 (UNKNOWN/GENERIC).
What is the card-id for this capture card and which kernel are you using?
BTW: Productpage of the capture card: http://www.tungson.cn/en/Product/view02.asp?id=768
Card works in windows with the supply software.
I can't get a complete image. There are big black/green horizontal lines in front of the image and only a small part of the actual image can be seen. I use ZMLinuxOS 2008.7 which uses kernel 2.6.22. And have also tested with Ubuntu 8.04 without luck.
The cx88 module is loaded but isn't able to detect the card. Card-id is set to type 0 (UNKNOWN/GENERIC).
What is the card-id for this capture card and which kernel are you using?
BTW: Productpage of the capture card: http://www.tungson.cn/en/Product/view02.asp?id=768
I've received a PM from untermensch: his card was automatically detected but his system was underpowered to capture more then 1 cam... he uninstalled the card.
Maybe I should go for a Kodicom hardcopy (like this one). How is video quality from a Kodicom (bt878) compared to a cx23881 card?
I currently also have a tv card (bt878) which works in zoneminder but video quality is not what the TE-8004 (cx23881) card shows me in their windows application. The picture from the TE-8004 is a lot sharper and more colorfull ( all tested over a 150' cable).
Another point is the framerate. A Kodicom has 100fps (PAL) over 16 channels. So a little less then 7fps/channel. What happens if I only connect 4 cams? Will it get to 25fps or stick at 6-7fps?
UPDATE: TE-8004 works on 194x144 but not on higher resolutions.
Maybe I should go for a Kodicom hardcopy (like this one). How is video quality from a Kodicom (bt878) compared to a cx23881 card?
I currently also have a tv card (bt878) which works in zoneminder but video quality is not what the TE-8004 (cx23881) card shows me in their windows application. The picture from the TE-8004 is a lot sharper and more colorfull ( all tested over a 150' cable).
Another point is the framerate. A Kodicom has 100fps (PAL) over 16 channels. So a little less then 7fps/channel. What happens if I only connect 4 cams? Will it get to 25fps or stick at 6-7fps?
UPDATE: TE-8004 works on 194x144 but not on higher resolutions.
If you use that Kodicom 4400 clone you might get up to full frame rate for four cameras but you will need to keep the chips cool with heatsinks. If you attach 16 cameras frame rate will drop down to about 2 fps per camera because a number of frames are lost as the controler switches between cameras. I found with my 8 chip card that trying to run them at full frame rate will eventualy cause them to crash the PC but if you keep the frame rate to about 12 fps and use heat sinks it never crashes.
Even with unbranded cards off ebay quality varies so I cant guarantee anything.
Even with unbranded cards off ebay quality varies so I cant guarantee anything.
-
- Posts: 3
- Joined: Sat Mar 01, 2008 3:58 am
I got this card working in Unbuntu 8.10
I pulled this card out of my junk box and gave it another go
with some better hardware.
and got it working with Unbuntu 8.10
Install Unbuntu 8.10
Install updates
Install Zoneminder using package manager
I had to create /etc/modprobe.conf
and add the line
option cx88xx card=0,0,0,0
then
sudo chmod 4755 /usr/bin/zmfix
/usr/bin/zmfix
and add
Include /etc/zm/apache.conf
to /etc/apache2/apache2.conf
after a reboot I was able to add monitors.
Video quality is MUCH better compared to my
standalone security DVR.
with some better hardware.
and got it working with Unbuntu 8.10
Install Unbuntu 8.10
Install updates
Install Zoneminder using package manager
I had to create /etc/modprobe.conf
and add the line
option cx88xx card=0,0,0,0
then
sudo chmod 4755 /usr/bin/zmfix
/usr/bin/zmfix
and add
Include /etc/zm/apache.conf
to /etc/apache2/apache2.conf
after a reboot I was able to add monitors.
Video quality is MUCH better compared to my
standalone security DVR.
Last edited by untermensch on Sun Feb 01, 2009 4:51 am, edited 2 times in total.
-
- Posts: 3
- Joined: Sat Mar 01, 2008 3:58 am
I am using ubuntu server as a guest operating system on a windows XP machine.cordel wrote:The proper way to insmod a card now is to create a file under /etc/modprobe.d/
You can name it any thing you like, capturecards for example.
Then add the same lines as you have done in your modprobe.conf
it is a text based installation of ubuntu, ubuntu is not recognizing the Tv card that i want to use for the zoneminder.
My Tv card is of type "Lifeview Flyvideo 3000 NTSC" Philips 713x chipset.
"lshw -C multimedia " gives the result
lspci gives*-multimedia
description: Multimedia audio controller
product: ES1371 [AudioPCI-97]
vendor: Ensoniq
physical id: 2
bus info: pci@0000:02:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=ENS1371 latency=64 maxlatency=255 mingnt=6 module=snd_ens1371
10)
00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware Inc PCI bridge (rev 02)
00:15.0 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.1 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.2 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.3 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.4 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.5 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.6 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:15.7 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.0 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.1 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.2 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.3 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.4 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.5 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.6 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:16.7 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.0 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.1 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.2 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.3 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.4 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.5 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.6 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:17.7 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.0 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.1 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.2 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.3 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.4 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.5 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.6 PCI bridge: VMware Inc Device 07a0 (rev 01)
00:18.7 PCI bridge: VMware Inc Device 07a0 (rev 01)
02:00.0 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB
02:01.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
02:02.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
02:03.0 USB Controller: VMware Inc Abstract USB2 EHCI Controller
Hi, I have a TE-AV4000E from same Chinese company:
I am working on Ubuntu Server 9.10 Karmic and compiled the ZoneMinder-1.24.2 from source (by these instructions ).
lshw -c Multimedia
lspci -k
and
lsmod
So, kernel recognise my card. But still ZoneMinder doesn't. (even though tried untermensch's suggestion )
Can someone help me? I work for it about a week. Thanks.
Also, ivtv-utils and ivtv-modules packages have installed on server.
I am working on Ubuntu Server 9.10 Karmic and compiled the ZoneMinder-1.24.2 from source (by these instructions ).
lshw -c Multimedia
Code: Select all
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0
resources: irq:16 memory:dd100000-dd103fff
*-multimedia:0
description: Multimedia video controller
product: CX23880/1/2/3 PCI Video and Audio Decoder
vendor: Conexant Systems, Inc.
physical id: 0
bus info: pci@0000:05:00.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: vpd pm bus_master cap_list
configuration: driver=cx8800 latency=64 maxlatency=55 mingnt=20
resources: irq:19 memory:d5000000-d5ffffff
*-multimedia:1
description: Multimedia controller
product: CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
vendor: Conexant Systems, Inc.
physical id: 0.1
bus info: pci@0000:05:00.1
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=cx88_audio latency=64 maxlatency=255 mingnt=4
resources: irq:19 memory:d6000000-d6ffffff
*-multimedia:2
description: Multimedia video controller
product: CX23880/1/2/3 PCI Video and Audio Decoder
vendor: Conexant Systems, Inc.
physical id: 4
bus info: pci@0000:05:04.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: vpd pm bus_master cap_list
configuration: driver=cx8800 latency=64 maxlatency=55 mingnt=20
resources: irq:19 memory:d7000000-d7ffffff
*-multimedia:3
description: Multimedia controller
product: CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
vendor: Conexant Systems, Inc.
physical id: 4.1
bus info: pci@0000:05:04.1
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=cx88_audio latency=64 maxlatency=255 mingnt=4
resources: irq:19 memory:d8000000-d8ffffff
*-multimedia:4
description: Multimedia video controller
product: CX23880/1/2/3 PCI Video and Audio Decoder
vendor: Conexant Systems, Inc.
physical id: 8
bus info: pci@0000:05:08.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: vpd pm bus_master cap_list
configuration: driver=cx8800 latency=64 maxlatency=55 mingnt=20
resources: irq:19 memory:d9000000-d9ffffff
*-multimedia:5
description: Multimedia controller
product: CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
vendor: Conexant Systems, Inc.
physical id: 8.1
bus info: pci@0000:05:08.1
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=cx88_audio latency=64 maxlatency=255 mingnt=4
resources: irq:19 memory:da000000-daffffff
*-multimedia:6
description: Multimedia video controller
product: CX23880/1/2/3 PCI Video and Audio Decoder
vendor: Conexant Systems, Inc.
physical id: c
bus info: pci@0000:05:0c.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: vpd pm bus_master cap_list
configuration: driver=cx8800 latency=64 maxlatency=55 mingnt=20
resources: irq:19 memory:db000000-dbffffff
*-multimedia:7
description: Multimedia controller
product: CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
vendor: Conexant Systems, Inc.
physical id: c.1
bus info: pci@0000:05:0c.1
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=cx88_audio latency=64 maxlatency=255 mingnt=4
resources: irq:19 memory:dc000000-dcffffff
Code: Select all
04:01.0 PCI bridge: Actiontec Electronics Inc Mini-PCI bridge (rev 11)
Kernel modules: shpchp
05:00.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Kernel driver in use: cx8800
Kernel modules: cx8800
05:00.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Kernel driver in use: cx88_audio
Kernel modules: cx88-alsa
05:04.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Kernel driver in use: cx8800
Kernel modules: cx8800
05:04.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Kernel driver in use: cx88_audio
Kernel modules: cx88-alsa
05:08.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Kernel driver in use: cx8800
Kernel modules: cx8800
05:08.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Kernel driver in use: cx88_audio
Kernel modules: cx88-alsa
05:0c.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Kernel driver in use: cx8800
Kernel modules: cx8800
05:0c.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Kernel driver in use: cx88_audio
Kernel modules: cx88-alsa
lsmod
Code: Select all
Module Size Used by
tuner 21540 0
cx8800 30808 0
cx88_alsa 10596 0
cx88xx 77836 2 cx8800,cx88_alsa
ir_common 48512 1 cx88xx
snd_hda_codec_realtek 203328 1
i2c_algo_bit 5760 1 cx88xx
v4l2_common 17500 3 tuner,cx8800,cx88xx
videodev 36736 4 tuner,cx8800,cx88xx,v4l2_common
v4l1_compat 14496 1 videodev
tveeprom 11872 1 cx88xx
videobuf_dma_sg 12608 3 cx8800,cx88_alsa,cx88xx
snd_hda_intel 26984 0
videobuf_core 17952 3 cx8800,cx88xx,videobuf_dma_sg
snd_hda_codec 75708 2 snd_hda_codec_realtek,snd_hda_intel
btcx_risc 4772 3 cx8800,cx88_alsa,cx88xx
shpchp 32336 0
snd_hwdep 7200 1 snd_hda_codec
intel_agp 27748 0
snd_pcsp 9452 0
snd_pcm 75488 4 cx88_alsa,snd_hda_intel,snd_hda_codec,snd_pcsp
snd_timer 22276 1 snd_pcm
snd 59204 8 cx88_alsa,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcsp,snd_pcm,snd_timer
agpgart 35020 1 intel_agp
ppdev 6688 0
soundcore 7264 1 snd
snd_page_alloc 9252 2 snd_hda_intel,snd_pcm
parport_pc 32228 1
iptable_filter 3100 0
psmouse 56500 0
serio_raw 5280 0
lp 8964 0
parport 35340 3 ppdev,parport_pc,lp
ip_tables 11692 1 iptable_filter
x_tables 16544 1 ip_tables
r8169 32352 0
mii 5212 1 r8169
floppy 54980 0
Can someone help me? I work for it about a week. Thanks.
Also, ivtv-utils and ivtv-modules packages have installed on server.
I’ve got this card as I figured I could prod it into action
Started this morning, I usually work with FreeBSD so both pretty new to Ubuntu and haven’t worked with Zoneminder. Plan on having 2 maybe 3 cameras but due to the atom ill reduce the framerate on all and probably only have motion detection on 1 possibly 2 cameras, ill see how it does. The box isnt really used for much else (home automation stuff but nothing taxing).
After Linux encryption problems, device not recognised and not enough memory problems, I’ve got something on screen, but it’s interlaced with lines and there’s no colour.
If anyone can point me in the direction of what I need to do then great, otherwise ill keep at it I’ve developed lots of C/C++ and PHP so not a problem if the code requires updating...
The hardware
- 1 U rack mount case
- Intel D945GSEJT Intel Atom N270 1.6GHz.
- 2GB DDR2
- 750GB Disk
- TE-AV4000E PCI card
- Swan C500 Color CCD as a test camera although this will change.
Installed ubuntu server 9.10:
Get updates and install them:
Install apps and libraries for zoneminder:
Set mysql password as:
Get and install zoneminder:
Update dependancies:
Configure apache:
Add user so apache can access video:
Change the permissions on video inputs:
Create new file for kernel module and add config:
Kernel Memory:
Adjust by editing /etc/sysctl.conf -
So Far....
For reference info:
Probe video device:
V4L2
V4L1
Summary -
Width 720
Height 480
Palette 24BIT RGB
Color Depth 24
Channel 0 Television
Channel 1 Composite NTSC
Channel 2 S-Video NTSC
Forced monitorprobe.php to use V4L v1, v2 doesnt work at all:
V4L Info:
Started this morning, I usually work with FreeBSD so both pretty new to Ubuntu and haven’t worked with Zoneminder. Plan on having 2 maybe 3 cameras but due to the atom ill reduce the framerate on all and probably only have motion detection on 1 possibly 2 cameras, ill see how it does. The box isnt really used for much else (home automation stuff but nothing taxing).
After Linux encryption problems, device not recognised and not enough memory problems, I’ve got something on screen, but it’s interlaced with lines and there’s no colour.
If anyone can point me in the direction of what I need to do then great, otherwise ill keep at it I’ve developed lots of C/C++ and PHP so not a problem if the code requires updating...
The hardware
- 1 U rack mount case
- Intel D945GSEJT Intel Atom N270 1.6GHz.
- 2GB DDR2
- 750GB Disk
- TE-AV4000E PCI card
- Swan C500 Color CCD as a test camera although this will change.
Installed ubuntu server 9.10:
Get updates and install them:
Code: Select all
sudo apt-get update
sudo apt-get upgrade
Code: Select all
sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
sudo apt-get install libjpeg62 libmime-perl libstdc++6 libwww-perl zlib1g
Get and install zoneminder:
Code: Select all
sudo wget ftp://www.northern-ridge.com.au/zoneminder/1.24/ubuntu/jaunty/zoneminder_1.24.2-1_i386.deb
sudo dpkg -i zoneminder_1.24.2-1_i386.deb
Code: Select all
sudo apt-get -f install
Code: Select all
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
sudo /etc/init.d/apache2 force-reload
Code: Select all
sudo adduser www-data video
Code: Select all
chmod 666 /dev/video0
chmod 666 /dev/video1
chmod 666 /dev/video2
chmod 666 /dev/video3
Code: Select all
vi options-conexant.conf
option cx88xx card=0,0,0,0
Code: Select all
cat /proc/sys/kernel/shmall 2,097,152
cat /proc/sys/kernel/shmmax 33,554,432
Code: Select all
kernel.shmall = 524288000
kernel.shmmax = 524288000
For reference info:
Probe video device:
V4L2
Code: Select all
sudo /usr/bin/zmu -V2 -q -v -d/dev/video0
"Error, failed to query crop capabilities /dev/video0: Invalid argument"
Code: Select all
sudo /usr/bin/zmu -V1 -q -v -d/dev/video0
Width 720
Height 480
Palette 24BIT RGB
Color Depth 24
Channel 0 Television
Channel 1 Composite NTSC
Channel 2 S-Video NTSC
Code: Select all
Output -
Video Device: /dev/video0
Video Capabilities
Name: Shenzhen Tungsten Ages Tech TE-
Type: 7
Can capture
Can tune
Does teletext
Video Channels: 3
Audio Channels: 0
Maximum Width: 720
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32639
Hue: 32639
Colour :32639
Contrast: 16191
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 1
Channel has a tuner
Type: 1 - TV
Format: 1 - NTSC
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 0
Type: 2 - Camera
Format: 1 - NTSC
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 0
Type: 2 - Camera
Format: 1 - NTSC
Code: Select all
Can't parse command output 'd:/dev/video0|N:Shenzhen Tungsten Ages Tech TE-|T:7|nC:3|nA:0|mxW:720|mxH:480|mnW:48|mnH:32|X:0|Y:0|W:320|H:240|P:4|D:24|B:32639|h:32639|Cl:32639|Cn:16191|w:0|n0:Television|C0:0|Fl0:1|T0:1|F0:1,|n1:Composite1|C1:1|Fl1:0|T1:2|F1:1,|n2:S-Video|C2:2|Fl2:0|T2:2|F2:1'
Code: Select all
general info
VIDIOC_QUERYCAP
driver : "cx8800"
card : "Shenzhen Tungsten Ages Tech TE-"
bus_info : "PCI:0000:06:00.0"
version : 0.0.7
capabilities : 0x5010011 [VIDEO_CAPTURE,VBI_CAPTURE,TUNER,READWRITE,STREAMING]
standards
VIDIOC_ENUMSTD(0)
index : 0
id : 0x1000 [NTSC_M]
name : "NTSC-M"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(1)
index : 1
id : 0x2000 [NTSC_M_JP]
name : "NTSC-M-JP"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(2)
index : 2
id : 0x4000 [?]
name : "NTSC-443"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(3)
index : 3
id : 0x7 [PAL_B,PAL_B1,PAL_G]
name : "PAL-BG"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(4)
index : 4
id : 0x10 [PAL_I]
name : "PAL-I"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(5)
index : 5
id : 0xe0 [PAL_D,PAL_D1,PAL_K]
name : "PAL-DK"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(6)
index : 6
id : 0x100 [PAL_M]
name : "PAL-M"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(7)
index : 7
id : 0x200 [PAL_N]
name : "PAL-N"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(8)
index : 8
id : 0x400 [PAL_Nc]
name : "PAL-Nc"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(9)
index : 9
id : 0x800 [PAL_60]
name : "PAL-60"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(10)
index : 10
id : 0x10000 [SECAM_B]
name : "SECAM-B"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(11)
index : 11
id : 0x40000 [SECAM_G]
name : "SECAM-G"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(12)
index : 12
id : 0x80000 [SECAM_H]
name : "SECAM-H"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(13)
index : 13
id : 0x320000 [SECAM_D,SECAM_K,SECAM_K1]
name : "SECAM-DK"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(14)
index : 14
id : 0x400000 [SECAM_L]
name : "SECAM-L"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Television"
type : TUNER
audioset : 0
tuner : 0
std : 0x7f7ff7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,?,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
status : 0x0 []
VIDIOC_ENUMINPUT(1)
index : 1
name : "Composite1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x7f7ff7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,?,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
status : 0x0 []
VIDIOC_ENUMINPUT(2)
index : 2
name : "S-Video"
type : CAMERA
audioset : 0
tuner : 0
std : 0x7f7ff7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,?,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L]
status : 0x0 []
tuners
VIDIOC_G_TUNER(0)
index : 0
name : "Television"
type : ANALOG_TV
capability : 0x70 [STEREO,LANG2,LANG1]
rangelow : 0
rangehigh : 4294967295
rxsubchans : 0x1 [MONO]
audmode : MONO
signal : 65535
afc : 0
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "8 bpp, gray"
pixelformat : 0x59455247 [GREY]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "15 bpp RGB, le"
pixelformat : 0x4f424752 [RGBO]
VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
index : 2
type : VIDEO_CAPTURE
flags : 0
description : "15 bpp RGB, be"
pixelformat : 0x51424752 [RGBQ]
VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
index : 3
type : VIDEO_CAPTURE
flags : 0
description : "16 bpp RGB, le"
pixelformat : 0x50424752 [RGBP]
VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
index : 4
type : VIDEO_CAPTURE
flags : 0
description : "16 bpp RGB, be"
pixelformat : 0x52424752 [RGBR]
VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
index : 5
type : VIDEO_CAPTURE
flags : 0
description : "24 bpp RGB, le"
pixelformat : 0x33524742 [BGR3]
VIDIOC_ENUM_FMT(6,VIDEO_CAPTURE)
index : 6
type : VIDEO_CAPTURE
flags : 0
description : "32 bpp RGB, le"
pixelformat : 0x34524742 [BGR4]
VIDIOC_ENUM_FMT(7,VIDEO_CAPTURE)
index : 7
type : VIDEO_CAPTURE
flags : 0
description : "32 bpp RGB, be"
pixelformat : 0x34424752 [RGB4]
VIDIOC_ENUM_FMT(8,VIDEO_CAPTURE)
index : 8
type : VIDEO_CAPTURE
flags : 0
description : "4:2:2, packed, YUYV"
pixelformat : 0x56595559 [YUYV]
VIDIOC_ENUM_FMT(9,VIDEO_CAPTURE)
index : 9
type : VIDEO_CAPTURE
flags : 0
description : "4:2:2, packed, UYVY"
pixelformat : 0x59565955 [UYVY]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x33524742 [BGR3]
fmt.pix.field : INTERLACED
fmt.pix.bytesperline : 960
fmt.pix.sizeimage : 230400
fmt.pix.colorspace : unknown
fmt.pix.priv : 0
vbi capture
VIDIOC_G_FMT(VBI_CAPTURE)
type : VBI_CAPTURE
fmt.vbi.sampling_rate : 28636363
fmt.vbi.offset : 244
fmt.vbi.samples_per_line: 2048
fmt.vbi.sample_format : 0x59455247 [GREY]
fmt.vbi.start[0] : 10
fmt.vbi.start[1] : 273
fmt.vbi.count[0] : 17
fmt.vbi.count[1] : 17
fmt.vbi.flags : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 63
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "Shenzhen Tungsten Ages Tech TE-"
type : 0x7 [CAPTURE,TUNER,TELETEXT]
channels : 3
audios : 0
maxwidth : 720
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "Television"
tuners : 1
flags : 0x1 [TUNER]
type : TV
norm : 1
VIDIOCGCHAN(1)
channel : 1
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 1
VIDIOCGCHAN(2)
channel : 2
name : "S-Video"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 1
tuner
VIDIOCGTUNER
tuner : 0
name : "Television"
rangelow : 0
rangehigh : 4294967295
flags : 0x7 [PAL,NTSC,SECAM]
mode : NTSC
signal : 65535
audio
picture
VIDIOCGPICT
brightness : 32639
hue : 32639
colour : 32639
contrast : 16191
whiteness : 0
depth : 24
palette : RGB24
buffer
window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
Re: Chinese CX23881 working in Ubuntu 7.10 and Zoneminder 1.
I got a TE-8008 card with 8 cx23881 chips, when I try setup card=55,55,55,55,55,55,55,55 it is work for me.
card=66,66,66,66,66,66,66,66 is work also.
card=66,66,66,66,66,66,66,66 is work also.