Not able to resize video frames using mfw_v4lsink

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

Not able to resize video frames using mfw_v4lsink

567 Views
ashutoshpandey
Contributor I

Hi,

I am trying to resize the video frames using mfw_v4lsink in my application , but it's not working.

mfw_v4lsink is giving error : image crop to 0 or image out of screen.

To debug this issue ,  when i tried with gst-launch-0.10, it was working.

gst-launch-0.10 filesrc location=/wfdsink/tools/dump.ts ! tsdemux ! vpudec ! mfw_v4lsink disp-width=800 disp-height=450.

When i changed the video sink to mfw_isink , then my application was able to resize the video frames.

so, why mfw_v4lsink is not able to resize the video frames , while the same thing is working with mfw_isink.

Details :

Screen resolution : 800 x 480

Required playback resolution : 800 x 450

Plugin :

  Name:                 v4lsink.imx

  Description:          v4l2-based video sink

  Filename:             /usr/lib/gstreamer-0.10/libmfw_gst_v4lsink.so

  Version:              3.0.11

  License:              LGPL

  Source module:        gst-fsl-plugins

  Binary package:       Freescle Gstreamer Multimedia Plugins

Pipeline :  Appsrc --- tsdemux --- vpudec -- mfw_v4lsink

Labels (1)
0 Kudos
1 Reply

376 Views
Yuri
NXP Employee
NXP Employee

   Please try using the following as the sink :

imxv4l2sink axis-top=0 axis-left=0 disp-width=800 disp-height=450


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos