The current hardware-accelerated gstjpeg library on Jetson TX2 board with L4T R27 does not allow setting image quality in the jpeg encoding process, even though in the source code gstjpegenc.c there is a line:
#define JPEG_DEFAULT_QUALITY 85
I am trying to modify gstjpeg library slightly so that I can set the image compression quality during the encoding process. My first step is trying to compile the original gstjpeg library without any modification. I followed the instructions from this link: https://devtalk.nvidia.com/default/topic/1009988/jetson-tk1/building-hardware-accelerated-gstjpeg-from-source-/post/5153576/
During compilation, I received the following error:
fatal error: gstnvexifmeta.h: No such file or directory
I have two questions:
- Where can I find gstnvexifmeta.h?
- Once I have modified and built my own gstjpeg library, how do I install it?