The position of video widows is not started at [0,0] by gplayer

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

The position of video widows is not started at [0,0] by gplayer

Jump to solution
652 Views
charleshuang
Senior Contributor II

While playing video by gplayer on Yocto 1.8, the position of video window is not started at [0,0] on the monitor

I used the command:

gplay-1.0 mpeg2sample.mpg --video-sink="imxv4l2sink  overlay-width=600 overlay-height=480"

Are there any advice about the issue?

Thanks

Labels (3)
Tags (2)
0 Kudos
1 Solution
464 Views
joanxie
NXP TechSupport
NXP TechSupport

try to use overlaysink to replace the imxv4l2sink, and try to use the parameter

overlay-top : The topmost (y) coordinate of the video overlay; top left corner of screen is 0...

View solution in original post

0 Kudos
2 Replies
465 Views
joanxie
NXP TechSupport
NXP TechSupport

try to use overlaysink to replace the imxv4l2sink, and try to use the parameter

overlay-top : The topmost (y) coordinate of the video overlay; top left corner of screen is 0...

0 Kudos
464 Views
charleshuang
Senior Contributor II

Hi Guanqiong Xie,

I play this command on Yocto 1.8

gst-launch-1.0 playbin uri=file:///run/media/sda/wetransfer-fd47c1/mpeg2sample.mpg video-sink="imxvideoconvert_ipu rotation=0 ! overlaysink overlay-top=0 overlay-left=0 overlay-width=640 overlay-height=480 display=:0"

The result is

       Black zone is full screen and video is still not started at [0,0] , one video is maybe at [0, 10] and another one is at [5, 0].

      

and  are there any solutions to play video on windows mode of black zone, not full screen ?

0 Kudos