Record a MJPG Stream using FFmpeg

This example shows how to record a MJPG stream with FFmpeg from an URL at a frame rate of 10fps (just replace the IP address and frame rate accordingly):

ffmpeg -f mjpeg -r 5 -i "http://172.17.2.101:8080/stream.mjpg?fps=10" -r 10 ./video.avi

The project site for FFmpeg is here: FFmpeg.org.