# Copyright (c) 2018 NVIDIA Corporation. All rights reserved. # # NVIDIA Corporation and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation # and any modifications thereto. Any use, reproduction, disclosure or # distribution of this software and related documentation without an express # license agreement from NVIDIA Corporation is strictly prohibited. [application] enable-perf-measurement=1 perf-measurement-interval-sec=5 #gie-kitti-output-dir=streamscl [tiled-display] enable=1 rows=1 columns=2 width=1280 height=720 gpu-id=0 # 0 - cuda pinned/host memory # 1 - cuda device memory # 2 - cuda unified memory cuda-memory-type=1 [source0] enable=1 #Type - 1=CameraV4L2 2=URI 3=MultiURI type=3 uri=file:///home/test/qin/DeepStream_Release/samples/streams/sample_720p.mp4 num-sources=2 gpu-id=0 # 0 - cuda pinned/host memory # 1 - cuda device memory # 2 - cuda unified memory cuda-memory-type=1 [sink0] enable=0 #Type - 1=FakeSink 2=EglSink 3=File type=2 sync=1 source-id=0 gpu-id=0 cuda-memory-type=1 [sink1] enable=1 type=3 #1=mp4 2=mkv container=1 #1=h264 2=h265 3=mpeg4 ## only SW mpeg4 is supported right now. codec=3 sync=1 bitrate=2000000 output-file=out.mp4 source-id=0 [sink2] enable=0 #Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming type=4 #1=mp4 2=mkv container=2 #1=h264 2=h265 3=mpeg4 ## only mpeg4 is supported right now. codec=1 sync=1 bitrate=4000 # set below properties in case of RTSPStreaming rtsp-port=8554 udp-port=5400 [osd] enable=1 gpu-id=0 border-width=1 text-size=15 text-color=1;1;1;1; text-bg-color=0.3;0.3;0.3;1 font=Arial show-clock=1 clock-x-offset=5 clock-y-offset=5 clock-text-size=16 clock-color=1;0;0;1 cuda-memory-type=1 [streammux] gpu-id=0 ##Boolean property to inform muxer that sources are live live-source=1 batch-size=2 ##time out in usec, to wait after the first buffer is available ##to push the batch even if the complete batch is not formed batched-push-timeout=40000 ## Set muxer output width and height width=1280 height=720 ##Enable to maintain aspect ratio wrt source, and allow black borders, works ##along with width, height properties enable-padding=0 cuda-memory-type=1 # config-file property is mandatory for any gie section. # Other properties are optional and if set will override the properties set in # the infer config file. [primary-gie] enable=1 gpu-id=0 model-engine-file=/home/test/qin/DeepStream_Release/samples/models/Primary_Detector/resnet10.caffemodel_b4_int8.engine labelfile-path=/home/test/qin/DeepStream_Release/samples/models/Primary_Detector/labels.txt batch-size=1 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=0 gie-unique-id=1 cuda-memory-type=1 config-file=config_infer_primary.txt [tracker] enable=1 tracker-width=640 tracker-height=368 gpu-id=0 [secondary-gie0] enable=1 model-engine-file=/home/test/qin/DeepStream_Release/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.engine labelfile-path=/home/test/qin/DeepStream_Release/samples/models/Secondary_VehicleTypes/labels.txt gpu-id=0 batch-size=16 gie-unique-id=4 operate-on-gie-id=1 operate-on-class-ids=0; config-file=config_infer_secondary_vehicletypes.txt [secondary-gie1] enable=1 model-engine-file=/home/test/qin/DeepStream_Release/samples/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.engine labelfile-path=/home/test/qin/DeepStream_Release/samples/models/Secondary_CarColor/labels.txt batch-size=16 gpu-id=0 gie-unique-id=5 operate-on-gie-id=1 operate-on-class-ids=0; config-file=config_infer_secondary_carcolor.txt [secondary-gie2] enable=1 model-engine-file=/home/test/qin/DeepStream_Release/samples/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.engine labelfile-path=/home/test/qin/DeepStream_Release/samples/models/Secondary_CarMake/labels.txt batch-size=16 gpu-id=0 gie-unique-id=6 operate-on-gie-id=1 operate-on-class-ids=0; config-file=config_infer_secondary_carmake.txt [tests] file-loop=0