Question about imxvideoconvert_g2d with IMX8QM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Question about imxvideoconvert_g2d with IMX8QM

1,296 次查看
dongjin
Contributor II

Hi all,

 

I'm testing with IMX8 QaudMax MEK and OV10635 cameras.

I can run below two gstreamer pipelines and see the fps in the display message.

 

1. gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=NV12 ! fpsdisplaysink

2. gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=NV12 ! imxvideoconvert_g2d ! fpsdisplaysink

 

But when I check fps, case1 is 18 and case2 is 30.

Could you let me know what does imxvideoconvert_g2d do for making fps as 30?

Actually fpsdisplaysink can handle NV12 format so it doesn't need to convert image format to display. But if I skip imxvideoconvert_g2d before fpsdisplaysink, I can see frame drop.

 

I could see below message about imxvideoconvert_g2d in the 'imx8 gstreamer user guide' but I don't know it's related with my problem or not.

'The Amphion VPU IP uses a specific tiling format, so it requires the imxvideoconvert_g2d plugin
usage.'

 

Thanks in advance.

0 项奖励
回复
3 回复数

1,275 次查看
dongjin
Contributor II

Hi @joanxie 

 

I could run both two commands but the results are different.

 

1. gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=NV12 ! fpsdisplaysink

2. gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=NV12 ! imxvideoconvert_g2d ! fpsdisplaysink

 

case 1 is running as 18fps but case 2 is running as 30 fps.

 

Thanks,

Dongjin Ha.

0 项奖励
回复

1,145 次查看
joanxie
NXP TechSupport
NXP TechSupport

I tested on my board,  I didn't find big difference with imxvideoconvert_g2d  or without, and your command is just preview, VPU didn't be used

 

0 项奖励
回复

1,288 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you get the same display result when you use these two commands? I mean that these two commands both work for your camera preview?

 

0 项奖励
回复