PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 05:22:21 PM


Login with username, password and session length


Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: Need help with a USB capture card  (Read 1701 times)
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« on: September 20, 2011, 03:20:30 PM »

Okay, so I have a brand-spanking new USB capture card that I want to do some Let's Plays with. Only problem is that no capture program detects it. No TVTime, no XawTV, nothing. I've tried modprobing its driver (which I believe is em28xx), and building it from source, but to no avail. Here's the information on the device as specified by lsusb

Bus 001 Device 007: ID eb1a:2861 eMPIA Technology, Inc.


Anyone know of a solution?
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #1 on: September 20, 2011, 05:22:15 PM »

Is the driver loaded?
Do, in a terminal, and copy and paste the resul into the next post ....

lsmod | grep em28xx


When you plug in the device do

dmesg

and copy the last 15 lines or so -- the ones referring to the discovery of the device -- into the next post also.

That may show what is happening.

regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #2 on: September 20, 2011, 05:29:49 PM »

Yes, the module appears to be loaded. Here's the output:

em28xx                 76973  0
v4l2_common             5399  2 saa7115,em28xx
videobuf_vmalloc        3679  1 em28xx
videobuf_core          13546  2 em28xx,videobuf_vmalloc
rc_core                13095  7 ir_lirc_codec,em28xx,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
tveeprom               10625  1 em28xx
videodev               56533  4 saa7115,em28xx,v4l2_common,uvcvideo
usbcore               117639  9 em28xx,snd_usb_audio,snd_usbmidi_lib,uvcvideo,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
i2c_core               16500  9 saa7115,em28xx,v4l2_common,tveeprom,videodev,i915,drm_kms_helper,drm,i2c_algo_bit

and here's the output of dmesg, just after plugging in the device:

em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0)
em28xx #0: chip ID is em2860
em28xx #0: board has no eeprom
em28xx #0: found i2c device @ 0x4a [saa7113h]
em28xx #0: Your board has no unique USB ID.
em28xx #0: A hint were successfully done, based on i2c devicelist hash.
em28xx #0: This method is not 100% failproof.
em28xx #0: If the board were missdetected, please email this log to:
em28xx #0:      V4L Mailing List  <linux-media@vger.kernel.org>
em28xx #0: Board detected as EM2860/SAA711X Reference Design
em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19)
em28xx #0: Registering snapshot button...
input: em28xx snapshot button as /devices/pci0000:00/0000:00:1d.7/usb1/1-3/input/input22
saa7115 14-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)
em28xx #0: Config register raw data: 0x10
em28xx #0: AC97 vendor ID = 0x83847652
em28xx #0: AC97 features = 0x6a90
em28xx #0: Sigmatel audio processor detected(stac 9752)
em28xx #0: v4l2 driver version 0.1.2
em28xx #0: V4L2 video device registered as video2
em28xx #0: V4L2 VBI device registered as vbi0



Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #3 on: September 20, 2011, 05:45:42 PM »

You don't appear to have these


em28xx    76813  2 em28xx_dvb,em28xx_alsa

They might help ....
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #4 on: September 20, 2011, 05:54:21 PM »

A similar device being plugged in ....  not the same ..... and no idea if it works either ...

Code:
usb 1-5.4.2: New USB device found, idVendor=eb1a, idProduct=2863
usb 1-5.4.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
em28xx: New device @ 480 Mbps (eb1a:2863, interface 0, class 0)
em28xx #0: chip ID is em2860
em28xx #0: board has no eeprom
em28xx #0: found i2c device @ 0xb8 [tvp5150a]
em28xx #0: Your board has no unique USB ID.
em28xx #0: A hint were successfully done, based on i2c devicelist hash.
em28xx #0: This method is not 100% failproof.
em28xx #0: If the board were missdetected, please email this log to:
em28xx #0:      V4L Mailing List  <linux-media@vger.kernel.org>
em28xx #0: Board detected as EM2860/TVP5150 Reference Design
em28xx #0: Identified as EM2860/TVP5150 Reference Design (card=29)
tvp5150 10-005c: chip found @ 0xb8 (em28xx #0)
em28xx #0: Config register raw data: 0x10
em28xx #0: AC97 vendor ID = 0x83847650
em28xx #0: AC97 features = 0x6a90
em28xx #0: Sigmatel audio processor detected(stac 9750)
tvp5150 10-005c: tvp5150am1 detected.
em28xx #0: v4l2 driver version 0.1.2
em28xx #0: V4L2 video device registered as video0
em28xx #0: V4L2 VBI device registered as vbi0
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
em28xx_dvb: This device does not support the extension
tvp5150 10-005c: tvp5150am1 detected.
tvp5150 10-005c: tvp5150am1 detected.

I notice the button on your device is found but not on the one I just posted ...

regards
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #5 on: September 20, 2011, 06:08:37 PM »

Modprobed the modules, but no dice. I think the device isn't being detected properly, because I looked up my usb id and the results of dmesg don't match what it's supposed to be detecting.
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #6 on: September 20, 2011, 06:23:36 PM »

Modprobed the modules, but no dice. I think the device isn't being detected properly, because I looked up my usb id and the results of dmesg don't match what it's supposed to be detecting.


Can you explain please?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #7 on: September 20, 2011, 06:39:53 PM »


Quote
Can you explain please?


According to this (http://www.mjmwired.net/kernel/Documentation/video4linux/CARDLIST.em28xx), my card is card 1 of the em28xx driver. The system detects it as card 19.
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #8 on: September 20, 2011, 06:49:34 PM »


Quote
Can you explain please?


According to this (http://www.mjmwired.net/kernel/Documentation/video4linux/CARDLIST.em28xx), my card is card 1 of the em28xx driver. The system detects it as card 19.


Yes I see what you mean ......  now  

except that

1 -> Unknown EM2750/28xx video grabber
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #9 on: September 20, 2011, 06:51:34 PM »

Well, what do you suggest I do from here?
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #10 on: September 20, 2011, 06:53:17 PM »

Well, what do you suggest I do from here?

I dunno ....  and am too tired to think now ... heading for the bed ....

I meant to ask ....  what kind of input to the device are you using?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #11 on: September 20, 2011, 06:54:24 PM »

Quote
I meant to ask ....  what kind of input to the device are you using?

A Gamecube
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #12 on: September 21, 2011, 03:43:59 AM »

Two things come to mind this am ....

try modprobing the driver with the card number specified, as in

modprobe em28xx card=19
Quote
em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19)

to see if it makes any difference.

The second thing I woul try is to use VLC - Capture Device .....  and specify the device as

/dev/vbi0
Quote
em28xx #0: V4L2 VBI device registered as vbi0

When/if VLC fails to give an output, go to
VLC - Tools - Messages
and set the Verbosity to 2

Then attempt to Play VLC again and get the verbose message from the Messages window.

It might give some indication of what is going wrong.

You could also try VLC using

/dev/video2
Quote
V4L2 video device registered as video2
Be aware that video2 may change depending on what you have plugged in, so check dmesg for the correct number.

regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4638


MLUs Forever!


« Reply #13 on: September 21, 2011, 06:02:47 AM »

You might get some indication from v4l-info command also ....  this is an example ...{note: I had to split the output else I could not post}

Code:
$ v4l-info

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "em28xx"
        card                    : "EM2860/TVP5150 Reference Design"
        bus_info                : "usb-0000:00:02.1-5.4.2"
        version                 : 0.1.2
        capabilities            : 0x5020051 [VIDEO_CAPTURE,VBI_CAPTURE,?,AUDIO,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
        index                   : 0
        id                      : 0xb000 [NTSC_M,NTSC_M_JP,?]
        name                    : "NTSC"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(1)
        index                   : 1
        id                      : 0x1000 [NTSC_M]
        name                    : "NTSC-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(2)
        index                   : 2
        id                      : 0x2000 [NTSC_M_JP]
        name                    : "NTSC-M-JP"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(3)
        index                   : 3
        id                      : 0x8000 [?]
        name                    : "NTSC-M-KR"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000                                                            
        framelines              : 525                                                              
    VIDIOC_ENUMSTD(4)
        index                   : 4
        id                      : 0x4000 [?]
        name                    : "NTSC-443"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(5)
        index                   : 5
        id                      : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
        name                    : "PAL"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(6)
        index                   : 6
        id                      : 0x7 [PAL_B,PAL_B1,PAL_G]
        name                    : "PAL-BG"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(7)
        index                   : 7
        id                      : 0x8 [PAL_H]
        name                    : "PAL-H"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(8)
        index                   : 8
        id                      : 0x10 [PAL_I]
        name                    : "PAL-I"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(9)
        index                   : 9
        id                      : 0xe0 [PAL_D,PAL_D1,PAL_K]
        name                    : "PAL-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(10)
        index                   : 10
        id                      : 0x100 [PAL_M]
        name                    : "PAL-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(11)
        index                   : 11
        id                      : 0x200 [PAL_N]
        name                    : "PAL-N"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(12)
        index                   : 12
        id                      : 0x400 [PAL_Nc]
        name                    : "PAL-Nc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(13)
        index                   : 13
        id                      : 0x800 [PAL_60]
        name                    : "PAL-60"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(14)
        index                   : 14
        id                      : 0xff0000 [SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
        name                    : "SECAM"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
Code:
   VIDIOC_ENUMSTD(15)
        index                   : 15
        id                      : 0x10000 [SECAM_B]
        name                    : "SECAM-B"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(16)
        index                   : 16
        id                      : 0x40000 [SECAM_G]
        name                    : "SECAM-G"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(17)
        index                   : 17
        id                      : 0x80000 [SECAM_H]
        name                    : "SECAM-H"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(18)
        index                   : 18
        id                      : 0x320000 [SECAM_D,SECAM_K,SECAM_K1]
        name                    : "SECAM-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(19)
        index                   : 19
        id                      : 0x400000 [SECAM_L]
        name                    : "SECAM-L"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(20)
        index                   : 20
        id                      : 0x800000 [?ATSC_8_VSB]
        name                    : "SECAM-Lc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "Composite1"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0xffffff [PAL_B,PAL_B1,PAL_G,PAL_H,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,?ATSC_8_VSB]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(1)
        index                   : 1
        name                    : "S-Video"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0xffffff [PAL_B,PAL_B1,PAL_G,PAL_H,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,?ATSC_8_VSB]
        status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp YUY2, 4:2:2, packed"
        pixelformat             : 0x56595559 [YUYV]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
        index                   : 1
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp RGB 565, LE"
        pixelformat             : 0x50424752 [RGBP]
    VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
        index                   : 2
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer BGBG..GRGR"
        pixelformat             : 0x31384142 [BA81]
    VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
        index                   : 3
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer GRGR..BGBG"
        pixelformat             : 0x47425247 [GRBG]
    VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
        index                   : 4
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer GBGB..RGRG"
        pixelformat             : 0x47524247 [GBRG]
    VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
        index                   : 5
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "12 bpp YUV411"
        pixelformat             : 0x50313134 [411P]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 720
        fmt.pix.height          : 576
        fmt.pix.pixelformat     : 0x56595559 [YUYV]
        fmt.pix.field           : INTERLACED
        fmt.pix.bytesperline    : 1440
        fmt.pix.sizeimage       : 829440
        fmt.pix.colorspace      : SMPTE170M
        fmt.pix.priv            : 0

vbi capture
    VIDIOC_G_FMT(VBI_CAPTURE)
        type                    : VBI_CAPTURE
        fmt.vbi.sampling_rate   : 13500000
        fmt.vbi.offset          : 0
        fmt.vbi.samples_per_line: 720
        fmt.vbi.sample_format   : 0x59455247 [GREY]
        fmt.vbi.start[0]        : 6
        fmt.vbi.start[1]        : 318
        fmt.vbi.count[0]        : 18
        fmt.vbi.count[1]        : 18
        fmt.vbi.flags           : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
        id                      : 9963776
        type                    : INTEGER
        name                    : "Brightness"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 128
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
        id                      : 9963777
        type                    : INTEGER
        name                    : "Contrast"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 128
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
        id                      : 9963778
        type                    : INTEGER
        name                    : "Saturation"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 128
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+3)
        id                      : 9963779
        type                    : INTEGER
        name                    : "Hue"
        minimum                 : -128
        maximum                 : 127
        step                    : 1
        default_value           : 0
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+5)
        id                      : 9963781
        type                    : INTEGER
        name                    : "Volume"
        minimum                 : 0
        maximum                 : 31
        step                    : 1
        default_value           : 31
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+9)
        id                      : 9963785
        type                    : BOOLEAN
        name                    : "Mute"
        minimum                 : 0
        maximum                 : 1
        step                    : 1
        default_value           : 1
        flags                   : 0
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Venomous Woe
Jr. Member
**
Offline Offline

Posts: 18



« Reply #14 on: September 21, 2011, 06:57:11 AM »

Alright, I'm able to get some picture from the card, but only when the card is mounted at /dev/video0 (all the other times, it was mounted at /dev/video2). I don't have sound, though. So that's going to be my next step, as well as trying to see if I can access it regardless of mount point.

I'm using Pulseaudio, so that could have something to do with it.

But just in case, here's the output of the command you showed me:

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "em28xx"
        card                    : "EM2860/SAA711X Reference Design"
        bus_info                : "usb-0000:00:1d.7-3"
        version                 : 0.1.2
        capabilities            : 0x5020051 [VIDEO_CAPTURE,VBI_CAPTURE,?,AUDIO,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
        index                   : 0
        id                      : 0xb000 [NTSC_M,NTSC_M_JP,?]
        name                    : "NTSC"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(1)
        index                   : 1
        id                      : 0x1000 [NTSC_M]
        name                    : "NTSC-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(2)
        index                   : 2
        id                      : 0x2000 [NTSC_M_JP]
        name                    : "NTSC-M-JP"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(3)
        index                   : 3
        id                      : 0x8000 [?]
        name                    : "NTSC-M-KR"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(4)
        index                   : 4
        id                      : 0x4000 [?]
        name                    : "NTSC-443"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(5)
        index                   : 5
        id                      : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
        name                    : "PAL"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(6)
        index                   : 6
        id                      : 0x7 [PAL_B,PAL_B1,PAL_G]
        name                    : "PAL-BG"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(7)
        index                   : 7
        id                      : 0x8 [PAL_H]
        name                    : "PAL-H"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(Cool
        index                   : 8
        id                      : 0x10 [PAL_I]
        name                    : "PAL-I"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(9)
        index                   : 9
        id                      : 0xe0 [PAL_D,PAL_D1,PAL_K]
        name                    : "PAL-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(10)
        index                   : 10
        id                      : 0x100 [PAL_M]
        name                    : "PAL-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(11)
        index                   : 11
        id                      : 0x200 [PAL_N]
        name                    : "PAL-N"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(12)
        index                   : 12
        id                      : 0x400 [PAL_Nc]
        name                    : "PAL-Nc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(13)
        index                   : 13
        id                      : 0x800 [PAL_60]
        name                    : "PAL-60"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(14)
        index                   : 14
        id                      : 0xff0000 [SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
        name                    : "SECAM"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(15)
        index                   : 15
        id                      : 0x10000 [SECAM_B]
        name                    : "SECAM-B"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(16)
        index                   : 16
        id                      : 0x40000 [SECAM_G]
        name                    : "SECAM-G"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(17)
        index                   : 17
        id                      : 0x80000 [SECAM_H]
        name                    : "SECAM-H"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(18)
        index                   : 18
        id                      : 0x320000 [SECAM_D,SECAM_K,SECAM_K1]
        name                    : "SECAM-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(19)
        index                   : 19
        id                      : 0x400000 [SECAM_L]
        name                    : "SECAM-L"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(20)
        index                   : 20
        id                      : 0x800000 [?ATSC_8_VSB]
        name                    : "SECAM-Lc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "S-Video"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0xffffff [PAL_B,PAL_B1,PAL_G,PAL_H,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,?ATSC_8_VSB]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(1)
        index                   : 1
        name                    : "Composite1"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0xffffff [PAL_B,PAL_B1,PAL_G,PAL_H,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,?ATSC_8_VSB]
        status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp YUY2, 4:2:2, packed"
        pixelformat             : 0x56595559 [YUYV]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
        index                   : 1
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp RGB 565, LE"
        pixelformat             : 0x50424752 [RGBP]
    VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
        index                   : 2
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer BGBG..GRGR"
        pixelformat             : 0x31384142 [BA81]
    VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
        index                   : 3
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer GRGR..BGBG"
        pixelformat             : 0x47425247 [GRBG]
    VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
        index                   : 4
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp Bayer GBGB..RGRG"
        pixelformat             : 0x47524247 [GBRG]
    VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
        index                   : 5
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "12 bpp YUV411"
        pixelformat             : 0x50313134 [411P]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 720
        fmt.pix.height          : 480
        fmt.pix.pixelformat     : 0x56595559 [YUYV]
        fmt.pix.field           : INTERLACED
        fmt.pix.bytesperline    : 1440
        fmt.pix.sizeimage       : 691200
        fmt.pix.colorspace      : SMPTE170M
        fmt.pix.priv            : 0

vbi capture
    VIDIOC_G_FMT(VBI_CAPTURE)
        type                    : VBI_CAPTURE
        fmt.vbi.sampling_rate   : 13500000
        fmt.vbi.offset          : 0
        fmt.vbi.samples_per_line: 720
        fmt.vbi.sample_format   : 0x59455247 [GREY]
        fmt.vbi.start[0]        : 10
        fmt.vbi.start[1]        : 273
        fmt.vbi.count[0]        : 12
        fmt.vbi.count[1]        : 12
        fmt.vbi.flags           : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
        id                      : 9963776
        type                    : INTEGER
        name                    : "Brightness"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 128
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+1)
        id                      : 9963777
        type                    : INTEGER
        name                    : "Contrast"
        minimum                 : 0
        maximum                 : 127
        step                    : 1
        default_value           : 64
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+2)
        id                      : 9963778
        type                    : INTEGER
        name                    : "Saturation"
        minimum                 : 0
        maximum                 : 127
        step                    : 1
        default_value           : 64
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+3)
        id                      : 9963779
        type                    : INTEGER
        name                    : "Hue"
        minimum                 : -128
        maximum                 : 127
        step                    : 1
        default_value           : 0
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+5)
        id                      : 9963781
        type                    : INTEGER
        name                    : "Volume"
        minimum                 : 0
        maximum                 : 31
        step                    : 1
        default_value           : 31
        flags                   : 32
    VIDIOC_QUERYCTRL(BASE+9)
        id                      : 9963785
        type                    : BOOLEAN
        name                    : "Mute"
        minimum                 : 0
        maximum                 : 1
        step                    : 1
        default_value           : 1
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+29)
        id                      : 9963805
        type                    : BOOLEAN
        name                    : "Chroma AGC"
        minimum                 : 0
        maximum                 : 1
        step                    : 1
        default_value           : 1
        flags                   : 8
    VIDIOC_QUERYCTRL(BASE+36)
        id                      : 9963812
        type                    : INTEGER
        name                    : "Chroma Gain"
        minimum                 : 0
        maximum                 : 127
        step                    : 1
        default_value           : 40
        flags                   : 48
Logged

Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM