[FFmpeg-user] Mathematically lossless MotionJPEG2000 encoding possible?

Christoph Gerstbauer christophgerstbauer at gmail.com
Mon Oct 27 19:37:21 CET 2014


Hello

I am testing the jpeg2000 encoder (libopenjpeg) but I always get a 
damaged image (Colorshifting, Color flickering, etc..)
Generally asked: is it possible to encode to Motion JPEG2000 with 
following pixel formats in ffmpeg?

yuv420p
yuv411p
yuv422p
yuv422p10le
yuv444p10le

If yes, how is the correct encoding syntax?
My used syntax:

ffmpeg -i <inputfile> -vcodec libopenjpeg -pix_fmt yuv422p -an <outputfile>

I am shure that this syntax is not correct (not enough in defining the 
correct encoding params), furthermore I made no setting for LOSSLESS 
encoding mode.
Therefore I just need a HOW TO for jpeg2000 lossless encoding.

Addionally: which container formats are supported within ffmpeg for 
MotionJPEG2000?

Best Regards
Christoph Gerstbauer




More information about the ffmpeg-user mailing list