In the process of using the nvds_obj_enc_process interface, the following two problems have occurred.
(1)This interface does not provide parameters for setting image coding quality。I once mentioned a topic to solve this problem(Three questions about the use of ‘libnvds_batch_jpegenc.so’ dynamic library interface - #10 by DaneLLL),and got a new dynamic library. But this dynamic library relies on libnvjpeg.so, my project code relies on libjpeg.so, there will be a problem as shown in the link below.
https://forums.developer.nvidia.com/t/conflict-between-libjpeg-so-8-and-libnvjpeg-so-when-using-opencv-and-encodefromfd-interface-in-the-same-program/185327
(2)When using this interface for multi batch coding, coding area errors will occur.The relevant links are as follows:
https://forums.developer.nvidia.com/t/two-questions-about-jpeg-encode/167973
I hope to get a version that solves the above two problems at the same time and does not rely on libnvjpeg.so.And my platform environment is as follows:
**• Hardware Platform:JETSON XAVIER NX
**• DeepStream Version:5.0
**• JetPack Version:4.4