Hi, does anybody know how to acquire sound from a webcam mic? the video works fine, I've compiled ffmpeg with lame support, no error messages during export, but the video is mute. I've got a few audio devices: /dev/audio /dev/audio1 /dev/dsp /dev/dsp1 any clue? thanks..
Fabrizio wrote:
Hi, does anybody know how to acquire sound from a webcam mic?
the video works fine, I've compiled ffmpeg with lame support, no error messages during export, but the video is mute.
I've got a few audio devices: /dev/audio /dev/audio1 /dev/dsp /dev/dsp1
any clue?
Install dump-mixers and post its output.
thanks..
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Selon Fabrizio <freegenie at gmail.com>:
Hi, does anybody know how to acquire sound from a webcam mic?
the video works fine, I've compiled ffmpeg with lame support, no error messages during export, but the video is mute.
I've got a few audio devices:
/dev/audio /dev/audio1 /dev/dsp /dev/dsp1 The webcam mic is likely to be /dev/dsp1-/dev/audio1.
1) Use the option -ad /dev/dsp1 to make sure that you use your webcam mic. 2) Use any mixer (like kmix or aumix) to control the volume lebel
any clue?
thanks.. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
I still have to try with 'dump_mixers'. Among my devs /audio1 is a link to /audio. I didn't have any /dev/dsp since I ran an X app ( Krecorder??) which probably made that device by her own. Thanks 2006/4/27, othellogrenoble at free.fr <othellogrenoble at free.fr>:
Selon Fabrizio <freegenie at gmail.com>:
Hi, does anybody know how to acquire sound from a webcam mic?
the video works fine, I've compiled ffmpeg with lame support, no error messages during export, but the video is mute.
I've got a few audio devices:
/dev/audio /dev/audio1 /dev/dsp /dev/dsp1 The webcam mic is likely to be /dev/dsp1-/dev/audio1.
1) Use the option -ad /dev/dsp1 to make sure that you use your webcam mic. 2) Use any mixer (like kmix or aumix) to control the volume lebel
any clue?
thanks.. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
hi there again. This is my dump-mixers output: /dev/mixer = ENS1371 (Cirrus Logic CS4297A rev 3) vol ( 0) : stereo rec 75/75 pcm ( 4) : stereo 74/74 speaker ( 5) : mono 73 line ( 6) : stereo rec 0/0 mic ( 7) : mono rec 0 cd ( 8) : stereo rec* 74/74 pcm2 (10) : stereo 74/74 igain (12) : stereo 0/0 line1 (14) : stereo rec 0/0 dig1 (17) : mono 0 phin (20) : mono rec 0 phout (21) : mono rec 74 video (22) : stereo rec 0/0 /dev/mixer1 = USB-Audio (USB Mixer) mic ( 7) : mono rec 100 do I have to check it while it's recording ??? thanks, 2006/4/28, Fabrizio <freegenie at gmail.com>:
I still have to try with 'dump_mixers'.
Among my devs /audio1 is a link to /audio. I didn't have any /dev/dsp since I ran an X app ( Krecorder??) which probably made that device by her own.
Thanks
2006/4/27, othellogrenoble at free.fr <othellogrenoble at free.fr>:
Selon Fabrizio <freegenie at gmail.com>:
Hi, does anybody know how to acquire sound from a webcam mic?
the video works fine, I've compiled ffmpeg with lame support, no error
messages during export, but the video is mute.
I've got a few audio devices:
/dev/audio /dev/audio1 /dev/dsp /dev/dsp1 The webcam mic is likely to be /dev/dsp1-/dev/audio1.
1) Use the option -ad /dev/dsp1 to make sure that you use your webcam mic. 2) Use any mixer (like kmix or aumix) to control the volume lebel
any clue?
thanks.. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
Fabrizio wrote:
hi there again. This is my dump-mixers output:
/dev/mixer = ENS1371 (Cirrus Logic CS4297A rev 3) vol ( 0) : stereo rec 75/75 pcm ( 4) : stereo 74/74 speaker ( 5) : mono 73 line ( 6) : stereo rec 0/0 mic ( 7) : mono rec 0 cd ( 8) : stereo rec* 74/74 pcm2 (10) : stereo 74/74 igain (12) : stereo 0/0 line1 (14) : stereo rec 0/0 dig1 (17) : mono 0 phin (20) : mono rec 0 phout (21) : mono rec 74 video (22) : stereo rec 0/0 /dev/mixer1 = USB-Audio (USB Mixer) mic ( 7) : mono rec 100
do I have to check it while it's recording ???
Apparently the USB audio is not setup as a recording source. I'm using the OSS sound drivers and I have to call: ioctl(mixfd, MIXER_WRITE(SOUND_MIXER_RECSRC), &recsrc) where, in your case, since there is only 1 'mixer-device', recsrc=(1<<0). IOW mic on /dev/mixer1 is (for you) recordable, at full volume, but not flagged recording. And I read from /dev/dsp1. I have /dev/audio* devices but no clue to what they do! If ypu're using ALSA drivers, I cant help you.
thanks,
2006/4/28, Fabrizio <freegenie at gmail.com>:
I still have to try with 'dump_mixers'.
Among my devs /audio1 is a link to /audio. I didn't have any /dev/dsp since I ran an X app ( Krecorder??) which probably made that device by her own.
Thanks
2006/4/27, othellogrenoble at free.fr <othellogrenoble at free.fr>:
Selon Fabrizio <freegenie at gmail.com>:
Hi, does anybody know how to acquire sound from a webcam mic?
the video works fine, I've compiled ffmpeg with lame support, no error
messages during export, but the video is mute.
I've got a few audio devices:
/dev/audio /dev/audio1 /dev/dsp /dev/dsp1 The webcam mic is likely to be /dev/dsp1-/dev/audio1.
1) Use the option -ad /dev/dsp1 to make sure that you use your webcam mic. 2) Use any mixer (like kmix or aumix) to control the volume lebel
any clue?
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
participants (3)
-
freegenie@gmail.com -
mbardiaux@mediaxim.be -
othellogrenoble@free.fr