Hello nxp,
In imx8qm, we apply gstreamer for Video streaming.
We found there is memory leak with below two pipelines, and after remove red part(imxvideoconvert_g2d ! 'video/x-raw,width=640,height=368,framerate=(fraction)25/1'), memory leak issue gone.
Could you give some advice for this imxvideoconvert_g2d memory leak issue?
There is two pipelines,
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=dmabuf ! 'video/x-raw,format=(string)YUY2,width=1280,height=720,framerate=(fraction)25/1' ! imxvideoconvert_g2d ! 'video/x-raw,width=640,height=368,framerate=(fraction)25/1' ! videoconvert ! v4l2h264enc output-io-mode=dmabuf ! rtph264pay ! udpsink port=26369 buffer-size=5000000
gst-launch-1.0 udpsrc address=localhost buffer-size=9000000 port=26369 ! 'application/x-rtp,encoding-name=H264' ! rtph264depay ! flvmux streamable=true ! rtmpsink location=rtmp://170.255.0.6:6012/livertmp/HIRAIN0DT0TEST001-1
Thanks
yuchao