Erroneous pipeline: no element "omxh264enc" on Orin

Hello
I am testing IMX 290 on AGX Orin with gstreamer.
Follow by Camera software development solution, gstreamer cmd are run:

gst-launch-1.0 nvarguscamerasrc num-buffers=200 ! 'video/x-raw(memory:NVMM), width=2592, height=1944, framerate=30/1, format=NV10' ! omxh264enc ! qtmux ! filesink location=test.mp4 -e

Gstreamer then report an wanrning:

WARNING: erroneous pipeline: no element "omxh264enc"

gst-inspect-1.0 --version shows:

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

Followed instructions in here, but it’s not helped.

sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt-get update
sudo apt-get install gstreamer1.0-tools gstreamer1.0-alsa \
  gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
  gstreamer1.0-libav
sudo apt-get install libgstreamer1.0-dev \
  libgstreamer-plugins-base1.0-dev \
  libgstreamer-plugins-good1.0-dev \
  libgstreamer-plugins-bad1.0-dev

Is there any plugin to replace it? or is there another cmd to store captured video?

Thanks.

Omx plugins are deprecated. For h264 encoding, use nvv4l2h264enc instead.
Also note that NV10 format is not correct, probably you meant NV12.

Hi Honey_Patouceul
Thank you for your reply. I adjust the command to:

gst-launch-1.0 nvarguscamerasrc num-buffers=200 ! 'video/x-raw(memory:NVMM), width=2592, height=1944, framerate=30/1, format=NV12' ! nvv4l2h264enc ! qtmux ! filesink location=test.mp4 -e

The warning message becomes to:

WARNING: erroneous pipeline: could not link nvv4l2h264enc0 to qtmux0

Dmesg dumps nothing about it.

Thankt you.

Hi,
Please link like:

… ! nvv4l2h264enc ! h264parse ! qtmux ! filelink

Thank you DaneLLL
This works.

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