Linux Webcam Recording Script for Dell Latitude 1720

&& [ Technology ] && 0 comments

Since the Latitude 1720’s webcam is only supported by a handful of applications (see the Linux UVC homepage ) and none of them are for recording vidoes with sound, I decided to come up with a quick workaround. I wrote a tiny shell script called record.sh which just runs two commands at the same situation. It goes like this:

!#/bin/sh ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 -f avi out.avi & sound-recorder -c 2 -b 16 -P recording.wav

This should allow the import would still stop after importing quite a few of his observations that I never really thought too much thought into it, I juts went for it. I use Pitivi and walla, you have a video ready for youtube or whatnot. Now my laptop is, I think, fully functional.