OpenJPEG is still very slow even after recent boost with optimization and multithreading. As soon as J2K algorithm has very high computational complexity, OpenJPEG is running not fast even with multithreading. ![]() ![]() OpenJPEG codec is very interesting product, but it’s working on CPU only. OpenJPEG is quite reliable and sofisticated solution with wide set of features from JPEG2000 Standard. This is not a good choice, so we can install OpenJPEG library (libopenjpeg) as default FFmpeg codec for J2K encoding and decoding on CPU. Lossless encoding can be selected with -pred 1”. ![]() In the FFmpeg documentation we can see the following: “The native jpeg2000 encoder is lossy by default, the -q:v option can be used to set the encoding quality. For a start we could answer the following very simple question - which JPEG2000 codec is working at FFmpeg by default? Surprisingly, this is not OpenJPEG codec.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |