Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I record, in a single command both video from my webcam and sound from my microphone in a .avi file?
I tried below command:
streamer -q -c /dev/video0 -f rgb24 -r 3 -t 00:30:00 -o ~/outfile.avi
but it is not producing any sound.
I finally end up with:
ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 video.mp4
Required, but never shown
2 years, 7 months ago
1 year, 11 months ago