[PlanetCCRMA] sound issue with webcam
Tom Poe
tompoe at fngi.net
Tue Feb 19 17:11:01 PST 2008
Fernando Lopez-Lezcano wrote:
> On Tue, 2008-02-19 at 16:48 -0600, Tom Poe wrote:
>
>> Nigel Henry wrote:
>>
>>> You say you have video from the webcam working, so the uvcvideo module is
>>> presumably loaded, but no sound from the webcam.
>>>
>>> I think now I'd su to root on the command line, and do a rmmod uvcvideo,
>>> followed by a rmmod snd-usb-audio.
>>>
>>> I don't like guessing for resolving problems, without having the hardware
>>> available, but I'd now do a modprobe snd-usb-audio, followed by a modprobe
>>> uvcvideo.
>>>
>>> Sorry if I've been of no help whatsoever, but it's all I can suggest without
>>> having the hardware available.
>>>
>>>
>> Nigel: Looks like an issue when using ccrma kernel:
>> # uname -r
>> 2.6.24.2-1.rt1.3.fc8.ccrmart
>> I'm going to now reboot to FC8PAE kernel, and try again.
>>
>> [root at localhost tom]# rmmod uvcvideo
>> bash: rmmod: command not found
>> [root at localhost tom]# /sbin/rmmod uvcvideo
>> ERROR: Module uvcvideo does not exist in /proc/modules
>> [root at localhost tom]# /sbin/rmmod snd-usb-audio
>> ERROR: Module snd_usb_audio is in use
>> [root at localhost tom]# modprobe snd-usb-audio
>> bash: modprobe: command not found
>> [root at localhost tom]# /sbin/modprobe snd-usb-audio
>> [root at localhost tom]# /sbin/modprobe uvcvideo
>> FATAL: Error inserting uvcvideo
>> (/lib/modules/2.6.24.2-1.rt1.3.fc8.ccrmart/usb/media/uvcvideo.ko):
>> Invalid module format
>> [root at localhost tom]#
>>
>
> This is with the web cam plugged in?
>
> -- Fernando
>
>
>
>
Hi, Fernando: I had webcam plugged in. I also rebooted at some point
early on, and used this kernel:
uname -r
2.6.23.15-137.fc8PAE
# /sbin/lsusb
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 046d:0990 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
[root at localhost tom]# /sbin/lsmod
Module Size Used by
i915 23873 3
drm 67157 4 i915
ipt_MASQUERADE 6721 1
iptable_nat 9669 1
nf_nat 18669 2 ipt_MASQUERADE,iptable_nat
bridge 47193 0
rfcomm 36825 0
l2cap 25537 9 rfcomm
bluetooth 49317 4 rfcomm,l2cap
autofs4 20420 2
sunrpc 140765 1
nf_conntrack_ipv4 11717 7 iptable_nat
ipt_REJECT 7617 4
iptable_filter 6465 1
ip_tables 14213 2 iptable_nat,iptable_filter
nf_conntrack_ipv6 18769 4
xt_state 6081 9
nf_conntrack 51977 6
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
nfnetlink 8281 4
nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
xt_tcpudp 6977 16
ip6t_ipv6header 6209 2
ip6t_REJECT 8257 2
ip6table_filter 6337 1
ip6_tables 15109 2 ip6t_ipv6header,ip6table_filter
x_tables 14277 9
ipt_MASQUERADE,iptable_nat,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
loop 16581 0
dm_multipath 18249 0
ipv6 245989 16 nf_conntrack_ipv6,ip6t_REJECT
snd_usb_audio 75457 2
snd_seq_dummy 6725 0
snd_intel8x0 30557 4
snd_ac97_codec 92389 1 snd_intel8x0
ac97_bus 6081 1 snd_ac97_codec
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
uvcvideo 49668 0
snd_pcm_oss 37569 0
snd_mixer_oss 16705 3 snd_pcm_oss
compat_ioctl32 5313 1 uvcvideo
snd_pcm 63813 4
snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
parport_pc 26981 0
parport 32393 1 parport_pc
videodev 28097 1 uvcvideo
snd_usb_lib 17345 1 snd_usb_audio
snd_rawmidi 21185 1 snd_usb_lib
snd_seq_device 10061 4
snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
e1000 112389 0
v4l1_compat 15941 2 uvcvideo,videodev
snd_timer 20549 2 snd_seq,snd_pcm
snd_hwdep 10309 1 snd_usb_audio
floppy 53125 0
v4l2_common 18625 2 uvcvideo,videodev
button 10449 0
snd 43461 20
snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer,snd_hwdep
pcspkr 6593 0
i2c_i801 12113 0
soundcore 9633 3 snd
snd_page_alloc 11337 2 snd_intel8x0,snd_pcm
i2c_i810 8261 0
iTCO_wdt 13797 0
i2c_algo_bit 9157 1 i2c_i810
iTCO_vendor_support 7109 1 iTCO_wdt
i2c_core 21825 3 i2c_i801,i2c_i810,i2c_algo_bit
dcdbas 10597 0
sg 31965 0
sr_mod 17509 0
cdrom 33889 1 sr_mod
dm_snapshot 17765 0
dm_zero 5825 0
dm_mirror 21569 0
dm_mod 46209 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ata_piix 16709 2
ata_generic 8901 0
libata 100529 2 ata_piix,ata_generic
sd_mod 27329 3
scsi_mod 120013 4 sg,sr_mod,libata,sd_mod
ext3 110665 2
jbd 52457 1 ext3
mbcache 10177 1 ext3
uhci_hcd 23761 0
ohci_hcd 21829 0
ehci_hcd 32205 0
[root at localhost tom]# cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at irq 20
1 [U0x46d0x990 ]: USB-Audio - USB Device 0x46d:0x990
USB Device 0x46d:0x990 at usb-0000:00:1d.7-1, high
speed
- - -
This kernel allows me to record a video on the webcam, and capture the
sound from a microphone (not the webcam)
ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 -f oss -ac 2 -i
/dev/dsp -f mp4 testwithsound.mp4
The sound track is not synched with the video very well. I'm hoping to
solve the problem with the webcam sound, before trying to figure out a
way to sync the audio with the video. Besides, the microphone in the
webcam is supposed to work. :)
Did you see something? Should I try to wipe out what I did, and start
from scratch?
Tom
More information about the PlanetCCRMA
mailing list