You are not logged in.

#1 2012-09-18 13:28:39

John0000
Member
Registered: 2012-04-12
Posts: 40

Video capture device bad image/no sound

Hi !!
I bought this "grabby" usb dongle from terratec to record old vhs cassete on my computer, but is doesn't work on linux. (It works ok on win7, so cable-connections problems are excluded)

On vlc I did 'open capture device', choose /dev/video0 for vid, hw:2,0 for sound(tried them all anyway), and PAL/SECAM video standard.
Problem is I have a super crappy video image (on mplayer also), and no sound. The video is colored, I recogize it, but the pixels are huge, it's awfull.

After some research I found that a module named em28xx is supposed to handle this device. I found some forum post here and there about the sound problem, it is addressed with a 3years old patch on em28xx-cards.c (which doesn't exist on my machine, so I couldn't apply it).

Here is dmesg :

[ 8371.430051] em28xx audio device (0ccd:0096): interface 2, class 1
[ 8371.430074] em28xx audio device (0ccd:0096): interface 1, class 1
[ 8371.438360] em28xx: New device TerraTec Electronic GmbH TerraTec Grabby @ 480 Mbps (0ccd:0096, interface 0, class 0)
[ 8371.438363] em28xx: Video interface 0 found
[ 8371.438365] em28xx: DVB interface 0 found
[ 8371.438511] em28xx #0: chip ID is em2860
[ 8371.554008] em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 96 00 50 00 11 03 9c 20 6a 32
[ 8371.554020] em28xx #0: i2c eeprom 10: 00 00 06 57 0e 02 00 00 00 00 00 00 00 00 00 00
[ 8371.554029] em28xx #0: i2c eeprom 20: 02 00 01 00 f0 10 01 00 00 00 00 00 5b 00 00 00
[ 8371.554039] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
[ 8371.554048] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554057] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554067] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 32 03 54 00 65 00
[ 8371.554076] em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00
[ 8371.554086] em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00
[ 8371.554095] em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 20 03 54 00
[ 8371.554104] em28xx #0: i2c eeprom a0: 65 00 72 00 72 00 61 00 54 00 65 00 63 00 20 00
[ 8371.554114] em28xx #0: i2c eeprom b0: 47 00 72 00 61 00 62 00 62 00 79 00 48 00 00 00
[ 8371.554123] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554133] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554142] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554151] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 8371.554163] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xd3498090
[ 8371.554165] em28xx #0: EEPROM info:
[ 8371.554166] em28xx #0:	AC97 audio (5 sample rates)
[ 8371.554167] em28xx #0:	500mA max power
[ 8371.554170] em28xx #0:	Table at 0x06, strings=0x209c, 0x326a, 0x0000
[ 8371.554172] em28xx #0: Identified as Terratec Grabby (card=67)
[ 8371.856372] saa7115 4-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)
[ 8372.495384] em28xx #0: Config register raw data: 0x50
[ 8372.515361] em28xx #0: AC97 vendor ID = 0x83847650
[ 8372.525227] em28xx #0: AC97 features = 0x6a90
[ 8372.525231] em28xx #0: Empia 202 AC97 audio processor detected
[ 8372.908213] em28xx #0: v4l2 driver version 0.1.3
[ 8373.760714] em28xx #0: V4L2 video device registered as video0
[ 8373.760718] em28xx #0: V4L2 VBI device registered as vbi0

And lsmod :

[user@OGwncMO ~]$ lsmod | grep em28xx
em28xx                 88986  0 
tveeprom               13809  1 em28xx
videobuf_vmalloc        4351  1 em28xx
videobuf_core          16231  2 videobuf_vmalloc,em28xx
v4l2_common             5370  2 saa7115,em28xx
videodev              100564  3 saa7115,em28xx,v4l2_common
i2c_core               20508  7 i2c_i801,saa7115,em28xx,nvidia,v4l2_common,tveeprom,videodev
usbcore               147434  10 uas,ath3k,btusb,snd_usb_audio,usb_storage,em28xx,snd_usbmidi_lib,ehci_hcd,usbhid,xhci_hcd

From what I see my guess is that the module supposed to handle this hardware is present but doesn't do its job properly...any help?

Offline

#2 2012-09-19 01:55:46

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,370

Re: Video capture device bad image/no sound

Do you have a cable that you have to run from the grabber card into the mic?
Have you tried tvtime or xawtv?
If you are pulling from an old vhs recorder, you probably need to tune a channel, so using either one of these applications will allow you to do it.  There is also a v4l2-util of some kind which you can change channels with.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2012-09-19 18:56:52

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: Video capture device bad image/no sound

Thanks for the answer, I will look into those programs tommorow.

As for my setup I have my old device(VHS reader) connected with a peritel cable to a special 3 colors connector (Yellow = video, white/red = audio) which is itself connected to the dongle. Then the dongle is usb connected to my computer. As I mentioned with this setup it works as expected on my windows 7 with their program and their driver.

I tried to do the exact same thing on other distros and it didn't work better.

Offline

#4 2012-09-19 19:44:47

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,370

Re: Video capture device bad image/no sound

That's not a special cable, that's a RCA cable.  You'll need to select one of the video inputs on your tuner program.  The end that connects into the usb dongle, might be special.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2012-09-22 14:57:57

John0000
Member
Registered: 2012-04-12
Posts: 40

Re: Video capture device bad image/no sound

Hi again !
Thanks for you tip nomorewindows. The programs tvtime and xawtv worked out of the box concerning video !! xawtv, however, crashes everytime I try to resize the (very) small window. As for tvtime, there is no sound (output is it can't open /dev/mixer so I guess it's fixable, I'll look into it).
I started reading the doc but I didn't found yet if it was possible to record the output with these program...


Concerning the cables, you are right they are not special at all it is standard : there is the triple (yellow=composite video, red/white for audio) cable and a fourth one for video but with inferior quality, I didn't connect it (it's either the yellow or this one for video)

Offline

Board footer

Powered by FluxBB