MATLAB uncompressed AVI UNIX

MATLAB on Linux claims to only playback uncompressed AVI files on “UNIX” systems. However, MATLAB on Linux can’t even play all uncompressed AVI filed depending on your particular system configuration with gstreamer. A workaround for MATLAB codecs is using Motion JPEG in AVI videos:

apt install ffmpeg

ffmpeg -i input.avi -c:v mjpeg -q:v 1 out.avi

Convert video to Motion JPEG AVI

ffmpeg -i input.avi -c:v mjpeg -t 1 -q:v 11 out.avi