LeadTEK Winfast 2000XP Expert - low resolution s-video probl

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
evarn
Posts: 1
Joined: Sat May 13, 2006 11:21 am

LeadTEK Winfast 2000XP Expert - low resolution s-video probl

Post by evarn »

Hi,

I have a LeadTEK Winfast 2000XP Expert and am using it as an input for a outdoor camera.

I know for a fact that the camera does 640x480 and in windows i get 640x480 resoultion, however I only get 320x240 on linux. Is there an option i can use on the cx88xx module to force the higher res?

Here's some info:

Code: Select all

dmesg output
CORE cx88[0]: subsystem: 107d:6611, board: Leadtek Winfast 2000XP Expert [card=5,insmod option]
cx88[0]: Leadtek Winfast 2000XP Expert config: tuner=38, eeprom[0]=0x01
input: cx88 IR (Leadtek Winfast 2000XP as /class/input/input3
cx88[0]/0: found at 0000:02:02.0, rev: 5, irq: 22, latency: 32, mmio: 0xfa000000
tuner 0-0043: chip found @ 0x86 (cx88[0])
tuner 0-0060: chip found @ 0xc0 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0

Code: Select all

lspci -v
02:02.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
        Subsystem: LeadTek Research Inc. Unknown device 6611
        Flags: bus master, medium devsel, latency 32, IRQ 22
        Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

Code: Select all

v4l-info
### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "cx8800"
        card                    : "Leadtek Winfast 2000XP Expert"
        bus_info                : "PCI:0000:02:02.0"
        version                 : 0.0.6
        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-JP"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(2)
        index                   : 2
        id                      : 0x7 [PAL_B,PAL_B1,PAL_G]
        name                    : "PAL-BG"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(3)
        index                   : 3
        id                      : 0xe0 [PAL_D,PAL_D1,PAL_K]
        name                    : "PAL-DK"
        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                      : 0x100 [PAL_M]
        name                    : "PAL-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(6)
        index                   : 6
        id                      : 0x200 [PAL_N]
        name                    : "PAL-N"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(7)
        index                   : 7
        id                      : 0x400 [PAL_Nc]
        name                    : "PAL-Nc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(8)
        index                   : 8
        id                      : 0x800 [PAL_60]
        name                    : "PAL-60"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(9)
        index                   : 9
        id                      : 0x400000 [SECAM_L]
        name                    : "SECAM-L"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(10)
        index                   : 10
        id                      : 0x320000 [SECAM_D,SECAM_K,SECAM_K1]
        name                    : "SECAM-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "Television"
        type                    : TUNER
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7 [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_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(1)
        index                   : 1
        name                    : "Composite1"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7 [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_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(2)
        index                   : 2
        name                    : "S-Video"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7 [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_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []

tuners
    VIDIOC_G_TUNER(0)
        index                   : 0
        name                    : "Television"
        type                    : ANALOG_TV
        capability              : 0x2 [NORM]
        rangelow                : 0
        rangehigh               : 4294967295
        rxsubchans              : 0x0 []
        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   : 35468950
        fmt.vbi.offset          : 244
        fmt.vbi.samples_per_line: 2048
        fmt.vbi.sample_format   : 0x59455247 [GREY]
        fmt.vbi.start[0]        : 6
        fmt.vbi.start[1]        : 318
        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
    VIDIOC_QUERYCTRL(BASE+5)
        id                      : 9963781
        type                    : INTEGER
        name                    : "Volume"
        minimum                 : 0
        maximum                 : 63
        step                    : 1
        default_value           : 63
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+6)
        id                      : 9963782
        type                    : INTEGER
        name                    : "Balance"
        minimum                 : 0
        maximum                 : 127
        step                    : 1
        default_value           : 64
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+9)
        id                      : 9963785
        type                    : BOOLEAN
        name                    : "Mute"
        minimum                 : 0
        maximum                 : 1
        step                    : 0
        default_value           : 1
        flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "Leadtek Winfast 2000XP Expert"
        type                    : 0x7 [CAPTURE,TUNER,TELETEXT]
        channels                : 3
        audios                  : 0
        maxwidth                : 768
        maxheight               : 576
        minwidth                : 48
        minheight               : 32

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "Television"
        tuners                  : 1
        flags                   : 0x1 [TUNER]
        type                    : TV
        norm                    : 0
    VIDIOCGCHAN(1)
        channel                 : 1
        name                    : "Composite1"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0
    VIDIOCGCHAN(2)
        channel                 : 2
        name                    : "S-Video"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0

tuner
    VIDIOCGTUNER
        tuner                   : 0
        name                    : "Television"
        rangelow                : 0
        rangehigh               : 4294967295
        flags                   : 0x7 [PAL,NTSC,SECAM]
        mode                    : PAL
        signal                  : 65535

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
        brightness              : 33667
        hue                     : 33410
        colour                  : 39835
        contrast                : 18761
        whiteness               : 0
        depth                   : 24
        palette                 : RGB24

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 320
        height                  : 240
        chromakey               : 0
        flags                   : 0

Code: Select all

cat /etc/modules.d/cx8800
alias char-major-81 videodev
alias char-major-81-0 cx8800
options cx8800 video_nr=0 vbi_nr=0 radio_nr=0
options cx88xx card=5 tuner=38 nicam=1
alias /dev/video0 cx8800
Any ideas?

Thanks in advance

Ivan[/code]
xjust
Posts: 8
Joined: Mon Apr 27, 2009 12:00 pm
Contact:

mine doesnt work at all

Post by xjust »

i have the exact card but mine doesnt work at all. can you please tell me if you used any special drivers? i seem to have the exact output as you are on everything you described in your thread
Post Reply