Animated jpg images (.mjpg files in Motion JPEG Video format) can be created from lots of multimedia sources, including MPEG-4 (.mp4) video. Such mp4 to mjpg conversion can be done with several popular multimedia converters, such as FreeMake Video Converter which is available for free and really good choice for various video converters.
Open MP4 file Open MJPG file