Access Unit Delimiter in H264 and H265 stream

Hi,

I’m looking for a way to enable Access Unit Delimiter NAL insertion in H264 and H265 streams. Can you please point me to the right API? or any configuration in gstreamer plugin omxh264enc to enable this (similar to insert sps-pps)?

Hi zeitgeist,
We don’t have full implementation for enabling AU delimiter. For a quick solution, please download the souce code and add the line in gstomxh265enc.c/gstomxh264enc.c
oEncodeProp.bInsertSPSPPSAtIDR = self->insert_sps_pps;
oEncodeProp.bInsertAUD = true;

and rebuild, replace /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstomx.so

Hi DaneLLL,

Thanks for the solution. But this fix is not working for H265 encoding. i.e AU Delimiters are inserted in H264 stream , but similar change in gstomxh265enc.c is not enabling AU Delimiter insertion in H265/HEVC stream. Please let me know I need to change something else for it to work.

Hi zeitgeist,
We can observe the issue in H265 encoding and checking internally.

Hi zeitgeist,
On r24.2.1, please replace the prebuilt lib and give it a try
/usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_video.so
libnvmmlite_video.zip (281 KB)