JPEG Processing Block and nvjpegenc support for JPEG 2000


  • Does the Xavier NX “JPEG Processing Block” support JPEG 2000 encoding?
  • Is there any way to losslessly encode still-frames through the GPU or any non-CPU hardware? It seems nvjpegenc supports only JPEG.

Thank you.

AFAIK, JPEG2000 encoding is only available from CPU on Jetson. See: JPEG2000 library for Jetson Nano - #4 by Honey_Patouceul

nvjpegenc only supports JPEG, but you can try setting quality to max (100) and see if this suits your needs:

gst-launch-1.0 videotestsrc num-buffers=1 ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420' ! nvjpegenc quality=100 ! filesink location=test.jpg

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.