Xavier AGX Video Encoder realtime questions

Hello,

We are using the Xavier AGX H.265 and Jetpack 4.3 and have some questions about the nvidia video encoder:

  1. Is the source code of the encoder GStreamer Plugin, omxh265enc available? Is there a Link? If not, is there an HEVC encoding sample?

  2. Can the H.265 video stream’s encoding QP be changed dynamically at runtime while encoding is happening? (eg, via API Call)? If so, is there a list of additional dynamically configurable encoding parameters?

  3. Is there encoding feedback on the complexity of a frame upon completion of encoding it?

  4. Can a frame be encoded in horizontal slice segments by a single encoder?

  5. Is there documentation for enabling and tuning Variable Frame Rate. VFR?
    Thank you.

Hi,

The source code are in
https://developer.nvidia.com/embedded/dlc/r32-3-1_Release_v1.0/Sources/T186/public_sources.tbz2
Both gst-omx and gst-v4l2 packages are open source.We are deprecating omx plugins so please check gst-v4l2.

You can set up QP range:

  qp-range            : Qunatization range for P, I and B frame,
                         Use string with values of Qunatization Range
                         in MinQpP-MaxQpP:MinQpI-MaxQpI:MinQpB-MaxQpB order, to set the property.

Or set up fixed QP value:

  quant-i-frames      : Quantization parameter for I-frames (0xffffffff=component default),
                         use with ratecontrol-enable = 0
                         and preset-level = 0
                        flags: readable, writable, changeable only in NULL or READY state
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4294967295
  quant-p-frames      : Quantization parameter for P-frames (0xffffffff=component default),
                         use with ratecontrol-enable = 0
                         and preset-level = 0
                        flags: readable, writable, changeable only in NULL or READY state
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4294967295

But we don’t support configuring QP value of each frame.

We have th eproperty in nvv4l2h265enc:

  EnableMVBufferMeta  : Enable Motion Vector Meta data for encoding
                        flags: readable, writable, changeable only in NULL or READY state
                        Boolean. Default: false

Not sure it it is the data you need. Please enable it and check.

Now we support fixed framerate. Supporting VFR is under evaluation. Please check