Number of surfaces in addition to minimum decode surfaces given by the decoder. Can be used to manage the number of decoder output buffers in the pipeline.
整形[0,24]
num-exta-surfaces=5
dGPU,Jetson
gpu-id
该元素在那个GPU上运行
整形>-0
gpu-id=1
dGPU
camera-id
唯一的ID添加到元数据(Optional)
整形>=0
camera-id=2
dGPU,Jetson
camera-width
输入视频帧的宽度,仅type=1和5有效
整形>=0
camera-width=1920
dGPU,Jetson
camera-height
输入视频帧的高度,仅type=1和5有效
整形>=0
camera-height=1080
dGPU,Jetson
camera-fps-n
一秒,指定帧率的分子部分,仅type=1和5有效
整形>=0
camera-fps-n=30
dGPU,Jetson
camera-fps-d
一秒,指定帧率的分母部分,仅type=1和5有效
整形>=0
camera-fps-d=1
dGPU,Jetson
camera-v4l2-dev-node
V4L2设备节点,例如/dev/video<%u>
整形>=0
camera-v4l2-dev-node=1
dGPU,Jetson
latency
以毫秒为单位,平滑缓冲区大小,仅RTSP时候有效
整形>=0
latency=200
dGPU,Jetson
camera-csi-sensor-id
相机模块传感器ID。只有type=5时有效
整形>=0
camera-csi-sensor-id=1
Jetson
drop-frame-interval
丢帧的间隔。 例如,5表示解码器每隔五帧输出一次; 0表示没有丢帧
整[0,30]
drop-frame-interval=5
dGPU,Jetson
nvbuf-memory-type
buffer内存类型 0 (cuda-pinned-mem): host/pinned memory allocated with cudaMallocHost(). 1 (cuda-device-mem): Device memory allocated with cudaMalloc(). 2 (cuda-unified-mem): Unified memory allocated with cudaMallocManaged().
Number of seconds earlier from now to start the recording. E.g. if t0 is the current time and N is the start time in seconds that means recording will start from t0 – N. Obviously for it to work the video cache size must be greater than the N.
整形>=0
smart-rec-start-time=5
dGPU,Jetson
smart-rec-default-duration
In case a Stop event is not generated. This parameter will ensure the recording is stopped after a predefined default duration.
整形>=0
smart-rec-default-duration=20
dGPU,Jetson
smart-rec-duration
Duration of recording in seconds.
整形>=0
smart-rec-duration=15
dGPU,Jetson
smart-rec-interval
This is the time interval in seconds for SR start / stop events generation.
整形>=0
smart-rec-interval=10
dGPU,Jetson
smart部分有待测试
4 流合并组[streammux]
Key
含义
值类型
示例
平台
gpu-id
多个GPU情况下,指定使用那个GPU
整形>=0
gpu-id=1
dGPU
live-source
告诉muxer这个source是实时流
布尔类型
live-source=0
dGPU,Jetson
batch-size
Muxer batch size
整形>=0
batch-size=4
dGPU,Jetson
batched-push-timeout
超时时间(ms)
Integer, ≥−1
batched-push-timeout=40000
dGPU, Jetson
width
Muxer输出图像宽度
Integer, >0
width=1280
dGPU, Jetson
height
Muxer输出图像高度
Integer, >0
height=720
dGPU, Jetson
enable-padding
Indicates whether to maintain source aspect ratio when scaling by adding black bands.
布尔类型
enable-padding=0
dGPU,Jetson
nvbuf-memory-type
Type of CUDA memory the element is to allocate for output buffers. 0 (nvbuf-mem-default, a platform-specific default. 1 (nvbuf-mem-cuda-pinned): pinned/host CUDA memory. 2 (nvbuf-mem-cuda-device): Device CUDA memory. 3 (nvbuf-mem-cuda-unified): Unified CUDA memory.For dGPU: All values are valid.For Jetson: Only 0 (zero) is valid.
整形[0,3]
nvbuf-memory-type=3
dGPU
attach-sys-ts-as-ntp
1表示添加系统时间戳到Frame元数据。2表示添加来自rstp源时间戳到元数据
布尔类型
attach-sys-ts-as-ntp=0
dGPU, Jetson
config-file-path
仅对新创建的streammux有效,更多信息参考“New Gst-nvstreammux”
字符串
config-file-path=config_mux_source30.txt
dGPU, Jetson
5 一级GIE [primary-gie]和二级GIE [secondary-gie1]
Key
含义
值类型
示例
平台/GIE
enable
表示是否使用该组
布尔类型
enable=1
dGPU, Jetson、Both GIEs
gie-unique-id
该部分唯一ID
整形>0
gie-unique-id=2
Both
gpu-id
GPU to be used by the element in case of multiple GPUs.
Type of CUDA memory element is to allocate for output buffers. 0 (nvbuf-mem-default): a platform-specific default. 1 (nvbuf-mem-cuda-pinned): pinned/host CUDA memory. 2 (nvbuf-mem-cuda-device): Device CUDA memory. 3 (nvbuf-mem-cuda-unified): Unified CUDA memory. For dGPU: All values are valid.For Jetson: Only 0 (zero) is valid.