HI,
The pipline is : source_bin ->streammux-> pgie-> nvtracker-> nvvidconv-> tiler-> nvosd-> sink. feeding 8 source inputs. I add probe to the sink pad of the tiler element,but frame_meta->batch_id is always 0.
[streammux]
gpu-id=0
##Boolean property to inform muxer that sources are live
live-source=0
batch-size=8
batched-push-timeout=40000
Set muxer output width and height
width=1920
height=1080
#enable to maintain aspect ratio wrt source, and allow black borders, works
##along with width, height properties
enable-padding=0
nvbuf-memory-type=0
config-file property is mandatory for any gie section.
[primary-gie]
enable=1
gpu-id=0
#model-engine-file=../../models/Primary_Detector/resnet10.caffemodel_b30_int8.engine
batch-size=8 #Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=2 #Required by the app for SGIE, when used along with config-file property
gie-unique-id=1
nvbuf-memory-type=0
#config-file=config_infer_primary.txt
config-file=config_infer_primary_yoloV3.txt
[tracker]
enable=1
tracker-width=640
tracker-height=368
#ll-lib-file=/opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_iou.so
ll-lib-file=/opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_nvdcf.so
ll-lib-file=/opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so #ll-config-file required for DCF/IOU only
ll-config-file=tracker_config.yml
#ll-config-file=iou_config.txt
gpu-id=0 #enable-batch-process applicable to DCF only
enable-batch-process=1
[tests]
file-loop=0
By the way, when I add the probe to the sink pad of the nvvidconv element, frame_meta->batch_id varied from o-7. it’s ok.
We discuss this issue internally and this is a fix in our latest DeepstreamSDK 5.0.
Could you update your software to JetPack4.4 with DeepstreamSDK 5.0 and give it a try?