Happy New Year!
i've beenhaving problems recording from the mic on webcam in the winxp
virtual guest. Since i could not igure out what's wrong with it ( mic), i
went one level down and decided to run a test in the host.
when i ran this:
[code start]
messages:
Dec 31 21:07:42 server kernel: usb 1-5: new high speed USB device using
ehci_hcd and address 10
Dec 31 21:07:42 server kernel: usb 1-5: New USB device found,
idVendor=04f2, idProduct=a143
Dec 31 21:07:42 server kernel: usb 1-5: New USB device strings: Mfr=2,
Product=1, SerialNumber=0
Dec 31 21:07:42 server kernel: usb 1-5: Product: USB2.0 2MP UVC AF Camera
Dec 31 21:07:42 server kernel: usb 1-5: Manufacturer:
Dec 31 21:07:42 server kernel: usb 1-5: configuration #1 chosen from 1
choice
Dec 31 21:07:42 server kernel: uvcvideo: Found UVC 1.00 device USB2.0 2MP
UVC AF Camera (04f2:a143)
Dec 31 21:07:42 server kernel: input: USB2.0 2MP UVC AF Camera as
/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0/input/input17
Dec 31 21:07:42 server kernel: 10:3:1: cannot get freq at ep 0x84
lsmod | grep snd
snd_usb_audio 91367 0
snd_usb_lib 18687 1 snd_usb_audio
snd_rawmidi 23373 1 snd_usb_lib
snd_hda_codec_hdmi 24750 4
snd_hda_codec_realtek 324264 1
snd_hda_intel 25261 5
snd_hda_codec 86617 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6714 2 snd_usb_audio,snd_hda_codec
snd_seq 56557 0
snd_seq_device 6626 2 snd_rawmidi,snd_seq
snd_pcm 84668 5
snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 23087 3 snd_seq,snd_pcm
snd 70053 19
snd_usb_audio,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 8052 1 snd
snd_page_alloc 8628 2 snd_hda_intel,snd_pcm
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdde78000 irq 23
1 [NVidia_1 ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdfff8000 irq 19
2 [Camera ]: USB-Audio - USB2.0 2MP UVC AF Camera
USB2.0 2MP UVC AF Camera at usb-0000:00:02.1-5,
high speed
[oracle@server ~]$ mencoder tv:// -tv
driver=v4l2:width=640:height=480:device=/dev/video0:alsa:forceaudio:adevice=hw.2,0
-ovc lavc -oac mp3lame -lameopts fast:preset=standard -o webcam.avi
MEncoder SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <[email protected]>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM
was used instead.
Selected device: USB2.0 2MP UVC AF Camera
Capabilites: video capture streaming
supported norms:
inputs: 0 = Camera 1;
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
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: Permission denied
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: Permission denied
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: Permission denied
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported
=============
=== If this file is an AVI, ASF or MPEG stream, please contact the author!
===
Cannot open demuxer.
Exiting...
[/code end]
my attempt to user alsamiser or alsactl went nowhere - yum search brought
up only alsamixergui. What happened to these utilitise, they were present
in Centos 5.x??
all i'm trying to do is to record sound from usb camera.
Thank you for your advise.
Andrew