You want to take a picture, but hooking your smartphone up to the PC is a pain (no cable or something), and your digital camera isn’t near. You do have a webcam though… so: what do you do?
vlc -I dummy v4l2:///dev/video0 --video-filter scene --no-audio --scene-path $OUTPUTDIR --scene-prefix webcam_photo --scene-format png vlc://quit --run-time=5
That’s what you do. Hooray for VLC making your life somewhat easier!
(hattip to Stack Exchange)