Using DMABUF to obtain zero copy with omxh264enc

JK jk.menon at
Tue Jun 30 12:37:52 UTC 2020


I  need to design a pipeline to be run on the Zynq Ultrascale+ MPSoc
platform which basically has a camera src connected via SDI input. 

I will be using the appsrc such that I fetch the frames from SDI path and
push to the appsrc queue, the incoming frame is YUV420/YUV422 10bit/8bit,

Is to possible to use the dmabuf feature with reference to the v4l2src
plugin which exports the dmabuf fd and wraps in the GstMemory passing to
omxh264enc which then import this fd.

I Observed that the current omxh264enc does a copy of incoming frame data to
the omx layer allocated buffer, we need 4K @ 60fps, so to optimize the
pipeline we wish to implement the zero copy pipeline.


Sent from:

More information about the gstreamer-devel mailing list