i'm doing a motion (streaming webcam content) project and i want to know how can i take a snapshot with a terminal command.
wget http://localhost:8080/?action=snapshot -O output.jpg
This does not seem to work properly. It outputs a jpg, but it just keeps downloading forever. Is there any other command or is it not possible to take a snapshot on command (i'm using a button for this). Thank you!