Linux External Player and Focus
#1
Hi to all!

I've setup an external player as follow:

Code:
<playercorefactory>
<players>
   <player name="mplayer2" type="ExternalPlayer" audio="false" video="true">
     <filename>mplayer</filename>
     <args>-vo vdpau -fs --ontop -vc ffmpeg12vdpau,ffh264vdpau "{1}"</args>
     <hidexbmc>true</hidexbmc>
     <hideconsole>true</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filename=".*" player="mplayer2"/>
</rules>
</playercorefactory>

The problem is the video flickers a lot because the focus seems to jump between XBMC GUI and the video.
Then, only the shortcuts of XBMC are working, the shortcuts of mplayer not. If I reach the main view of XBMC (the video behind continues to flickers) and press "FULLSCREEN", then the video goes smooth, but the shortcuts continue to work only for XBMC (ie I cannot stop the video).
If I execute the video from command line, no problem at all.

Any idea?

I've XBMC 12.2 compiled for A10.

Thank you!

Simon
Reply
#2
Sorry if I top-post this thread but cannot figure out how to solve it.
If only I could get control of the external player would be great. I've replaced the external player with 'smplayer' but when it starts, if I move the mouse, I obtain the XBMC mouse to move, not the smplayer. The issues on the video that continues to flicker (seems to switch endless and very fast between XBMC and external player) still exist.

Please help Smile

Simon

Now the external player looks like this:

Code:
<playercorefactory>
<players>
   <player name="smplayer" type="ExternalPlayer" audio="false" video="true">
     <filename>/usr/bin/smplayer</filename>
     <args>"{1}"</args>
     <hidexbmc>true</hidexbmc>
     <hideconsole>false</hideconsole>
     <hidecursor>false</hidecursor>
     <islauncher>true</islauncher>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filename=".*" player="smplayer"/>
</rules>
</playercorefactory>
Reply
#3
No ideas? Sad
Reply

Logout Mark Read Team Forum Stats Members Help
External Player and Focus0