AnsweredAssumed Answered

gst-launch: play video at specific area

Question asked by Bryan Guo on Jun 27, 2013
Latest reply on Jul 1, 2014 by Yixing Kong
Branched to a new discussion

Hi, guys

 

I'm new to gstreamer. I'm now trying to verify the hardware and software decoder. I want to display a video at x=200 y=120 width=400 height=240

The command I used is as bellow:

gst-launch playbin2 uri=file:///tmp/tmp.mp4  video-sink='mfw_v4lsink disp-width=320 disp-height=240 axis-top=120 axis-left=200'

 

The original video is video/x-h264, width=640, height=480. My screen's resolution is 800x480. It scaled to the new size but it still plays at (0,x).(has a shift in Y)

 

I'm using iMX35 platform and the codec is IMX28_10_12_LINUX_MMCODECS.

 

Could you help with this?

 

Many thanks

Bryan

Outcomes