Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Still haveing problems with audio and guvcview
Date: Fri, 03 Jun 2011 18:33:48
Message-Id: 20110603183202.GA3214@solfire
1 Hi,
2
3 for my webcam (Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye)
4 I am using guvcview 1.4.5. The Webcam is attached via usb to my PC.
5
6 Since the webcams audio device was not listed in the according drop
7 down menu of guvcview I browsed through the kernel (2.6.39 vanilla)
8 config and found, that I forgot to include the usb-audio module.
9
10 After recompiling and rebooting, guvcview now lists the webcams audio
11 device (but still no sound).
12
13 Unfortunately it kills any sound when using mplayer, which says:
14
15 ==========================================================================
16 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
17 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
18 ==========================================================================
19 ==========================================================================
20 Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
21 AUDIO: 44100 Hz, 2 ch, s16le, 111.8 kbit/7.92% (ratio: 13970->176400)
22 Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
23 ==========================================================================
24 [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
25 [AO_ALSA] Playback open error: No such file or directory
26 [JACK] cannot open server
27 [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
28 [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
29 [AO SDL] Unable to open audio: No available audio device
30 DVB card number must be between 1 and 4
31 AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
32 Starting playback...
33
34 /dev/audio and /dev/audio1 do exist...
35
36 cat /proc/asound/cards
37 0 [CameraB404271 ]: USB-Audio - USB Camera-B4.04.27.1
38 OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at usb-0000:00:12.2-3, high
39 1 [SB ]: HDA-Intel - HDA ATI SB
40 HDA ATI SB at 0xfcaf8000 irq 16
41 2 [NVidia ]: HDA-Intel - HDA NVidia
42 HDA NVidia at 0xfe97c000 irq 25
43
44
45 When using vlc to watch tv (dvbt) the sound is interrupted
46 (stuutering) and/or heavily distorted (sound reminds me on sandpaper
47 with glas instead of the sand...;)
48
49 Before including usb-audio everything (with exception of the missing
50 audio device of my cam...) was working fine.
51
52 I think I will get lost without any help of the external world... ;)
53
54 Attached this email you will find my compressed kernel config.
55
56 Thank you very much in advance for any help!
57
58 Best regards,
59 mcc

Attachments

File name MIME type
lnx2639config.gz application/x-gunzip

Replies

Subject Author
Re: [gentoo-user] Still haveing problems with audio and guvcview Paul Hartman <paul.hartman+gentoo@×××××.com>