Kodi Community Forum

Full Version: bluray.iso with external player
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I have a question for using bluray.iso with external player with xbmc gotham.
On my himedia Q10-ii I use xbmc with Himedias Videoplayer as external player (playercorefactory). For almost all videos it works well. For DVD-images I prefer the xbmc-internal-player because of better DVD-navigation. FOR DVD-SD video the performance of the xbmc-DVDPlayer is good enough.

With bluray.iso there are some problems - it does not work. The external player does not start succesfull. The Problem seems to be, that xbmc identifes the *.iso as bluray and starts the internal bluray-menue. Then xbmc starts the external player... but with wrong (additional) parameters.
I'm sure: if xbmc would do nothing special and would only start the *.iso with the external VideoPlayer >> it would work!

When I try the same f.i in ESFileplayer or Mizuu the Videoplayer starts with the bluray-movie.

It should be possible to supress or completely to disable the bluray-Handling of xbmc.

Any idea how to do that?

THANK YOU

SaEt9000
Hi

I thought - this could be easy to solve.
No idea ?

SaEt9000
refer this forum and edit playercorefactory to use external player to play or leave as is

http://forum.xbmc.org/showthread.php?tid=116724
Thanks for your reply.

I now this thread - but it is more a Windows-Pc view.
I tried to write a android script to start the external player. Until now without success.
The routine in xbmc changes the structure for bluray.iso in a bluray-folder structure and starts the BDMV/playlist/*.mlps file. But my external player can not access this file.
The external player has its own routines and it is able to access a bluray.iso or a bluray-folder structure. But it is not able to start successfull the player by accessing the *.mlps or the index.bdmv file.
Thats why I have 2 options:
first: writing a script which changes the path to the file from *.mlps to *.iso . This should be possible, because at the end there is always the same part in the string which has to be deleted and exchanged with ".iso". But I have no idea how to change in android a var-string.

Any Idea?

The other option - I thought the easier way - would be to ignore completely the xbmc-routines for bluray. If xbmc would only transfer the file.name (bluray.iso) like in all other cases (*.mkv. *.avi ...) -I'm sure, it would work. But: how to do that?


SaEt9000
yesterday I made a try with 2 different Versions of xbmc.
I deleted the libblueray.so form the lib-folder. But the effect was in both cases the same: xbmc crashes back to the desktop-icon.
All other functions worked as before...

It should be possible to tell xbmc: "this *.iso is not a bluray", "do not start the blueray-routines" - Start only the external player!

Of course I tried to give the iso a file an other appendix.. (avi, mkv) - It did not help.

SaEt9000
Weary to say so, but without logs, we have no idea on what's happening...
Weary to say so, too, but nevermind if it's Frodo. Nothing will happen there anymore.
ohh ... sorry Blush
I thought that Im not really the first with this problem.

here is a xbmc.log:
http://xbmclogs.com/show.php?id=162357

I tried to start in this case a BD-iso from the local media "matrix_revolutions.iso2: once with the himedia.Videoplayer and once with the MXplayer.
MxPlayer tells: "player can not start the movie". but that is not really a suprise - the player is normally not able to play a BD-file.

The Himedia.Videoplayer starts, but tells then: "confirm". No other information.

As I interprate the log, xbmc extracts the hole BD-structure and delivers the correct ID in the BD-playlist. But the routines of the external player himedia.videoplayer can not identify this ID or mpls-file.
But: the himedia-videoplayer is able to start a BD.iso and uses his own routines to make playing of BD.iso possible.
So it is possible on my player to start a BD.iso from a filebrowser or f.i from app Mizuu.
I'm sure: if xbmc had an option to start BD.iso like any other movie-file, then it would work...

Thank you very much for you help Big Grin

SaEt9000
"playercorefactory.xml" please.
yes, Sir Laugh

here it is:

<playercorefactory>
<players>
<!-- HiMediaVideoPlayer definition -->
<player name="HimediaVideoPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.himedia.android.videoplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>1200</playcountminimumtime>
</player>
<!-- MXPlayer Pro definition -->
<player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
<!-- Android intent -->
<filename>com.mxtech.videoplayer.pro</filename>
<!-- Hide XBMC -->
<hidexbmc>true</hidexbmc>
<playcountminimumtime>1200</playcountminimumtime>
</player>
<player name="HimediaDLNAPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.hisilicon.dlna.player</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
<player name="HimediaPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.hisilicon.android.videoplayer</filename>
<hidexbmc>false</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<!-- Sends audio formats to internal DVDPlayer instead of PAplayer -->
<rule filetypes="aac|ac3|dts|flac|mka|mp3|wav" player="DVDplayer"/>
<!-- rtmp Streams (Ice / Navi-x) -->
<rule protocols="rtmp" player="dvdplayer"/>
<!-- rtsp Streams (Type of internet stream) -->
<rule protocols="rtsp" player="dvdplayer" />
<rule filename=".*youtube.*" player="DVDPlayer"/>
<!-- DVD Images -->
<rule dvdimage="true" player="dvdplayer"/>
<rule dvdfile="true" player="dvdplayer"/>
<rule dvd="true" player="dvdplayer"/>
<!-- Video files -- Default rule: last to ensure above trigger first -->
<rule videoresolution="576" player="dvdplayer"/>
<rule videoresolution="540" player="dvdplayer"/>
<rule video="true" player="HimediaVideoPlayer"/>
</rules>
</playercorefactory>


HimediaVideoPlayer is that player, which works well for a lot of video-files, especially in HD-resolution. I prefer xbmc-player for DVD, SD and DV-avi.

Thanks a lot.

SaEt9000
Did the last information help?

SaEt9000
I like to ask again: is there a chance to find a solution therefore?
It would be a great help for all users of himedia-android-Video-players (Q5, Q10,...)

Thank you
SaEt9000
so.

since the last Gotham Version (beta4) the HW-acceleration for Himedia Q-Boxes is much better. But still it would help, if it would be possible to use external player for blueray as well. As I wrote before: for a test it would be great to access bluray.iso like any other movie-file - without using xbmc-bluray-routines.
Is it not possible to implement that?

Thank you

SaEt9000
may be that some of the specialists or developers here see an option with this part of xbmc.log:

. Does this mean, that instead of the "*.pls"-File the argument for the external player is the "\..\..\movie.iso"? This would be correct - so it should work. I really dont understand why it not works...

Thank you all
SaEt9000

20:18:48 T:1528444712 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
20:18:48 T:1528444712 DEBUG: int CVideoDatabase::GetMovieId(const CStdString&) (bluray://udf%3a%2f%2f%252fmnt%252fsda%252fsda2%252fvideo%252fTEST%252fMATRIX_REVOLUTIONS.iso%2f/BDMV/PLAYLIST/00000.mpls), query = select idMovie from movie where idFile=2001
20:18:48 T:1528444712 DEBUG: int CVideoDatabase::GetEpisodeId(const CStdString&, int, int) (bluray://udf%3a%2f%2f%252fmnt%252fsda%252fsda2%252fvideo%252fTEST%252fMATRIX_REVOLUTIONS.iso%2f/BDMV/PLAYLIST/00000.mpls), query = select idEpisode from episode where idFile=2001
20:18:48 T:1528444712 DEBUG: int CVideoDatabase::GetMusicVideoId(const CStdString&) (bluray://udf%3a%2f%2f%252fmnt%252fsda%252fsda2%252fvideo%252fTEST%252fMATRIX_REVOLUTIONS.iso%2f/BDMV/PLAYLIST/00000.mpls), query = select idMVideo from musicvideo where idFile=2001
20:18:48 T:1528444712 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
20:18:48 T:1528444712 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
20:18:48 T:1528444712 NOTICE: ExternalPlayer Filename: com.himedia.android.videoplayer
20:18:48 T:1528444712 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (true), islauncher (false), warpcursor ()
20:18:48 T:1528444712 NOTICE: virtual bool CExternalPlayer::OpenFile(const CFileItem&, const CPlayerOptions&): bluray://udf%3a%2f%2f%252fmnt%252fsda%252fsda2%252fvideo%252fTEST%252fMATRIX_REVOLUTIONS.iso%2f/BDMV/PLAYLIST/00000.mpls
20:18:48 T:1528444712 DEBUG: PlayBackRet CApplication:TonguelayFile(const CFileItem&, bool) : OpenFile succeed, play state 1
20:18:48 T:1745080880 NOTICE: Thread ExternalPlayer start, auto delete: false
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Player : com.himedia.android.videoplayer
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): File : /mnt/sda/sda2/video/TEST/MATRIX_REVOLUTIONS.iso
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Content:
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Args :
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Start
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Hiding XBMC window
20:18:48 T:1745080880 NOTICE: virtual BOOL CExternalPlayer::ExecuteAppAndroid(const char*, const char*): com.himedia.android.videoplayer
20:18:48 T:1745080880 NOTICE: virtual BOOL CExternalPlayer::ExecuteAppAndroid(const char*, const char*): Failure: 1
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Stop
20:18:48 T:1745080880 NOTICE: virtual void CExternalPlayer:Tonguerocess(): Showing XBMC window
Hi,

in between I found a good working workaround. With the help of XBMC Wrapper or SMB Wrapper (newer version) it is possible to play bluray.iso from local drive or mounted network share on my himedia Q10 with internal player with full functionality. Why it works.. I dont know. :-)
I would expect that this also works on other devices with other internal players which are able to play bluray.iso .

SMB Wrapper or XBMC Wrapper should be instaleld and used like here descriped in this forum.

SaEt9000
So it is possible to use xbmc with himedia video player as the external player to play all videos and bluray.isos from nas now.

Can you please provide a simple guide for this. thanks
Pages: 1 2