Difference between revisions of "WinFast TV2000 XP"

From ZoneMinder Wiki
Jump to navigationJump to search
m (Undo SPAM revision 6206 by Kristof (talk))
Line 134: Line 134:
----
----
'''For more info, see the [http://www.linuxtv.org/v4lwiki/index.php/Leadtek_WinFast_2000 Video4Linux Wiki]'''
'''For more info, see the [http://www.linuxtv.org/v4lwiki/index.php/Leadtek_WinFast_2000 Video4Linux Wiki]'''
===Coffre-fort et armoire forte===
[http://www.infosafe.fr/Armoirefortedin/Armoirefortedin.htm armoire forte ignifugée]
[http://www.coffre-fort-pro.com Coffre-fort agréé]

Revision as of 09:23, 3 July 2014

This card uses a bt878 chipset and the bttv kernel module and is probably one of the more common capture cards found in a home PC/DVR. It is quite generic but comes in 2 flavours: "ATX version" and "Low profile version"

There are 4 inputs:

  1. Television (Coaxial cable) This is where you can tune to a TV channel frequency
  2. Composite1 (RCA lead)
  3. SVideo (MiniDIN connector)
  4. Composite3 (RCA lead) This is the FM tuner for radio

Note: You should have a connector cable to connect the Composite1 and SVideo cables into a single 6-pin MiniDIN port on the card. The cable for the Low profile version also includes the Left/Right Audio inputs, connecting to a 9-pin MiniDIN port on the card.

There is also an input for the Infrared sensor which plugs into a headphone jack. This is probably not useful for ZoneMinder but may be used with Linux InfraRed Control (LIRC) if you want to capture from TV occasionally.

dmesg

Linux video capture interface: v2.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
GSI 23 sharing vector 0xE9 and IRQ 23
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 23
bttv0: Bt878 (rev 17) at 0000:01:07.0, irq: 23, latency: 32, mmio: 0xe5100000
bttv0: detected: Leadtek WinFast TV 2000 [card=34], PCI subsystem ID is 107d:6606
bttv0: using: Leadtek WinFast 2000/ WinFast 2000 XP [card=34,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00bff706 [init]
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 5-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 5-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
input: bttv IR (card=34) as /class/input/input7
bttv-input: bttv IR (card=34) detected at pci-0000:01:07.0/ir0

lspci

helot# lspci | grep Bt878
01:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

xawtv -hwscan

helot# xawtv -hwscan
This is xawtv-3.95, running on Linux/x86_64 (2.6.18-ck1)
looking for available devices

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : BT878 video (Leadtek WinFast 20
    flags: overlay capture tuner

When you run xawtv, you may need to fiddle with some of the options. In my case, I set the 'input' to Composite1 and 'capture' to grabdisplay. Once you have a picture, you can adjust the colour, contrast, brightness etc. ZoneMinder will recognise these settings when you set up a Monitor for this input (you may need to leave xawtv running).

zmu -d <device> -q -v

helot# zmu -d /dev/video0 -q -v
Video Capabilities
  Name: BT878 video (Leadtek WinFast 20
  Type: 171
    Can capture
    Can tune
    Overlay onto frame buffer
    Can clip
    Scalable
  Video Channels: 4
  Audio Channels: 1
  Maximum Width: 924
  Maximum Height: 576
  Minimum Width: 48
  Minimum Height: 32
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 384
  Height: 288
Picture Attributes
  Palette: 5 - 32bit RGB
  Colour Depth: 32
  Brightness: 27086
  Hue: 22280
  Colour :47185
  Contrast: 25340
  Whiteness: 0
Channel 0 Attributes
  Name: Television
  Channel: 0
  Flags: 3
    Channel has a tuner
    Channel has audio
  Type: 1 - TV
  Format: 0 - PAL
Channel 1 Attributes
  Name: Composite1
  Channel: 1
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
Channel 2 Attributes
  Name: S-Video
  Channel: 2
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL
Channel 3 Attributes
  Name: Composite3
  Channel: 3
  Flags: 2
    Channel has audio
  Type: 2 - Camera
  Format: 0 - PAL

Configuring a Monitor

In the ZoneMinder Console (main page), click Add New Monitor. Click the Source tab. Verify the settings match what you saw with xawtv:

Device Path
/dev/video0 (or /dev/v4l/video0)
Device Channel
1 (Composite1)
Device Format
PAL (NTSC in America)
Capture Palette
RGB24
Capture Width (pixels)
384
Capture Height (pixels)
288
Orientation
Normal

When you click Save, your new Monitor's Source column should be coloured Orange or Green. If it is Red, you probably need to adjust the Width/Height of the captured image.


For more info, see the Video4Linux Wiki


Coffre-fort et armoire forte

armoire forte ignifugée Coffre-fort agréé