NVIDIA DeepStream Plugin Manual Application Note 4.0.2 Release |
Note: | When you use the v4l2 decoder use for decoding JPEG images, you must use the open source jpegparse plugin before the decoder to parse encoded JPEG images. |
Features | ||
Feature | Description | Release |
Supports H.264 decode | — | DS 4.0 |
Supports H.265 decode | — | DS 4.0 |
Supports JPEG/MJPEG decode | _ | DS 4.0 |
User-configurable CUDA memory type (Pinned/Device/Unified) for output buffers | — | DS 4.0 |
Property | Meaning | Type and Range | Example Notes | Platforms |
gpu-id | Device ID of GPU to use for decoding. | Integer, 0 to 4,294,967,295 | gpu-id=0 | dGPU |
num-extra-surfaces | Number of surfaces in addition to min decode surfaces given by the V4L2 driver. | Integer, 1 to 24 | num-decode-surfaces=24 Default: 0 | dGPU Jetson |
skip-frames | Type of frames to skip during decoding. Represented internally by enum SkipFrame. 0 (decode_all): decode all frames 1 (decode_non_ref): decode non-ref frames 2 (decode_key): decode key frames | Integer, 0, 1, or 2 | skip-frames=0 Default: 0 | dGPU Jetson |
drop-frame-interval | Interval to drop the frames, e.g. a value of 5 means the decoder receives every fifth frame, and others are dropped. | Integer, 1 to 30 | Default: 0 | dGPU Jetson |
cudadec-memtype | Memory type for CUDA decoder buffers. Represented internally by enum CudaDecMemType. 0 (memtype_device): Device 1 (memtype_pinned): Host Pinned 2 (memtype_unified): Unified | Integer, 0, 1, or 2 | cuda-memory-type=1 Default: 2 | dGPU |
Feature | Description | Release |
Supports H.264 encode | — | DS 4.0 |
Supports H.265 encode | — | DS 4.0 |
Property | Meaning | Type and Range | Example Notes | Platforms |
gpu-id | Device ID of GPU to used. | Integer, 0 to 4,294,967,295 | gpu-id=0 | dGPU |
bitrate | Sets bitrate for encoding, in bits/seconds. | Integer, 0 to 4,294,967,295 | Default:4000000 | dGPU Jetson |
iframeinterval | Encoding intra-frame occurrence frequency. | Unsigned integer, 0 to 4,294,967,295 | Default: 30 | dGPU Jetson |
Profile | H.264/H.265 encoder profile; represented internally by enum GstV4l2VideoEncProfileType. For H.264: 0 (GST_V4L2_H264_VIDENC_BASELINE_PROFILE): Baseline 2 (GST_V4L2_H264_VIDENC_MAIN_PROFILE): Main 4 (GST_V4L2_H264_VIDENC_HIGH_PROFILE): High For H.265: 0 (GST_V4L2_H265_VIDENC_MAIN_PROFILE): Main 1 (GST_V4L2_H265_VIDENC_MAIN10_PROFILE): Main10 | Values of enum GstV4l2VideoEncProfileType | Default Baseline Default: 0 | dGPU Jetson |