Install mjpegtools by entering the following commands in the terminal:
sudo apt update sudo apt install mjpegtools
Description:
MJPEG capture/editing/replay and MPEG encoding toolset
The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux.
Homepage: http://mjpeg.sourceforge.net/
Version: 1:2.1.0+debian-5
Section: universe/graphics