XBMC Community Forum
[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) (/showthread.php?tid=40136)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


- alienagenda - 2008-11-17 18:11

konfoo Wrote:Yes, provided your external player is capable of offloading decoding to the GPU, ofcourse.


excuse my ignorance. i just assumed vlc, mpc etc. did push the decoding off to the GPU.... i guess i need to look into that a bit further.


new feature? - stiggy - 2008-11-19 04:24

Would it be possible to specify in the configuration a specific file extension that 'triggers' the external player?

I am suggesting that the internal player would still be called unless a match was found on the extension of the media file that was selected to play. For example, send all "VOB" extension files to an external player; otherwise use the internal player.

thanks!


- nugentgl - 2008-11-19 05:14

stiggy Wrote:Would it be possible to specify in the configuration a specific file extension that 'triggers' the external player?

I am suggesting that the internal player would still be called unless a match was found on the extension of the media file that was selected to play. For example, send all "VOB" extension files to an external player; otherwise use the internal player.

thanks!

That is an excellent idea.


- konfoo - 2008-11-19 08:51

Yes this (extensions) is on the to-do list, along with per-extension applications. If you have any feature requests *please* add them to the trac ticket - http://trac.xbmc.org/ticket/5300


- larsson2 - 2008-11-19 18:52

This is a great feature, only I dont get it to work correctly.

First off, when I try to use it with wmp nothing happens. XBMC hangs for a couple of seconds, then nothing.
"Bind" it to VLC instead. The movie plays, but XBMC is on top and I cant watch the movie, only hear it. Only thing I can do is to alt+tab to VLC and alt+f4 to close it (although I never actually see the VLC-gui or the movie). After that i can control XBMC again.

Anyone have any idea?


- konfoo - 2008-11-20 00:42

larsson2 Wrote:This is a great feature, only I dont get it to work correctly.

First off, when I try to use it with wmp nothing happens. XBMC hangs for a couple of seconds, then nothing.
"Bind" it to VLC instead. The movie plays, but XBMC is on top and I cant watch the movie, only hear it. Only thing I can do is to alt+tab to VLC and alt+f4 to close it (although I never actually see the VLC-gui or the movie). After that i can control XBMC again.

Anyone have any idea?

You need to run the launched player in it's equivalent 'fullscreen' mode. MPC (/d3dfs or /fullscreen) and Mplayer (-fs) both work in this way. Reason for doing this - the controls are hidden in the window creation so that you don't see any UI pop over the XBMC screen right before the player starts playing. I'm aiming for a seamless switchover experience.

I have not tested VLC or WMP as of yet.


- nitio - 2008-11-20 03:21

I have no idea why, but I got it working only after I gone to the Play with DVD (which was not the default). And after that, all files play in my preferred player (MPC)


Hooray for a very-welcome patch!


- enkil - 2008-11-20 09:40

Sounds promising. Any chance to get a linux version of your patch any time soon?


- larsson2 - 2008-11-20 19:18

konfoo Wrote:You need to run the launched player in it's equivalent 'fullscreen' mode. MPC (/d3dfs or /fullscreen) and Mplayer (-fs) both work in this way. Reason for doing this - the controls are hidden in the window creation so that you don't see any UI pop over the XBMC screen right before the player starts playing. I'm aiming for a seamless switchover experience.

I have not tested VLC or WMP as of yet.

I'm using the fullscreen-mode; --fullscreen for VLC. Maybe should try with MPC?


EDIT:
Just tested MPC with /fullscreen -switch, same results

<advancedsettings>
<launchplayer>
<defaultplayer>true</defaultplayer>
<filename>c:\Program Files\MPC\mplayerc.exe</filename>
<args>/fullscreen</args>
</launchplayer>
</advancedsettings>

Looks correct?


- konfoo - 2008-11-20 22:00

larsson2 Wrote:Looks correct?

I use /d3dfs. If that still doesn't work make sure XBMC is not running in fullscreen mode (you can't have two applications running fullscreen). You should run it maximized but not fullscreen.