You are not logged in.

#1 2012-08-14 09:04:49

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

video grabber works but no sound

Hi,

I use a logilink video grabber which is connected to an xbox. The image works well but I habe no sound.
My problem is I don't know which audio input is the right for mplayer.
when I plug in the grabber some files appear in /dev.
The diff between the /dev directory with and without der grabber is the following:

< drwxr-xr-x 15 root root        3.0K Aug 14 10:05 .
---
> drwxr-xr-x 15 root root        3.0K Aug 14 10:27 .
10c10
< drwxr-xr-x  2 root root        3.0K Aug 14 10:05 char
---
> drwxr-xr-x  2 root root        2.9K Aug 14 10:27 char
54c54
< drwxr-xr-x  4 root root         260 Aug 14 09:56 snd
---
> drwxr-xr-x  3 root root         200 Aug 14 10:27 snd
150d149
< crw-rw----  1 root video    81,   1 Aug 14 09:56 video1

video1 is what I use for the mplayer input stream, but none of the files in snd seems to work.
Those are:

drwxr-xr-x  2 root root       60 Aug 14 10:28 by-id
drwxr-xr-x  2 root root       80 Aug 14 10:28 by-path
crw-rw----  1 root audio 116,  6 Aug 14 09:46 controlC0
crw-rw----  1 root audio 116,  8 Aug 14 10:28 controlC1
crw-rw----  1 root audio 116,  5 Aug 14 09:46 hwC0D0
crw-rw----  1 root audio 116,  4 Aug 14 09:46 pcmC0D0c
crw-rw----  1 root audio 116,  3 Aug 14 10:39 pcmC0D0p
crw-rw----  1 root audio 116,  2 Aug 14 09:46 pcmC0D1p
crw-rw----  1 root audio 116,  7 Aug 14 10:28 pcmC1D0c
crw-rw----  1 root audio 116,  1 Aug 14 09:46 seq
crw-rw----  1 root audio 116, 33 Aug 14 09:46 timer

I strongly asume that control1 is the grabber, since I find the following symlink in "by-id"

usb-Syntek_Semiconductor_USB_2.0_Video_Capture_Controller-01 -> ../controlC1

BTW the mplayer command I use is the following:

mplayer tv:// -tv driver=v4l2:device=/dev/video1:fps=25:buffersize=64:adevice=/dev/snd/controlC1:audiorate=48000:amode=1:forceaudio -vo xv -ao alsa

Thanks in advance

Offline

Board footer

Powered by FluxBB