Page 1 of 1

trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:06 pm
by tommekevda
Hi guys,

I've been doing some research but i can't seem to get my head around what i'm doing wrong.
i'm having problems displaying video from /dev/video0

with mplayer i just get a green screen. when i ctrl-c i get a black screen and have to hard reboot the pi.
When i use mplayer to write the capture to a file, i get an empty file.
i use the following command to try and display the video capture device.

Code: Select all

mplayer vcd:///dev/video0 -dumpstream -dumpfile out.raw & omxplayer out.raw -o hdmi
When i use cvlc to open the capture device i get the following message.
-- logger module started --
main error: no suitable interface module
main error: interface "globalhotkeys,none" initialization failed
dummy: using the dummy interface module...
vcd error: could not read TOCHDR
vcd error: no movie tracks found
main error: open of `vcd:///dev/video0' failed
main error: Your input can't be opened
main error: VLC is unable to open the MRL 'vcd:///dev/video0'. Check the log for details.
-- logger module stopped --
command:

Code: Select all

cvlc vcd:///dev/video0 --logfile=vlc.log --file-logging
I have the following capture device
Driver Info (not using libv4l2):
Driver name : em28xx
Card type : Unknown EM2750/28xx video grabb
Bus info : usb-bcm2708_usb-1.2
Driver version: 3.12.22
Capabilities : 0x85020001
Video Capture
Audio
Read/Write
Streaming
Device Capabilities
Device Caps : 0x05020001
Video Capture
Audio
Read/Write
Streaming
Priority: 2
Video input : 0
Audio input : 0 (Television)
Video Standard = 0x000000ff
PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
Width/Height : 720/576
Pixel Format : 'YUYV'
Field : Interlaced
Bytes per Line: 1440
Size Image : 829440
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Streaming Parameters Video Capture:
Frames per second: 25.000 (25/1)
Read buffers : 4

User Controls

brightness (int) : min=-128 max=127 step=1 default=0 value=0 flags=slider
contrast (int) : min=0 max=31 step=1 default=16 value=16 flags=slider
saturation (int) : min=0 max=31 step=1 default=16 value=16 flags=slider
volume (int) : min=0 max=31 step=1 default=31 value=31 flags=slider
mute (bool) : default=1 value=1
red_balance (int) : min=-48 max=48 step=1 default=0 value=0 flags=slider
blue_balance (int) : min=-48 max=48 step=1 default=0 value=0 flags=slider
sharpness (int) : min=0 max=15 step=1 default=0 value=0 flags=slider
This is just to test if i can capture the video device.

The ultimate goal is to capture the video device and output the content to a mounted network drive. no displaying on the pi is required.

Hope someone can help me with this.

Thx

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:19 pm
by redhawk
Does dmesg show any noteworthy error messages in the log??

As for video capture in general this doesn't perform well on the Pi because the ARMv6 processor isn't fast enough or suitable for processing video data especially at 720/576 resolution.
Unless your capture device provides hardware encoding i.e. mjpeg/mp4/mp2 then you're going to have to sacrifice frame rate and resolution to make this workable on the Pi.

Richard S.

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:29 pm
by tommekevda
i'm no dmesg expert so i'll just post the contents.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.22+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #691 PREEMPT Wed Jun 18 18:29:58 BST 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 8 MiB at 1b800000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c05fcdf0, node_mem_map c06ae000
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0xe bcm2708.serial=0x8557799d smsc95xx.macaddr=B8:27:EB:57:79:9D sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 439664K/458752K available (4376K kernel code, 238K rwdata, 1340K rodata, 143K init, 701K bss, 19088K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc059d54c (5718 kB)
[ 0.000000] .init : 0xc059e000 - 0xc05c1ee4 ( 144 kB)
[ 0.000000] .data : 0xc05c2000 - 0xc05fd900 ( 239 kB)
[ 0.000000] .bss : 0xc05fd90c - 0xc06ad0f8 ( 702 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:394
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001265] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001327] pid_max: default: 32768 minimum: 301
[ 0.001826] Mount-cache hash table entries: 512
[ 0.002661] Initializing cgroup subsys memory
[ 0.002770] Initializing cgroup subsys devices
[ 0.002809] Initializing cgroup subsys freezer
[ 0.002842] Initializing cgroup subsys blkio
[ 0.002985] CPU: Testing write buffer coherency: ok
[ 0.003447] Setting up static identity map for 0xc0427670 - 0xc04276cc
[ 0.005361] devtmpfs: initialized
[ 0.022065] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.023660] NET: Registered protocol family 16
[ 0.029064] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.029748] cpuidle: using governor ladder
[ 0.029794] cpuidle: using governor menu
[ 0.030396] bcm2708.uart_clock = 0
[ 0.032225] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.032280] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.032317] mailbox: Broadcom VideoCore Mailbox driver
[ 0.032418] bcm2708_vcio: mailbox at f200b880
[ 0.032527] bcm_power: Broadcom power driver
[ 0.032565] bcm_power_open() -> 0
[ 0.032591] bcm_power_request(0, 8)
[ 0.533317] bcm_mailbox_read -> 00000080, 0
[ 0.533358] bcm_power_request -> 0
[ 0.533591] Serial: AMBA PL011 UART driver
[ 0.533763] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.892096] console [ttyAMA0] enabled
[ 0.918979] bio: create slab <bio-0> at 0
[ 0.924505] SCSI subsystem initialized
[ 0.928501] usbcore: registered new interface driver usbfs
[ 0.934206] usbcore: registered new interface driver hub
[ 0.939766] usbcore: registered new device driver usb
[ 0.946396] Switched to clocksource stc
[ 0.950658] FS-Cache: Loaded
[ 0.953812] CacheFiles: Loaded
[ 0.969537] NET: Registered protocol family 2
[ 0.975032] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.982441] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.989013] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.995463] TCP: reno registered
[ 0.998763] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.004633] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.011392] NET: Registered protocol family 1
[ 1.016322] RPC: Registered named UNIX socket transport module.
[ 1.022381] RPC: Registered udp transport module.
[ 1.027140] RPC: Registered tcp transport module.
[ 1.031859] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.039240] bcm2708_dma: DMA manager at f2007000
[ 1.043979] bcm2708_gpio: bcm2708_gpio_probe c05cfed0
[ 1.049545] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.059161] audit: initializing netlink socket (disabled)
[ 1.064667] type=2000 audit(0.910:1): initialized
[ 1.231326] VFS: Disk quotas dquot_6.5.2
[ 1.235598] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.244609] FS-Cache: Netfs 'nfs' registered for caching
[ 1.251575] NFS: Registering the id_resolver key type
[ 1.256868] Key type id_resolver registered
[ 1.261075] Key type id_legacy registered
[ 1.265839] msgmni has been set to 874
[ 1.271655] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.279517] io scheduler noop registered
[ 1.283471] io scheduler deadline registered (default)
[ 1.289071] io scheduler cfq registered
[ 1.294239] BCM2708FB: allocated DMA memory 5bc00000
[ 1.299423] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 1.329794] Console: switching to colour frame buffer device 228x61
[ 1.350438] uart-pl011 dev:f1: no DMA platform data
[ 1.356097] vc-cma: Videocore CMA driver
[ 1.360196] vc-cma: vc_cma_base = 0x00000000
[ 1.364994] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.370578] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.385707] brd: module loaded
[ 1.394463] loop: module loaded
[ 1.398066] vchiq: vchiq_init_state: slot_zero = 0xdb800000, is_master = 0
[ 1.406149] Loading iSCSI transport class v2.0-870.
[ 1.412439] usbcore: registered new interface driver smsc95xx
[ 1.418669] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.624761] Core Release: 2.80a
[ 1.628097] Setting default values for core params
[ 1.633025] Finished setting default values for core params
[ 1.838815] Using Buffer DMA mode
[ 1.842219] Periodic Transfer Interrupt Enhancement - disabled
[ 1.848188] Multiprocessor Interrupt Enhancement - disabled
[ 1.853862] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.858343] Dedicated Tx FIFOs mode
[ 1.862275] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xdbc14000 dma = 0x5bc14000 len=9024
[ 1.872362] FIQ FSM acceleration enabled for :
[ 1.872362] Non-periodic Split Transactions
[ 1.872362] Periodic Split Transactions
[ 1.872362] High-Speed Isochronous Endpoints
[ 1.889371] dwc_otg: Microframe scheduler enabled
[ 1.889461] WARN::hcd_init:473: FIQ at 0xc03080cc
[ 1.894270] WARN::hcd_init:474: FIQ ASM at 0xc0308348 length 36
[ 1.904580] WARN::hcd_init:500: MPHI regs_base at 0xdc806000
[ 1.914555] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.923690] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.935272] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.945048] Init: Port Power? op_state=1
[ 1.953090] Init: Power Port (0)
[ 1.960816] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.971903] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.983483] usb usb1: Product: DWC OTG Controller
[ 1.992505] usb usb1: Manufacturer: Linux 3.12.22+ dwc_otg_hcd
[ 2.002643] usb usb1: SerialNumber: bcm2708_usb
[ 2.012380] hub 1-0:1.0: USB hub found
[ 2.020482] hub 1-0:1.0: 1 port detected
[ 2.029223] dwc_otg: FIQ enabled
[ 2.029241] dwc_otg: NAK holdoff enabled
[ 2.029252] dwc_otg: FIQ split-transaction FSM enabled
[ 2.029274] Module dwc_common_port init
[ 2.029752] usbcore: registered new interface driver usb-storage
[ 2.040439] mousedev: PS/2 mouse device common for all mice
[ 2.051036] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 2.061270] bcm2835-cpufreq: switching to governor powersave
[ 2.071156] bcm2835-cpufreq: switching to governor powersave
[ 2.081131] sdhci: Secure Digital Host Controller Interface driver
[ 2.091463] sdhci: Copyright(c) Pierre Ossman
[ 2.100171] sdhci: Enable low-latency mode
[ 2.146482] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 2.158732] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.169090] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.181150] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.198848] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.208890] usbcore: registered new interface driver usbhid
[ 2.220898] usbhid: USB HID core driver
[ 2.231278] Indeed it is in host mode hprt0 = 00021501
[ 2.245501] TCP: cubic registered
[ 2.266460] Initializing XFRM netlink socket
[ 2.278181] NET: Registered protocol family 17
[ 2.296722] Key type dns_resolver registered
[ 2.318154] registered taskstats version 1
[ 2.347649] Waiting for root device /dev/mmcblk0p6...
[ 2.359130] mmc0: read SD Status register (SSR) after 2 attempts
[ 2.388126] mmc0: new high speed SDHC card at address 1234
[ 2.398690] mmcblk0: mmc0:1234 SA08G 7.42 GiB
[ 2.413008] mmcblk0: p1 p2 < p5 p6 > p3
[ 2.496646] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.508357] Indeed it is in host mode hprt0 = 00001101
[ 2.716832] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.728055] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.740287] hub 1-1:1.0: USB hub found
[ 2.748584] hub 1-1:1.0: 5 ports detected
[ 3.036614] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.146854] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.158136] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.172797] smsc95xx v1.0.4
[ 3.240245] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:57:79:9d
[ 3.336560] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.449990] usb 1-1.2: New USB device found, idVendor=eb1a, idProduct=2821
[ 3.461434] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.473202] usb 1-1.2: Product: USB 2821 Device
[ 3.576620] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[ 3.691371] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c534
[ 3.702996] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.714874] usb 1-1.3: Product: USB Receiver
[ 3.723608] usb 1-1.3: Manufacturer: Logitech
[ 3.742814] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
[ 3.758162] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input0
[ 3.794988] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
[ 3.811055] hid-generic 0003:046D:C534.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input1
[ 8.959516] EXT4-fs (mmcblk0p6): recovery complete
[ 8.980412] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 8.993687] VFS: Mounted root (ext4 filesystem) on device 179:6.
[ 9.011030] devtmpfs: mounted
[ 9.019684] Freeing unused kernel memory: 140K (c059e000 - c05c1000)
[ 10.616062] udevd[156]: starting version 175
[ 13.066370] media: Linux media interface: v0.10
[ 13.080357] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 13.344740] Linux video capture interface: v2.00
[ 13.914649] em28xx: New device USB 2821 Device @ 480 Mbps (eb1a:2821, interface 0, class 0)
[ 14.244526] em28xx: Video interface 0 found: bulk isoc
[ 14.432191] em28xx: chip ID is em2710/2820
[ 14.728361] em2710/2820 #0: i2c eeprom 00: 1a eb 67 95 1a eb 21 28 90 00 11 03 6a 22 00 00
[ 14.837282] em2710/2820 #0: i2c eeprom 10: 00 00 04 57 06 21 00 00 00 00 00 00 00 00 00 00
[ 14.936745] em2710/2820 #0: i2c eeprom 20: 02 00 01 01 f0 10 00 00 00 00 00 00 5b 00 00 00
[ 15.021410] em2710/2820 #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 03 01 00 00 00 00
[ 15.104882] em2710/2820 #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.176651] em2710/2820 #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.198051] em2710/2820 #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
[ 15.212576] em2710/2820 #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 32 00 31 00 20 00 44 00
[ 15.227147] em2710/2820 #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
[ 15.241527] em2710/2820 #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.255816] em2710/2820 #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.279046] em2710/2820 #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.305760] em2710/2820 #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.323264] em2710/2820 #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.337569] em2710/2820 #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.351506] em2710/2820 #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 15.365467] em2710/2820 #0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0x26da7a8a
[ 15.379280] em2710/2820 #0: EEPROM info:
[ 15.388276] em2710/2820 #0: AC97 audio (5 sample rates)
[ 15.398713] em2710/2820 #0: 500mA max power
[ 15.408053] em2710/2820 #0: Table at offset 0x04, strings=0x226a, 0x0000, 0x0000
[ 15.516691] em2710/2820 #0: No sensor detected
[ 15.538344] em2710/2820 #0: found i2c device @ 0x4a on bus 0 [saa7113h]
[ 15.564363] em2710/2820 #0: found i2c device @ 0xa0 on bus 0 [eeprom]
[ 15.591274] em2710/2820 #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 15.605202] em2710/2820 #0: You may try to use card=<n> insmod option to workaround that.
[ 15.618410] em2710/2820 #0: Please send an email with this log to:
[ 15.629526] em2710/2820 #0: V4L Mailing List <linux-media@vger.kernel.org>
[ 15.641322] em2710/2820 #0: Board eeprom hash is 0x26da7a8a
[ 15.651835] em2710/2820 #0: Board i2c devicelist hash is 0x6ba50080
[ 15.663029] em2710/2820 #0: Here is a list of valid choices for the card=<n> insmod option:
[ 15.676249] em2710/2820 #0: card=0 -> Unknown EM2800 video grabber
[ 15.687649] em2710/2820 #0: card=1 -> Unknown EM2750/28xx video grabber
[ 15.699636] em2710/2820 #0: card=2 -> Terratec Cinergy 250 USB
[ 15.710710] em2710/2820 #0: card=3 -> Pinnacle PCTV USB 2
[ 15.721268] em2710/2820 #0: card=4 -> Hauppauge WinTV USB 2
[ 15.731985] em2710/2820 #0: card=5 -> MSI VOX USB 2.0
[ 15.742088] em2710/2820 #0: card=6 -> Terratec Cinergy 200 USB
[ 15.754627] em2710/2820 #0: card=7 -> Leadtek Winfast USB II
[ 15.775423] em2710/2820 #0: card=8 -> Kworld USB2800
[ 15.794432] em2710/2820 #0: card=9 -> Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2 / Plextor ConvertX PX-AV100U
[ 15.813461] em2710/2820 #0: card=10 -> Hauppauge WinTV HVR 900
[ 15.824235] em2710/2820 #0: card=11 -> Terratec Hybrid XS
[ 15.834703] em2710/2820 #0: card=12 -> Kworld PVR TV 2800 RF
[ 15.845260] em2710/2820 #0: card=13 -> Terratec Prodigy XS
[ 15.855458] em2710/2820 #0: card=14 -> SIIG AVTuner-PVR / Pixelview Prolink PlayTV USB 2.0
[ 15.868551] em2710/2820 #0: card=15 -> V-Gear PocketTV
[ 15.878449] em2710/2820 #0: card=16 -> Hauppauge WinTV HVR 950
[ 15.888834] em2710/2820 #0: card=17 -> Pinnacle PCTV HD Pro Stick
[ 15.899679] em2710/2820 #0: card=18 -> Hauppauge WinTV HVR 900 (R2)
[ 15.910587] em2710/2820 #0: card=19 -> EM2860/SAA711X Reference Design
[ 15.921592] em2710/2820 #0: card=20 -> AMD ATI TV Wonder HD 600
[ 15.932021] em2710/2820 #0: card=21 -> eMPIA Technology, Inc. GrabBeeX+ Video Encoder
[ 15.944323] em2710/2820 #0: card=22 -> EM2710/EM2750/EM2751 webcam grabber
[ 15.955533] em2710/2820 #0: card=23 -> Huaqi DLCW-130
[ 15.965011] em2710/2820 #0: card=24 -> D-Link DUB-T210 TV Tuner
[ 15.975274] em2710/2820 #0: card=25 -> Gadmei UTV310
[ 15.984558] em2710/2820 #0: card=26 -> Hercules Smart TV USB 2.0
[ 15.994926] em2710/2820 #0: card=27 -> Pinnacle PCTV USB 2 (Philips FM1216ME)
[ 16.006319] em2710/2820 #0: card=28 -> Leadtek Winfast USB II Deluxe
[ 16.017109] em2710/2820 #0: card=29 -> EM2860/TVP5150 Reference Design
[ 16.028088] em2710/2820 #0: card=30 -> Videology 20K14XUSB USB2.0
[ 16.038524] em2710/2820 #0: card=31 -> Usbgear VD204v9
[ 16.048051] em2710/2820 #0: card=32 -> Supercomp USB 2.0 TV
[ 16.058006] em2710/2820 #0: card=33 -> Elgato Video Capture
[ 16.068027] em2710/2820 #0: card=34 -> Terratec Cinergy A Hybrid XS
[ 16.080487] em2710/2820 #0: card=35 -> Typhoon DVD Maker
[ 16.098831] em2710/2820 #0: card=36 -> NetGMBH Cam
[ 16.116623] em2710/2820 #0: card=37 -> Gadmei UTV330
[ 16.126215] em2710/2820 #0: card=38 -> Yakumo MovieMixer
[ 16.137323] em2710/2820 #0: card=39 -> KWorld PVRTV 300U
[ 16.147393] em2710/2820 #0: card=40 -> Plextor ConvertX PX-TV100U
[ 16.158050] em2710/2820 #0: card=41 -> Kworld 350 U DVB-T
[ 16.168017] em2710/2820 #0: card=42 -> Kworld 355 U DVB-T
[ 16.177923] em2710/2820 #0: card=43 -> Terratec Cinergy T XS
[ 16.187936] em2710/2820 #0: card=44 -> Terratec Cinergy T XS (MT2060)
[ 16.198766] em2710/2820 #0: card=45 -> Pinnacle PCTV DVB-T
[ 16.208619] em2710/2820 #0: card=46 -> Compro, VideoMate U3
[ 16.218538] em2710/2820 #0: card=47 -> KWorld DVB-T 305U
[ 16.228227] em2710/2820 #0: card=48 -> KWorld DVB-T 310U
[ 16.237725] em2710/2820 #0: card=49 -> MSI DigiVox A/D
[ 16.247114] em2710/2820 #0: card=50 -> MSI DigiVox A/D II
[ 16.256601] em2710/2820 #0: card=51 -> Terratec Hybrid XS Secam
[ 16.266724] em2710/2820 #0: card=52 -> DNT DA2 Hybrid
[ 16.275862] em2710/2820 #0: card=53 -> Pinnacle Hybrid Pro
[ 16.285470] em2710/2820 #0: card=54 -> Kworld VS-DVB-T 323UR
[ 16.295230] em2710/2820 #0: card=55 -> Terratec Cinnergy Hybrid T USB XS (em2882)
[ 16.306807] em2710/2820 #0: card=56 -> Pinnacle Hybrid Pro (330e)
[ 16.317082] em2710/2820 #0: card=57 -> Kworld PlusTV HD Hybrid 330
[ 16.327395] em2710/2820 #0: card=58 -> Compro VideoMate ForYou/Stereo
[ 16.337874] em2710/2820 #0: card=59 -> (null)
[ 16.346247] em2710/2820 #0: card=60 -> Hauppauge WinTV HVR 850
[ 16.356088] em2710/2820 #0: card=61 -> Pixelview PlayTV Box 4 USB 2.0
[ 16.366697] em2710/2820 #0: card=62 -> Gadmei TVR200
[ 16.375729] em2710/2820 #0: card=63 -> Kaiomy TVnPC U2
[ 16.385006] em2710/2820 #0: card=64 -> Easy Cap Capture DC-60
[ 16.394792] em2710/2820 #0: card=65 -> IO-DATA GV-MVP/SZ
[ 16.403910] em2710/2820 #0: card=66 -> Empire dual TV
[ 16.412829] em2710/2820 #0: card=67 -> Terratec Grabby
[ 16.421740] em2710/2820 #0: card=68 -> Terratec AV350
[ 16.430629] em2710/2820 #0: card=69 -> KWorld ATSC 315U HDTV TV Box
[ 16.440681] em2710/2820 #0: card=70 -> Evga inDtube
[ 16.449370] em2710/2820 #0: card=71 -> Silvercrest Webcam 1.3mpix
[ 16.459301] em2710/2820 #0: card=72 -> Gadmei UTV330+
[ 16.468161] em2710/2820 #0: card=73 -> Reddo DVB-C USB TV Box
[ 16.477745] em2710/2820 #0: card=74 -> Actionmaster/LinXcel/Digitus VC211A
[ 16.488386] em2710/2820 #0: card=75 -> Dikom DK300
[ 16.497009] em2710/2820 #0: card=76 -> KWorld PlusTV 340U or UB435-Q (ATSC)
[ 16.507934] em2710/2820 #0: card=77 -> EM2874 Leadership ISDBT
[ 16.519482] em2710/2820 #0: card=78 -> PCTV nanoStick T2 290e
[ 16.536577] em2710/2820 #0: card=79 -> Terratec Cinergy H5
[ 16.545978] em2710/2820 #0: card=80 -> PCTV DVB-S2 Stick (460e)
[ 16.565753] em2710/2820 #0: card=81 -> Hauppauge WinTV HVR 930C
[ 16.575722] em2710/2820 #0: card=82 -> Terratec Cinergy HTC Stick
[ 16.585700] em2710/2820 #0: card=83 -> Honestech Vidbox NW03
[ 16.595201] em2710/2820 #0: card=84 -> MaxMedia UB425-TC
[ 16.604265] em2710/2820 #0: card=85 -> PCTV QuatroStick (510e)
[ 16.613889] em2710/2820 #0: card=86 -> PCTV QuatroStick nano (520e)
[ 16.623817] em2710/2820 #0: card=87 -> Terratec Cinergy HTC USB XS
[ 16.633751] em2710/2820 #0: card=88 -> C3 Tech Digital Duo HDTV/SDTV USB
[ 16.644206] em2710/2820 #0: card=89 -> Delock 61959
[ 16.652773] em2710/2820 #0: Board not discovered
[ 16.660766] em2710/2820 #0: Identified as Unknown EM2750/28xx video grabber (card=1)
[ 16.671926] em2710/2820 #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 16.684248] em2710/2820 #0: You may try to use card=<n> insmod option to workaround that.
[ 16.696028] em2710/2820 #0: Please send an email with this log to:
[ 16.705691] em2710/2820 #0: V4L Mailing List <linux-media@vger.kernel.org>
[ 16.716364] em2710/2820 #0: Board eeprom hash is 0x26da7a8a
[ 16.725584] em2710/2820 #0: Board i2c devicelist hash is 0x6ba50080
[ 16.735489] em2710/2820 #0: Here is a list of valid choices for the card=<n> insmod option:
[ 16.747586] em2710/2820 #0: card=0 -> Unknown EM2800 video grabber
[ 16.757792] em2710/2820 #0: card=1 -> Unknown EM2750/28xx video grabber
[ 16.768529] em2710/2820 #0: card=2 -> Terratec Cinergy 250 USB
[ 16.779849] em2710/2820 #0: card=3 -> Pinnacle PCTV USB 2
[ 16.789395] em2710/2820 #0: card=4 -> Hauppauge WinTV USB 2
[ 16.800911] em2710/2820 #0: card=5 -> MSI VOX USB 2.0
[ 16.816582] em2710/2820 #0: card=6 -> Terratec Cinergy 200 USB
[ 16.836588] em2710/2820 #0: card=7 -> Leadtek Winfast USB II
[ 16.848233] em2710/2820 #0: card=8 -> Kworld USB2800
[ 16.857522] em2710/2820 #0: card=9 -> Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2 / Plextor ConvertX PX-AV100U
[ 16.875907] em2710/2820 #0: card=10 -> Hauppauge WinTV HVR 900
[ 16.886203] em2710/2820 #0: card=11 -> Terratec Hybrid XS
[ 16.896020] em2710/2820 #0: card=12 -> Kworld PVR TV 2800 RF
[ 16.905931] em2710/2820 #0: card=13 -> Terratec Prodigy XS
[ 16.915825] em2710/2820 #0: card=14 -> SIIG AVTuner-PVR / Pixelview Prolink PlayTV USB 2.0
[ 16.928501] em2710/2820 #0: card=15 -> V-Gear PocketTV
[ 16.937888] em2710/2820 #0: card=16 -> Hauppauge WinTV HVR 950
[ 16.948071] em2710/2820 #0: card=17 -> Pinnacle PCTV HD Pro Stick
[ 16.958492] em2710/2820 #0: card=18 -> Hauppauge WinTV HVR 900 (R2)
[ 16.969131] em2710/2820 #0: card=19 -> EM2860/SAA711X Reference Design
[ 16.980071] em2710/2820 #0: card=20 -> AMD ATI TV Wonder HD 600
[ 16.990278] em2710/2820 #0: card=21 -> eMPIA Technology, Inc. GrabBeeX+ Video Encoder
[ 17.002541] em2710/2820 #0: card=22 -> EM2710/EM2750/EM2751 webcam grabber
[ 17.013887] em2710/2820 #0: card=23 -> Huaqi DLCW-130
[ 17.023299] em2710/2820 #0: card=24 -> D-Link DUB-T210 TV Tuner
[ 17.033715] em2710/2820 #0: card=25 -> Gadmei UTV310
[ 17.043150] em2710/2820 #0: card=26 -> Hercules Smart TV USB 2.0
[ 17.053629] em2710/2820 #0: card=27 -> Pinnacle PCTV USB 2 (Philips FM1216ME)
[ 17.065269] em2710/2820 #0: card=28 -> Leadtek Winfast USB II Deluxe
[ 17.076130] em2710/2820 #0: card=29 -> EM2860/TVP5150 Reference Design
[ 17.087148] em2710/2820 #0: card=30 -> Videology 20K14XUSB USB2.0
[ 17.097784] em2710/2820 #0: card=31 -> Usbgear VD204v9
[ 17.107416] em2710/2820 #0: card=32 -> Supercomp USB 2.0 TV
[ 17.117509] em2710/2820 #0: card=33 -> Elgato Video Capture
[ 17.127541] em2710/2820 #0: card=34 -> Terratec Cinergy A Hybrid XS
[ 17.139995] em2710/2820 #0: card=35 -> Typhoon DVD Maker
[ 17.158526] em2710/2820 #0: card=36 -> NetGMBH Cam
[ 17.176625] em2710/2820 #0: card=37 -> Gadmei UTV330
[ 17.186123] em2710/2820 #0: card=38 -> Yakumo MovieMixer
[ 17.197093] em2710/2820 #0: card=39 -> KWorld PVRTV 300U
[ 17.206992] em2710/2820 #0: card=40 -> Plextor ConvertX PX-TV100U
[ 17.217658] em2710/2820 #0: card=41 -> Kworld 350 U DVB-T
[ 17.227547] em2710/2820 #0: card=42 -> Kworld 355 U DVB-T
[ 17.237341] em2710/2820 #0: card=43 -> Terratec Cinergy T XS
[ 17.247427] em2710/2820 #0: card=44 -> Terratec Cinergy T XS (MT2060)
[ 17.258222] em2710/2820 #0: card=45 -> Pinnacle PCTV DVB-T
[ 17.268121] em2710/2820 #0: card=46 -> Compro, VideoMate U3
[ 17.278119] em2710/2820 #0: card=47 -> KWorld DVB-T 305U
[ 17.287723] em2710/2820 #0: card=48 -> KWorld DVB-T 310U
[ 17.297367] em2710/2820 #0: card=49 -> MSI DigiVox A/D
[ 17.306775] em2710/2820 #0: card=50 -> MSI DigiVox A/D II
[ 17.316338] em2710/2820 #0: card=51 -> Terratec Hybrid XS Secam
[ 17.326523] em2710/2820 #0: card=52 -> DNT DA2 Hybrid
[ 17.335672] em2710/2820 #0: card=53 -> Pinnacle Hybrid Pro
[ 17.345308] em2710/2820 #0: card=54 -> Kworld VS-DVB-T 323UR
[ 17.355002] em2710/2820 #0: card=55 -> Terratec Cinnergy Hybrid T USB XS (em2882)
[ 17.366621] em2710/2820 #0: card=56 -> Pinnacle Hybrid Pro (330e)
[ 17.376826] em2710/2820 #0: card=57 -> Kworld PlusTV HD Hybrid 330
[ 17.387112] em2710/2820 #0: card=58 -> Compro VideoMate ForYou/Stereo
[ 17.397706] em2710/2820 #0: card=59 -> (null)
[ 17.406058] em2710/2820 #0: card=60 -> Hauppauge WinTV HVR 850
[ 17.416029] em2710/2820 #0: card=61 -> Pixelview PlayTV Box 4 USB 2.0
[ 17.426645] em2710/2820 #0: card=62 -> Gadmei TVR200
[ 17.435640] em2710/2820 #0: card=63 -> Kaiomy TVnPC U2
[ 17.444883] em2710/2820 #0: card=64 -> Easy Cap Capture DC-60
[ 17.454572] em2710/2820 #0: card=65 -> IO-DATA GV-MVP/SZ
[ 17.463792] em2710/2820 #0: card=66 -> Empire dual TV
[ 17.472650] em2710/2820 #0: card=67 -> Terratec Grabby
[ 17.481692] em2710/2820 #0: card=68 -> Terratec AV350
[ 17.490572] em2710/2820 #0: card=69 -> KWorld ATSC 315U HDTV TV Box
[ 17.500702] em2710/2820 #0: card=70 -> Evga inDtube
[ 17.509612] em2710/2820 #0: card=71 -> Silvercrest Webcam 1.3mpix
[ 17.519599] em2710/2820 #0: card=72 -> Gadmei UTV330+
[ 17.528475] em2710/2820 #0: card=73 -> Reddo DVB-C USB TV Box
[ 17.538006] em2710/2820 #0: card=74 -> Actionmaster/LinXcel/Digitus VC211A
[ 17.548754] em2710/2820 #0: card=75 -> Dikom DK300
[ 17.557379] em2710/2820 #0: card=76 -> KWorld PlusTV 340U or UB435-Q (ATSC)
[ 17.570027] em2710/2820 #0: card=77 -> EM2874 Leadership ISDBT
[ 17.586580] em2710/2820 #0: card=78 -> PCTV nanoStick T2 290e
[ 17.596259] em2710/2820 #0: card=79 -> Terratec Cinergy H5
[ 17.616195] em2710/2820 #0: card=80 -> PCTV DVB-S2 Stick (460e)
[ 17.626203] em2710/2820 #0: card=81 -> Hauppauge WinTV HVR 930C
[ 17.636044] em2710/2820 #0: card=82 -> Terratec Cinergy HTC Stick
[ 17.646075] em2710/2820 #0: card=83 -> Honestech Vidbox NW03
[ 17.655486] em2710/2820 #0: card=84 -> MaxMedia UB425-TC
[ 17.664633] em2710/2820 #0: card=85 -> PCTV QuatroStick (510e)
[ 17.674215] em2710/2820 #0: card=86 -> PCTV QuatroStick nano (520e)
[ 17.684228] em2710/2820 #0: card=87 -> Terratec Cinergy HTC USB XS
[ 17.694173] em2710/2820 #0: card=88 -> C3 Tech Digital Duo HDTV/SDTV USB
[ 17.704595] em2710/2820 #0: card=89 -> Delock 61959
[ 17.713460] em2710/2820 #0: Config register raw data: 0x90
[ 17.756591] em2710/2820 #0: AC97 vendor ID = 0x83847650
[ 17.776604] em2710/2820 #0: AC97 features = 0x6a90
[ 17.786131] em2710/2820 #0: Empia 202 AC97 audio processor detected
[ 18.466493] em2710/2820 #0: v4l2 driver version 0.2.0
[ 21.407338] em2710/2820 #0: V4L2 video device registered as video0
[ 21.417194] em2710/2820 #0: analog set to isoc mode.
[ 21.426021] em28xx audio device (eb1a:2821): interface 1, class 1
[ 21.446652] em28xx audio device (eb1a:2821): interface 2, class 1
[ 21.464428] usbcore: registered new interface driver em28xx
[ 21.618465] usbcore: registered new interface driver snd-usb-audio
[ 29.096964] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 30.068130] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 36.754766] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 39.419567] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 41.023414] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 46.142683] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:31 pm
by tommekevda
the device is a GrabBeeX+ Video Encoder btw

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:35 pm
by gkreidl
How do you want to transfer 20 Megabyte/sec. across the network (if you get it to work)?. HW h264 encoding (using gstreamer-1.0 perhaps) might be the only solution.

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:46 pm
by topguy

Code: Select all

[ 16.652773] em2710/2820 #0: Board not discovered
[ 16.660766] em2710/2820 #0: Identified as Unknown EM2750/28xx video grabber (card=1)
[ 16.671926] em2710/2820 #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 16.684248] em2710/2820 #0: You may try to use card=<n> insmod option to workaround that.
This part is quite clear..

I think you may be able to add to /etc/modules

Code: Select all

em28xx card=6
To have it choose one of the 89 different configurations. ( 6 was just chosen because I saw Terratec was mentioned together with GrabBeex in a google search )

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 12:55 pm
by tommekevda
topguy wrote:

Code: Select all

[ 16.652773] em2710/2820 #0: Board not discovered
[ 16.660766] em2710/2820 #0: Identified as Unknown EM2750/28xx video grabber (card=1)
[ 16.671926] em2710/2820 #0: Your board has no unique USB ID and thus need a hint to be detected.
[ 16.684248] em2710/2820 #0: You may try to use card=<n> insmod option to workaround that.
This part is quite clear..

I think you may be able to add to /etc/modules

Code: Select all

em28xx card=6
To have it choose one of the 89 different configurations. ( 6 was just chosen because I saw Terratec was mentioned together with GrabBeex in a google search )

thanks for the usefull information. but i'm not very hany with unix.

i created a file called em2710 in /etc/modprobe.d.
there i added

Code: Select all

options em2710 card=21
since that is the actual vendor if the device.
dmesg still displays the same messages.

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 1:08 pm
by tommekevda
i renamed the em2710 to em2820.conf and changed the code inside to
options em2820 card=21
but that still didn't help.

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 1:24 pm
by topguy
I didnt put "xx" in my example as a variable, the module is really called "em28xx".

Code: Select all

find /lib/modules/ -name "em28*"

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 1:39 pm
by tommekevda
your command delivered some results
/lib/modules/3.12.22+/kernel/drivers/media/usb/em28xx/
/lib/modules/3.12.22+/kernel/drivers/media/usb/em28xx/em28xx.ko
/lib/modules/3.12.22+/kernel/drivers/media/usb/em28xx/em28xx-dvb.ko
/lib/modules/3.12.22+/kernel/drivers/media/usb/em28xx/em28xx-alsa.ko
/lib/modules/3.12.22+/kernel/drivers/media/usb/em28xx/em28xx-rc.ko
which file do i change?

Re: trying to capture video from usb grabber

Posted: Tue Jul 01, 2014 1:58 pm
by tommekevda
ok, i changed the file under /etc/modprobe.d/.
now the drivers seem to load fine but i still get the message that video0 can't be opened