MATLAB can create and read lossy and lossless Motion JPEG 2000 videos on Windows and Linux. You can play back Motion JPEG 2000 files on Linux with “ffplay” as follows:
In Terminal, type
where of course “movie.mj2″ is the .mj2 Motion JPEG 2000 video to be played.
from the Command Prompt, type
(assuming you downloaded ffmpeg to c:\ffmpeg)
is a sample Motion JPEG 2000 .mj2 video of a rotating greyscale checkerboard you can use to test your Motion JPEG 2000 player.
Note, if you get an errow about missing CODECs, you will need to update your ffmpeg to a version that included libopenjpeg. Thankfully for Ubuntu users, there is a PPA with the most recenter FFMPEG with MJ2 support:
sudo apt-add-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg
Then it should play for you. I have tested with FFMPEG version 0.10.7