videocrop not working with imxvideoconvert_g2d on imx8mp Kirkstone

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

videocrop not working with imxvideoconvert_g2d on imx8mp Kirkstone

605 Views
malik_cisse
Senior Contributor I

Hi,

I am experiencing an issue when using cropping in gstreamer (linux kernel 5.15.60)

This pipeline works just fine:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=YUY2,width=1920,height=1080 ! videocrop top=0 left=0 right=0 bottom=0 ! imxvideoconvert_g2d ! video/x-raw, width=800, height=480 ! waylandsink

whereas this one will lead to a video with artifacts:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=YUY2,width=1920,height=1080 ! videocrop top=0 left=60 right=60 bottom=0 ! imxvideoconvert_g2d ! video/x-raw, width=800, height=480 ! waylandsink

The artifacts are as attached.

I did not have this issue when using earlier kernels (5.4.70). I conclude that this might be introduced in imxvideoconvert_g2d plugin recently.

It does not mater which cropping is set, it never works.

videocrop.jpeg

 Thank you for hints 
M.Cisse

Labels (1)
0 Kudos
Reply
1 Reply

593 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You should try the L5.15.52 BSP it works nicelly and you kernel version is official supported.

Regards

 

0 Kudos
Reply