[Linux-uvc-devel] How to record audio and video from a webcam?

Jörg Hermsdorf funtasyspace at yahoo.com
Sun Oct 7 11:11:59 CEST 2007


Hey Monkey,

> ---------------------------------------
> ffmpeg - Can't get audio and doesn't display what is being captured.
> ---------------------------------------
> ffmpeg -v 100 -f oss -i /dev/dsp2  -f video4linux2 -s 320x240 -i
> /dev/video1  -f m4v test.m4v

Try this command:

ffmpeg -f video4linux2 -s 320x240 -i /dev/video1 -f audio_device -ac 2 -i /dev/dsp2 -f mp4 test.mp4

Also make sure, that the built-in microphone of your webcam is really hooked to /dev/dsp2. 

Best regards




      __________________________________  
Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever



More information about the Linux-uvc-devel mailing list