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. The solution thus far with MATLAB seems to be using Motion JPEG in AVI videos.
apt install ffmpeg ffmpeg -i input.avi -c:v mjpeg -qscale 1 out.avi
- Download test video
- convert video to Motion JPEG AVI
ffmpeg -i input.avi -c:v mjpeg -t 1 -qscale 11 out.avi
The sample AVI file is used under GNU LGPL.