Is there a codec to read/write lossless Motion JPEG 2000 (Archival) videos outside of MATLAB?
조회 수: 4(최근 30일)
표시 이전 댓글
Janosch Kunczik 2017년 6월 13일
답변: Sanjana Ramakrishnan 2017년 6월 19일
I am working with infrared thermography video sequences. Because saving those files as a raw binary bit stream is quite big, I was looking for a lossless video format, which is able to handle 16 bit grayscale images and still has a good compression ratio. I found that lossless Motion JPEG 2000, which is natively supported by MATLAB, is an ideal candidate. Working with .mj2 files directly in MATLAB works great, however reading and writing them outside of MATLAB seems to be quite a challenge.
Following this blog post, I tried to play the video with ffplay. Unfortunately this only works for lossy Motion JPEG 2000 videos. I tried a couple alternative approaches, none with success.
Does anybody know how to read/write lossless Motion JPEG 2000 videos outside of MATLAB or which codec MATLAB utilizes for this purpose? Any help is much appreciated.
Sanjana Ramakrishnan 2017년 6월 19일
MATLAB uses a third party library called Kakadu for doing any Motion JPEG-2000 encoding and decoding. The vendors website is http://kakadusoftware.com/. This library is not open source and you will need to contact the vendor directly to find out how to obtain them.
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!