I'm using vlc to capture an image from my webcam by running the following command:
cvlc v4l2:///dev/webcam --no-audio --run-time 5 --scene-path $PWD \ --scene-replace --scene-format png --video-filter scene vlc://quit
. It works great except that I'm running this command in a cron job and it opens a player window for the duration of the capture, which gets in the way of me doing other stuff. Is there any way to hide this window? Can I tell vlc NOT to display this window whenever it runs? I looked at the help docs but couldn't find anything relevant in there.