Super brief post about one of the more fun projects I setup recently: a lil’ time lapse script #!/bin/bash CAM=$(v4l2-ctl --list-devices | grep C920 -A 1 | grep /dev | awk '{$1=$1};1') #Uncomment the next line to verify it's using the correct device #echo $CAM ffmpeg -f video4linux2 -s 1920x1080 -i $CAM -ss 0:0:2 -frames 1 "/mnt/data/lapse/tl$(date +"%Y-%m-%d_%H-%M-%S").jpg" I have multiple cameras on my system, but only wanted output from the better one, the C920.