You probably are missing the h264parse element in front of the h264enc element. The OMX one has a parser built in (pretty sure) whereas the nvv4l2h264enc does not.
Thanks for the suggestion, but that did not work at all. However, we did put the h264parse after the encoder. Now we are seeing a single displayed frame, not in VLC, but in a gst-launched rtspsrc pipeline. Our pipeline looks like this now:
Hi,
We can observe the issue in using nvvl42h264enc and nvv4l2h265enc. Will check an update.
Please use omxh264enc and omxh265enc in test-launch as a quick solution on r32.2.
I am glad that you also see the behavior – I really did try every possible thing I could think of – even though the omx encoder worked fine. Looking forward for that update. Thank you all.
We will have it included in next r32.3. Sicne it is full open source code, if you need to have the fix on r32.2.1, please fetch the code to apply the patch.