Hi, for my webcam (Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye) I am using guvcview 1.4.5. The Webcam is attached via usb to my PC.
Since the webcams audio device was not listed in the according drop down menu of guvcview I browsed through the kernel (2.6.39 vanilla) config and found, that I forgot to include the usb-audio module. After recompiling and rebooting, guvcview now lists the webcams audio device (but still no sound). Unfortunately it kills any sound when using mplayer, which says: ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 111.8 kbit/7.92% (ratio: 13970->176400) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: No such file or directory [JACK] cannot open server [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave [AO SDL] Unable to open audio: No available audio device DVB card number must be between 1 and 4 AO: [null] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... /dev/audio and /dev/audio1 do exist... cat /proc/asound/cards 0 [CameraB404271 ]: USB-Audio - USB Camera-B4.04.27.1 OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at usb-0000:00:12.2-3, high 1 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfcaf8000 irq 16 2 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xfe97c000 irq 25 When using vlc to watch tv (dvbt) the sound is interrupted (stuutering) and/or heavily distorted (sound reminds me on sandpaper with glas instead of the sand...;) Before including usb-audio everything (with exception of the missing audio device of my cam...) was working fine. I think I will get lost without any help of the external world... ;) Attached this email you will find my compressed kernel config. Thank you very much in advance for any help! Best regards, mcc
lnx2639config.gz
Description: application/gunzip