capture still frames

24th July 2019 at 4:26pm
code computer image processing instructions
Word Count: 73

This command captures 10 still frame images from the default webcam (/dev/video0).

You can change the webcam by adding -tv=device=/dev/video1 or whatever.

You can change the 10 to capture more or fewer images (or leave off the -frames 10 to capture until you control-C to stop it.

The frames will be called 00000001.tga, 00000002.tga, and so on.

mplayer --really-quiet -vo tga -frames 10 tv://