Hi,
Not sure how to do the implementation, but the code should be in gst_omx_h265_enc_handle_output_frame() or gst_omx_video_enc_handle_output_frame(). You may modify it and rebuild/replace libgstomx.so.
Still trying to make it frame aligned.
So far I have compared the buffer before and after ‘h265parse’ plugin. Of-course h265parse is placed before omxh265dec.
And I have also checked the buffer data of vaapih265enc before and after h265parse. I found the data exactly same before and after h265parse plugin. I checked this for ~60 frames in a 30fps streaming.
On the contrary, in case of omxh265enc buffer data differs after h265parse plugin.
I dont know, whether vaapih265enc output is 4-byte alignment or 8-byte-alignment.
If you want, I can share some of its output frame data.
Yes this pipeline is working.
avdec_h265 is CPU based, so has its overhead.
Strange is omxh265dec is not working.
Once my Nano comes, I will install latest L4T. And will check with omxh265enc-nvv4l2h265dec & nvv4l2h265enc-nvv4l2h265dec.
Intention is hardware h265 codec without h265parse.