I would like to do the HEVC at Jetson AGX Xavier Industrial

Hi All,

We are trying to do HEVC at AGX Xavier Industrial.
While our trying, we found belwo behavior.
So do you know same issue and workaround?

Questions:

  1. How can we use(add) video/x-raw(memory:NVMM)to Capabilities of v4l2src?

  2. Which Gstreamer version is AGX Xavier validated by NVIDIA?

Background:
We did HEVC encode w/ below command.

nvidta@localhost:~$gst-launch-1.0V4l2sredevice=/dev/videoeto-node=4|video/x-rav\(nenory:NUNMI),width=1280,heigh, framerate=30/1 I nvvidconv [ onxh265ene insert-aud-false insert-vul=false SliceIntraRefreshEnable=true sliceIntraRehInterval=60 control-rate-4 EnableTwopassCBR=0 vbv-size-1 EnableStringentBitrate=1 btivate=800000 slice-header-spacin 400 bit-packetization= I video/x-h265, stream-format-byte-strean, alignmentsau I rtphasspay ! udpsink host=192.168.25 port=5004 sync-false-ve

WARNING: erroneous pipeline: could not ttnk VAL2rcO to nuvconve, VAl2srcO can 'E handle caps video/x-raw(menory:NVMM), dth=(int)12B0, hetght=(Int)960, franerate= (fraction)30/1

Regarding above warning messege, it’s meaning that v4l2src can’t use the video/x-raw(memory:NVMM).
Checked Capabilities of v4l2, video/x-raw(memory:NVMM)isn’t supported.
However we don’t know how to add video/x-raw(memory:NVMM) to Capabilities of v4l2

BR,
A.Hirano

As such, v4l2src only handles buffers in system memory (video/x-raw). You may use element nvvidconv for copying into NVVM memory.

It depends on your running L4T version (see cat /etc_nv_tegra_release). For R35.x it would be 1.16.3.

Also note that omx plugins are deprecated. You may try instead:

gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! video/x-raw,width=1280,heigh=720,framerate=30/1 ! nvvidconv ! nvv4l2h265enc insert-sps-pps=1 insert-vui=1 idrintervale=15 ! h265parse ! ...<whatever_you_wanna_do_with-that_h265_stream>

For more options from nvv4l2h265enc, see:

gst-inspect-1.0 nvv4l2h265enc

Hi Honey_Patouceul-san

Thanks for reply.

As such, v4l2src only handles buffers in system memory (video/x-raw). You may use element nvvidconv for copying into NVVM memory.

Noted. When we will use this nvvidconv command, JAX will encode with DMA, right?

For R35.x it would be 1.16.3.

Which document/web page is descrived this info?

BR,
A.Hirano

I don’t know for official documents, maybe there is a release note mentionning that, not sure.
I just tell from experience. After having flashed and installed a Jetson with JetPack (or SDKM), it should have gstreamer installed, so you can just run (here using R35.3.1):

gst-inspect-1.0 --version
gst-inspect-1.0 version 1.16.3
GStreamer 1.16.3
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0

Honey_Patouceul-san

Noted, thanks for providing valuable information.
I could understand.

BR,
A.Hirano

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.