How to resize the video in gstreamer-1.0?

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

How to resize the video in gstreamer-1.0?

1,981 次查看
neohong
Contributor I

Hi all,

    Can anybody tell me how to resize the video in gstreamer-1.0 ?

I found that no such elements "mfw_ipucsc" or named begin with "mfw" in my development environment ?

I know the gstreamer have this capabilities ? But I don't know how to use .

Pls help me ,thanks very much!

0 项奖励
回复
4 回复数

1,476 次查看
VilemZ
NXP Employee
NXP Employee

Hi,

for example, you can use this:

gst-launch v4l2src device=/dev/video0 ! mfw_v4lsink device=/dev/video18 disp-width=1920 disp-height=1080

Best Regards,

Vilem

0 项奖励
回复

1,476 次查看
neohong
Contributor I

Thanks ,I have found that v4l2sink has the property to resize the video scale.And I have make it.

0 项奖励
回复

1,476 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you need to resize to output, pls try to use the paramters "disp-width" and "disp-height"

0 项奖励
回复

1,476 次查看
neohong
Contributor I

Thansk a lot

0 项奖励
回复