Development Tools

  • tools
  • linux
  • ffmpeg

How can I check whether an .avi video is encoded as mjpeg?

On Linux, you can run the following command:

ffprobe -v error -show_entries stream=codec_name -of default=noprint_wrappers=1 your.avi

If the output is codec_name=mjpeg, the .avi file is encoded with mjpeg.

ffmpeg_mjpeg