Parameter poc-type missing on jetson though mentioned in the documentation

The documentation from this link:

Says the following:

Applies to: Jetson Xavier NX, Jetson Nano, Jetson AGX Xavier series, and Jetson TX2 series devices

The following values are supported for the poc-type property:

But when I use the parameter poc-type on my jetson nano:

gst-launch-1.0 -e nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1280, height=720, framerate=60/1’ ! nvv4l2h264enc bitrate=4000000 profile=0 iframeinterval=1 poc-type=2 ! video/x-h264, stream-format=byte-stream, profile=baseline ! filesink location=lol.h264

I get the following error message:

WARNING: erroneous pipeline: no property “poc-type” in element “nvv4l2h264enc0”

E.g a parameter listed in the documentation and of high importance to me is missing in the implementation on my jetson nano. Default firmware.

The implementation will be present in next r32.5.

Is there any change related to kernel/driver or just gstreamer plugin? I want to apply this patch on r32.4

The implementation is in gst-v4l2 which is open source. You may download gst-v4l2 of r32.5, compile it on r32.4.4, and replace


After replacement, please clean cacheL

$ rm .cache/gstreamer-1.0/registry.aarch64.bin

In case the new built one does not work, suggest backup original

Tried this right now, but seems not working, I still got large latency.
the “latency” I care is “ High decoding latency for stream produced by nvv4l2h264enc compared to omxh264enc

I tested and confirmed it working on nvvh264enc. Note that you have to manually set the param.

of course I set the param,can you share the test pipeline?
hardware decoder ‘nvv4l2decoder’ must be used at receiver side , poc-type seems not affect software decoder like ‘avdec_h264’ in my test.

sender pipeline

gst-launch-1.0 -v nvv4l2camerasrc device=/dev/video1 ! nvvidconv ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420' !  tee name=t \
            t. ! queue ! nvv4l2h264enc idrinterval=30 disable-cabac=true insert-aud=true insert-sps-pps=true poc-type=2 bitrate=8000000 ! rtph264pay pt=96 ! udpsink host= port=5000

receiver pipeline SW

gst-launch-1.0 udpsrc uri=udp:// ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96' \
   ! rtpstorage size-time=220000000 ! rtpssrcdemux ! rtpjitterbuffer do-lost=1 latency=10 !  rtph264depay ! avdec_h264 ! autovideoconvert ! fpsdisplaysink  sync=false

receiver pipeline HW

gst-launch-1.0 udpsrc uri=udp:// ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"Z0JAKJZUA8ARPyo\=\,aM48gA\=\=", payload=(int)96, seqnum-offset=(uint)16448, timestamp-offset=(uint)717084470, ssrc=(uint)3054027786, a-framerate=(string)30' \
   ! rtpstorage size-time=220000000 ! rtpssrcdemux ! rtpjitterbuffer do-lost=1 latency=10 ! rtph264depay ! nvv4l2decoder ! autovideoconvert ! fpsdisplaysink sync=false async=false

that is my test pipeline

                                             /       receiver pipeline SW      \
sender pipeline  with nvv4l2h264enc ======>                                     ====== >  HW got about 200ms more delay
                                             \       receiver pipeline HW     / 

                                             /       receiver pipeline SW      \
sender pipeline  with omxh264_enc ======>                                     ====== >  HW/SW same delay
                                             \       receiver pipeline HW     / 

pps: my jetson release version is r23.4.3

So far I have only seen poc_type negatively affect qualcomm snapdragon decoders.
It won’t magically reduce anything else except bring HW decoding time down to ~10ms from ~80ms on these devices.
70m-80ms end-to-end is doable with jetson as producer and a modern smartphone as consumer.

Edit: Get rid of all the unneeded stuff in your gstreamer pipelines. I got the results using the default pipeline from the docs (poc_type added) and my rtp h264/5 decoder android app:

my sender is on xavier while receiver is using deepstream5.0 on x86 using GTX2080ti’s HW decoder. also I tried jetpack 4.5 on xavier every thing works fine

@geierconstantinabc to clearify, what’s “working” mean by you?

  • work on r23.5.1 with poc-type=2
  • work on r23.4.4 with gst nvv4l2 (from r23.5.x) rebuild and poc-type=2
  • work on r23.4.3 with gst nvv4l2 (from r23.5.x) rebuild and poc-type=2

On the first release for jetson nano with poc_type available as an option, (not sure which version number anymore), I set poc_type=2 and then checked 1) if the resulting bitstream had poc_type=2 (yes) and if the stream was decodable in low latency (10ms max) on most phones (yes).
Using nvv4l2h264enc
See LiveVideo10ms/ListOfCommandsUsedForTesting.txt at master · Consti10/LiveVideo10ms · GitHub
for the command.

Okey, then it’s jetpack4.5(r32.5) on your nano, my tx2 with jetpack4.5 also works fine.
However I have to make this working on jetpack 4.4(r32.4.3) because my xavier hardware provider only support jetpack4.4 .

@DaneLLL Seems update gst-plugin is not enought, Is there anything more can try?

PS: all the ‘r23.x.x’ above should be ‘r32.x.x’

It is possible to upgrade to r32.5?

I’s possible in the future, but depend on the xavier HW provider, right now they have no plan to support jetpack4.5

Also checked kernel driver for ‘nvhost-msenc’(device name from gst-plugin source) , but found nothing, is this part open-sourced?