Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
This is a component based on deepstream 6.0’s multi stream example. The pipeline structure is the same as examples, approximately following streammux → pgie → tracker → tiler → nvvideiconvert → osd
I added a buffer probe to pgie’s src pad and enable NvDsObjEncUsrArgs. In this function I set the following metadata:
NvDsObjEncUsrArgs userData = {0};
/* To be set by user */
userData.saveImg = true;
userData.attachUsrMeta = true;
Immediately after metadata creation I make sure process is encoded and call the enc_finish function.
nvds_obj_enc_process(objEncContext, &userData, ipSurf, objMeta, frameMeta);
// Seems to be an offset error when nvds_obj_enc_finish is called outside the for loop
nvds_obj_enc_finish(objEncContext);
Then I keep the deepstream pipeline running and eventually I see the files getting written locally. (Default filename indicating frame # is correct as documented in NVIDIA DeepStream SDK API Reference: _NvDsObjEncUsrArgs Struct Reference) The contents of the few pictures look ok, but over time the images written gets blurry.
126_0_-1_Person_1920x1080.jpg
48_0_-1_Person_1920x1080.jpg
129_0_-1_Person_1920x1080.jpg
1_0_-1_Person_1920x1080.jpg