About preview with 1080p@30fps with gstreamer 1.x

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

About preview with 1080p@30fps with gstreamer 1.x

1,008 次查看
keitanagashima
Senior Contributor I

Dear All,

I have a question about preview function with FullHD (1080p) @30fps in i.MX6DQ.

I tested the below command with L3.10.18 (gstreamer 0.1x) and succeeded the preview function.

$ gst-launch -v mfw_v4lsrc device=/dev/video1 capture-mode=0 ! mfw_v4lsink disp-width=1920 disp-height=1080

But, in case of L3.14.28 (gstreamer 1.x), the frame rate is too low (about fps (11.091fps)).

$ gst-launch-1.0 imxv4l2src device=/dev/video1 ! 'video/x-raw,format=(string)UYVY,width=1920,height=1080,framerate=(fraction)30/1' ! imxv4l2sink

==X-11 result==

Total showed frames (206), playing for (0:00:18.573332669), fps (11.091).

==fb result==

Total showed frames (203), playing for (0:00:18.273803669), fps (11.109).

Could you tell me the way of preview with 1080p@30fps to HDMI display in gstreamer 1.x?

Best Regards,

Keita

标签 (5)
0 项奖励
回复
6 回复数

784 次查看
antonpavlov
Contributor I

Hi Keita

In case of L3.10.18/gstreamer 0.1x, you are receiving compressed data (MJPEG). In the second case -  L3.14.28/gstreamer 1.x, you switched camera to raw format (UYVY) which requires more resources from the board. So, if you go back to MJPEG, I suppose, you should obtain the frame rate similar to 30.

Regards,

Anton

0 项奖励
回复

784 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you try the unit test? has the same issue?

0 项奖励
回复

784 次查看
keitanagashima
Senior Contributor I

Hi Guanqiong Xie,

Thank you for your reply.

> did you try the unit test? has the same issue?

I haven't tested it by unit test yet.

i.MX6 worked correctly in gstreamer 0.x.

So, I understood that i.MX6 can preview 1080p@30fps.

But, my customer will use the gstreamer 1.x.

Could you tell me the way of preview with 1080p@30fps to HDMI display in gstreamer 1.x?

Best Regards,

Keita

0 项奖励
回复

784 次查看
joanxie
NXP TechSupport
NXP TechSupport

it seems your bsp version is too old, pls upgrate it, gstreamer 1.0 should have better performance than gstreamer 0.1

0 项奖励
回复

784 次查看
keitanagashima
Senior Contributor I

Dear Guanqiong Xie,

>it seems your bsp version is too old, pls upgrate it, gstreamer 1.0 should have better performance than gstreamer 0.1

I didn't understand it. Please see my 1st topic.

I tested with L3.10.18 (gstreamer 0.1x) and succeeded the preview function (about 30fps).

But, in case of L3.14.28 (gstreamer 1.x), the frame rate is too low (about fps (11.091fps)).

Best Regards,

Keita

0 项奖励
回复

784 次查看
joanxie
NXP TechSupport
NXP TechSupport

sorry for my misundersanding, for your second case, pls try to use overlaysink, any improvment?

0 项奖励
回复