I am attempting to stream video and need to use H264 encoding. The following pipeline works:
gst-launch-1.0 nvarguscamerasrc maxperf=1 ! 'video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1' ! nvv4l2h264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000
However, as soon as I swap out the nvv4l2h264enc for omxh264enc, the pipeline no longer works:
gst-launch-1.0 nvarguscamerasrc maxperf=1 ! 'video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1' ! omxh264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000
I see the following error in debug mode:
WARN omxvideoenc gstomxvideoenc.c:1860:gst_omx_video_enc_set_format: Error setting temporal_tradeoff 0 : Vendor specific error (0x00000001)
I need to use omxh264enc, and I have seen similar posts, but I was unable to fix the issue. Can someone confirm that this issue by running the two pipelines above? I have tried on both a TX2 and Xavier running JetPack 4.2.
Thank you.