GStreamer DMAI plug-in element properties
DDOMPE branch
Video encoders
Common
Parameter name | Description |
---|---|
name | The name of the object flags: readable, writable |
outputBufferSize | Size of the output buffer flags: readable, writable |
copyOutput | Boolean that set if the output buffers should be copied into standard gst buffers flags: readable, writable |
H.264
- TI Application Note Parameter Settings for TMS320DM365 H.264 Encoder (pdf) (old, but then only one available)
Parameter name | Description |
---|---|
ratecontrol | Rate Control Algorithm to use: 1 - Constant Bit Rate (CBR), for video conferencing: |
encodingpreset | Encoding Preset Algorithm to use: 0 - Default (check codec documentation): |
maxbitrate | Maximum bit-rate to be supported in bits per second flags: readable, writable: |
targetbitrate | Target bit-rate in bits per second, should be <= than the maxbitrate flags: readable, writable: |
intraframeinterval | Interval between two consecutive intra frames: 0 - Only first I frame followed by all P frames |
forceintra | Force next frame to be an intracodec frame flags: readable, writable |
profile | H264 Profile to use: 66 - Base Line |
level | H264 Level to use: 9 - For 1.b |
entropy | Entropy mode: 0 - CAVLC |
t8x8intra | Enable 8x8 Transform for I Frame (only for High Profile) flags: readable, writable |
t8x8inter | Enable 8x8 Transform for P Frame (only for High Profile) flags: readable, writable |
encquality | Encoder quality: 0 - Version 1.1 backward compatible |
enabletcm | When encquality is 0, this flag controls if TCM memory should be used (otherwise is ignored and default to yes) flags: readable, writable |
ddrbuf | Use DDR buffers instead of IMCOP buffers flags: readable, writable |
ntemplayers | Number of temporal Layers for SVC: 0 - one layer |
svcsyntaxen | Control for SVC syntax and DPB management: 0 - SVC disabled sliding window enabled |
seqscaling | Sequence scaling matrix present: 0 = Disable |
qpintra | Quantization Parameter (QP) for I frame (only valid when rate control is disabled or is fixed QP) flags: readable, writable |
qpinter | Quantization Parameter (QP) for P frame (only valid when rate control is disabled or is fixed QP) flags: readable, writable |
rcalgo | Rate Control Algorithm (requires ratecontrol set to 5): 0 - CBR |
airrate | Adaptive intra refresh. This indicates the maximum number of MBs(per frame) that can be refreshed using AIR. flags: readable, writable |
idrinterval | Interval between two consecutive IDR frames flags: readable, writable |
bytestream | Generate h264 NAL unit stream instead of 'packetized' stream (no codec_data is generated). Packetized stream is used when transmitting over an IP network.
|
aud | Generate h264 Access Unit Delimiters format flags: readable, writable |
headers | Include on the stream the SPS/PPS headers flags: readable, writable |
single-nalu | Buffers contains a single NALU flags: readable, writable |
RidgeRun recommended settings for 1080p30 RTSP streaming:
Parameter | RidgeRun |
---|---|
Static encodingPreset | 2 |
rateControlPreset | 2 |
maxHeight | 1088 |
maxWidth | 1920 |
maxFrameRate | 30000 |
maxBitRate | 4000000 |
dataEndianness | 1 |
maxInterFrameInterval | 1 |
inputChromaFormat | 9 |
inputContentType | 0 |
reconChromaFormat | 9 |
Dynamic inputHeight | 1088 |
inputWidth | 1920 |
refFrameRate | 30000 |
targetFrameRate | 30000 |
targetBitRate | 4000000 |
intraFrameInterval | 30 |
generateHeader | 0 |
captureWidth | 0 |
forceFrame | -1 |
interFrameInterval | 0 |
mbDataFlag | 0 |
MPEG4
Parameter name | Description |
---|---|
ratecontrol | Rate Control Algorithm to use: 1 - Constant Bit Rate (CBR), for video conferencing |
encodingpreset | Encoding Preset Algorithm to use: 0 - Default (check codec documentation) |
maxbitrate | Maximum bit-rate to be supported in bits per second flags: readable, writable |
targetbitrate | Target bit-rate in bits per second, should be <= than the maxbitrate flags: readable, writable |
intraframeinterval | Interval between two consecutive intra frames: 0 - Only first I frame followed by all P frames |
forceintra | Force next frame to be an intracodec frame flags: readable, writable |
MJPEG
Parameter name | Description |
---|---|
qValue | Q compression factor, from 1 (lowest quality) to 97 (highest quality). [default: 75] flags: readable, writable |
Other Hardware Accelerators
DMAI Resizer
The GStreamer dmairesizer element accepts video data in either UYVY or NV12 colorspace and produces UYVY data that has been optionally scaled in the horizontal and/or vertical directions.
Parameter name | Description |
---|---|
source-x | X axis pixel on the origin image flags: readable, writable |
source-y | Y axis pixel on the origin image flags: readable, writable |
source-width | Width of source frame (must be multiple of 16) flags: readable, writable |
source-height | Height of source frame flags: readable, writable |
target-width | Width of target frame (must be multiple of 16) flags: readable, writable |
target-height | Height of target frame (must be multiple of 16) flags: readable, writable |
target-width-max | Target buffer max width (must be multiple of 16) flags: readable, writable |
target-height-max | Target buffermax height (must be multiple of 16) flags: readable, writable |
aspect-ratio | Keep aspect ratio flags: readable, writable |
normalize-par | Normalize the pixel aspect ratio to 1/1 flags: readable, writable |
number-output-buffers | Number of output buffers flags: readable, writable |