popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.01k stars 334 forks source link

setvideopos DBus control through dbuscontrol.sh #800

Open BlueBox1 opened 3 years ago

BlueBox1 commented 3 years ago

Hi,

Great software BTW! Using the latest "2021-01-11-raspios-buster-armhf-full" Pi 3b OS edition, we open a stream using the following format: omxplayer --dbus_name org.mpris.MediaPlayer2.omxplayer2 --loop --win 200,700,840,1180 --refresh --no-osd /home/pi/Desktop/test.mp4

Then control the position of the window like so:

dbuscontrol.sh org.mpris.MediaPlayer2.omxplayer2 setvideopos 20,200,660,640

The issue is that the setvideopos does not behave as we expect, sometimes it moves and sometimes it does not and sometimes somewhere other than where we requested.

I've seen older bug fixing in this area, can you tell me if this is a known issue? We do not open full screen, doing so never allows any setvideopos command to work, but this is acceptable.

Thanks in advance for any thoughts or advice. Rich.