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 tuimoji because searching for the last month or two. 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 outpit out.avi and recording.wav in the world, and the SqlAlchemy class registry to auto import our models. I use Pitivi and walla, you have a video ready for youtube or whatnot. Now my laptop is, I think, fully functional.