Hardware accelerated gstreamer pipeline


I have been trying to find a solution to this for the past few weeks or so, but to no avail. I am trying to record video from multiple cameras, tile all of the video streams into one, then encode it into h264 or h265, and save to file. Either works, but preferably h265 would be better.

My issue is that I am looking to get a gstreamer pipeline that makes use of as many hardware accelerated gstreamer plugins as possible, as there will be six cameras operating in this pipeline. I have been able to use nvv4l2h265enc, filesink, and glvideomixer individually to achieve each part of the pipeline, but I don’t think it’s the best choice. Also, I have not been able to build one pipeline to use them all at once.

Does anyone have any recommendations? We will be using IMX530 sensors, and looking to record and encode as high a resolution as possible (width=4064 is the highest observed currently using nvv4l2h265enc).