I'm using Raspbian on my RPi, first I start a omxplayer instance using following command
Code: Select all
omxplayer --win '0 0 1920 1080' --dbus_name org.mpris.MediaPlayer2.omxplayer1 udp://224.1.1.1:1234
Then occasionally I need to open another omxplayer instance, before that I need to change "org.mpris.MediaPlayer2.omxplayer1" resolution 1920*880 (or any) so I use
Code: Select all
bash dbuscontrolm.sh org.mpris.MediaPlayer2.omxplayer1 setvideopos 0 0 1920 880
This works fine but the problem is this take about 4 seconds to change resolution but I need to change resolution quickly as possible.
Is this the only way to do this or is there any different method to do this? need help
Thanks.