Hi NXP,
I have custom board embeded in Imx8qxp and main purpose is camera streaming is connected to other site with network, So, I have to bring camera stream video format to v4l2h264enc with gstreamer and below is my flow:
capture camera YUYV(1920x1080) -> conversion to NV12 using G2D blitter -> feed to v4l2h264enc
but If i am trying to the above scheme, gstreamer occur negitiation error: doesn't seem to support input video format to V4l2h264enc, so, If i have added "videoconvert" plug before v4l2h264enc, it works, but performance is bad.
When I am using g2d blitter, g2d blitter doesn't make any error, but i am not sure how to operate them in g2d.
camera resolution is 1920x1080 and YUYV, total size is 4147200, but after g2d conversion of YUYV to NV12, total size is 3112960, I think original size of NV12 for this case 3110400 and g2d has added some bytes for it, but i don't know which of bytes are added.
I am using Gstreamer 1.18.
My Questions are
: Why have to need "videoconvert" before v4l2h264enc ? : camera strream has been changed to NV12 video format
: With raw NV12 data streame, Can I get video stream type? because of gstreamer negotiation failure.
: Have Gstreamer 1.8 some of known issues about v4l2h264enc or videoconvert?
I hope you have concerned about my case and give some advices.
Thanks,