You are not logged in.
Pages: 1
Hi,
I got from my mother a Video Capture Device called TerraTec Grabby. I'm not sure wether this is right in the media channel, because it could touch kernel/hardware a bit more.
According to this wiki[1] it should work out of the box with a "current" linux kernel.
The Company offers "Linux Drivers"[2] as well, but I looked into it and found out there is an AUR for it. So I installed v4l-dvb-git from the aur. But it still didn't worked.
What I want to do is simply to capture the input form the Device with vlc or mplayer and store it to a file.
So I tried this command:
$mplayer tv:// -tv driver=v4l2:width=720:height=576:device=/dev/video1:input=0:fps=25:norm=SECAM-L:alsa:adevice=hw.2:audiorate=48000:forceaudio:amode=1:immediatemode=0
MPlayer SVN-r37857 (C) 2000-2016 MPlayer Team
224 audio & 451 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Terratec Grabby
Capabilities: video capture VBI capture device audio read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 = SECAM-B; 16 = SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 = SECAM-Lc;
inputs: 0 = Composite; 1 = S-Video;
Current input: 0
Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Selected input hasn't got a tuner!
ALSA lib pcm_hw.c:1712:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: No such file or directory
ALSA lib pcm_hw.c:1712:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: No such file or directory
ALSA lib pcm_hw.c:1712:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: No such file or directory
v4l2: 0 frames successfully processed, 0 frames dropped.
Exiting... (End of file)
I think there is something wrong with the sound. But I couldn't put the finger on it.
"dmesg" gives me the following. Looks allright
[ 3832.212952] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[ 3832.427948] em28xx: New device TerraTec Electronic GmbH TerraTec Grabby @ 480 Mbps (0ccd:0096, interface 0, class 0)
[ 3832.427955] em28xx: Video interface 0 found: isoc
[ 3832.428012] em28xx: chip ID is em2860
[ 3833.377100] em2860 #0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0xd3498090
[ 3833.377105] em2860 #0: EEPROM info:
[ 3833.377108] em2860 #0: AC97 audio (5 sample rates)
[ 3833.377110] em2860 #0: 500mA max power
[ 3833.377113] em2860 #0: Table at offset 0x06, strings=0x209c, 0x326a, 0x0000
[ 3833.377117] em2860 #0: Identified as Terratec Grabby (card=67)
[ 3833.377120] em2860 #0: analog set to isoc mode.
[ 3833.377348] em28xx audio device (0ccd:0096): interface 1, class 1
[ 3833.377373] em28xx audio device (0ccd:0096): interface 2, class 1
[ 3833.377418] usbcore: registered new interface driver em28xx
[ 3833.394022] em2860 #0: Registering V4L2 extension
[ 3833.416652] usbcore: registered new interface driver snd-usb-audio
[ 3833.730070] saa7115 10-0025: saa7113 found @ 0x4a (em2860 #0)
[ 3834.376481] em2860 #0: Config register raw data: 0x50
[ 3834.399661] em2860 #0: AC97 vendor ID = 0x83847650
[ 3834.409717] em2860 #0: AC97 features = 0x6a90
[ 3834.409723] em2860 #0: Empia 202 AC97 audio processor detected
[ 3836.423288] em2860 #0: V4L2 video device registered as video1
[ 3836.423294] em2860 #0: V4L2 VBI device registered as vbi0
[ 3836.423298] em2860 #0: V4L2 extension successfully initialized
[ 3836.423302] em28xx: Registered (Em28xx v4l2 Extension) extension
[ 3836.433675] em2860 #0: Registering snapshot button...
[ 3836.433843] input: em28xx snapshot button as /devices/pci0000:00/0000:00:14.0/usb1/1-4/input/input26
[ 3836.433989] em2860 #0: Remote control support is not available for this card.
[ 3836.433995] em28xx: Registered (Em28xx Input Extension) extension
lsusb gives me the same as in the wiki[1].
/Peter
[1] https://www.linuxtv.org/wiki/index.php/TerraTec_Grabby
[2] http://www.terratec.net/media/filer_pub … _30108.zip
Last edited by blablubs82352 (2016-11-13 12:46:22)
Offline
I haven't fiddled around at all just kept updating my system. Now with the new kernel it seems to work. No idea what was wrong.
/Peter
Offline
Pages: 1