How to resize the video in gstreamer-1.0?

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

How to resize the video in gstreamer-1.0?

1,449 Views
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 Kudos
4 Replies

944 Views
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 Kudos

944 Views
neohong
Contributor I

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

0 Kudos

944 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos

944 Views
neohong
Contributor I

Thansk a lot

0 Kudos