Skip to navigation

Gst-nvimageenc

View as Markdown

The Gst-nvimageenc plugin encodes images on dGPU and (ARM + dGPU) platforms like arm-sbsa. This plugin is based on the libnvjpeg library which is part of the CUDA toolkit. The plugin accepts RGB input and produces JPEG encoded bitstream.

Inputs and Outputs

  • Inputs

    • Gst Buffer in RGB format
  • Control parameters

    • gpu-id
  • Output

    • Gst Buffer with encoded output in JPEG format

Features

The following table summarizes the features of the Gst-nvimageenc plugin.

Gst-nvimageenc plugin features

FeatureDescriptionRelease
Supports JPEG Encode—DS 6.4

Gst Properties

The following table summarizes the Gst properties of the Gst-nvimageenc plugin.

Gst-nvimageenc plugin gst properties

PropertyMeaningType and RangeExample and NotesPlatforms
gpu-idDevice ID of GPU to use for encoding.Integer,
0 to 4,294,967,295
gpu-id=0dGPU,
ARM+dGPU
qualityEncoder qualityInteger,
0 to 100
quality=90dGPU,
ARM+dGPU
encoded-sizeEncoded size of the output bufferInteger,
0 to 4,294,967,295
encoded-size=4194304dGPU,
ARM+dGPU