Kodi Community Forum
Win HOW-TO play Blu-ray Disc with External Player and auto adjust refresh rate - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
--- Thread: Win HOW-TO play Blu-ray Disc with External Player and auto adjust refresh rate (/showthread.php?tid=64658)

Pages: 1 2 3 4 5 6 7 8 9


- bluray - 2011-09-06

Aelius Wrote:Hey Bluray,

I went through all your steps in your word doc and tried to play avatar on BD and the screen flashed quickly and that was all, is there anything else you might recommend?
are you referrig to xbmc with external player? you must have missed something somewhere. if you still want the external player to work, i can provide you the longer codes.

Aelius Wrote:Also the pre-eden ver. how far off is it from stable release?

Cheers;
i'm not sure when they are planning to release the eden version. i have been using pre-eden version for a while. it works flawless on all my htpc's and others have great sucess with it too. here is my complete guide on it- blu-ray in 1080p with dts-hd and truehd , and there are some photos included in the last post.


- bodhi - 2011-09-21

Questions regarding protocols="bd" in the playercorefactory.xml code below. What do I use to play an AVCHD DVD? Is there a list of protocols somewhere? my forum searches were not successful for such a list.

Thanks!

mindweaver Wrote:
Code:
<playercorefactory>
  <players>
    <player name="TMTMCEPlayer" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
    <args>"D:"</args>
      <hidexbmc>true</hidexbmc>
      <hideconsole>true</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule name="Blu-Ray" protocols="bd" player="TMTMCEPlayer"/>
  </rules>
</playercorefactory>
Download: playercorefactory.xml



- bluray - 2011-09-21

bodhi Wrote:What do I use to play an AVCHD DVD? Is there a list of protocols somewhere?

Thanks!
you can try pre-eden with this guide: blu-ray in 1080p with dts-hd and truehd, and here are some pre-eden screen shots (post #11). it can playback all bd files (index.bdmv, iso, m2ts, mkv, etc) with dts-hd/truehd. i haven't try it, but it should natively able to playback avchd dvd.


- bodhi - 2011-09-21

bluray Wrote:you can try pre-eden with this guide: blu-ray in 1080p with dts-hd and truehd, and here are some pre-eden screen shots (post #11). it can playback all bd files (index.bdmv, iso, m2ts, mkv, etc) with dts-hd/truehd. i haven't try it, but it should natively able to playback avchd dvd.

Sorry I should have mentioned that I'm on Dharma 10.1. I'm just trying to figure out what are the possible rules that we can use in playercorefactory.xml to play either blu-ray disc or avchd dvd! ATM I'm not ready to upgrade yet to beyond 10.1.

Thanks for your suggestion, though.


- bluray - 2011-09-21

bodhi Wrote:Sorry I should have mentioned that I'm on Dharma 10.1. I'm just trying to figure out what are the possible rules that we can use in playercorefactory.xml to play either blu-ray disc or avchd dvd! ATM I'm not ready to upgrade yet to beyond 10.1.

Thanks for your suggestion, though.
that pre-eden in my guide is easier than any playercorefactory that i made in the past. i have the most expensive tmt5 as an external player, but i prefer the seamless pre-eden over it. since you already have dharma 10.1 installed, you can simply launch pre-eden from pre-eden folder. you might be pleasantly surprised how easy it is to natively playback most files.


Power-DVD plays bd several times after each other - makromorphago - 2011-10-17

Hey.
My playercorefactory seems to be working. When I tell XBMC (Pre-Eden) to play the BD (from the Disc/ROM, so not an iso) PowerDVD starts up. When I close PowerDVD it returns back to XBMC but it will start PowerDVD10 playing the BD several more times. First file it plays is sound.bdmv, after that it starts playing 00000.mpls till 00006.mpls. I only got one bd so far, that is Inglourious Bastards.
Any clue, how to solve this prob and just make xbmc play one disc.
This is my playercorefactory.xml, I tried out many different things so far:
<playercorefactory>
<players>
<player name="Power-DVD" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Users\Der Smo\AppData\Roaming\XBMC\userdata\mountit.bat</filename>
<args>"{1}"</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<playonestackitem>true</playonestackitem>
</player>
</players>
<rules action="prepend">
<rule name="Blu-Ray" protocol="bd" player="Power-DVD"/>
<rule filetypes="bdmv" filename="index.bdmv" player="Power-DVD"/>
</rules>
</playercorefactory>

The mountit.bat just has this command:
"C:\Program Files (x86)\CyberLink\PowerDVD10\PowerDVD Cinema\PowerDVDCinema10.exe" I:, with I: my BD-ROM.
Is this something specific for this bd I use or did I do something wrong?
Thx in advance


- clubwerks - 2011-11-19

spleeker Wrote:hey guys-

this thread really helped me take the next step in xbmc so i appreciate the work...but now i have a question-

i have been converting some of my bd collection to my hard drive and have been doing a direct copy with the full folder structure...not using ISO...

so now that i have the 'play disc' function working for a bd in my optical drive...the new rules have caused my full folders to be ignored by xbmc...and its pretty obvious that once you define your optical drive letter in <args> that you are killing playback of bd folders on your hard drive...so i figure just set up another external player in playercorefactory and use my normal batch file to call tmt5....but the files still won't play...i guess its because they both look for the same bdmv filetype and that cant be good...i just dont understand why xbmc is so oblivious to your 'play disc' optical drive until it is defined in the external player <args>...i'm not understanding why you cant just define the drive(s) xbmc associates with 'play disc' elsewhere and have a single external player in playercorefactory...and when you launch a file...xbmc just shoots the address to the external player so theres no drive confusion...posting my playercorefactory so point out mistakes if u see them....and can this be fixed or do i need to start ripping to ISO and set up a rule for that?

playercorefactory-

<players>

<player name="TMT5disc" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
<args>"D:"</args>
</player>

<player name="TMT5folder" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.cmd</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>

</players>

<rules action="prepend">
<rule name="Blu-Ray" protocols="bd|dvd" player="TMT5disc"/>
<rule filetypes="bdmv|ifo" player="TMT5folder"/>
</rules>

-------------------
uMCEPlayer5.cmd -

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "%~dp1"

thanks for your time

Just wanted to note that this setup works perfectly.

Another thing to note, if XBMC is not picking up your BD-ROM drive and putting the Play Disc dialog on the main menu when you insert a disc, the BD-ROM needs to be lettered first among multiple drives. If you have a BD-ROM and a CD-ROM, for example, the BD would need to be D: if the CD-ROM were E:. Weird I know. Guess how long it took me to figure that out?


- Roman_V_M - 2011-11-23

I personally use the following setup for BluRay folders and ISOs with TMT 5:
First, I use 2 cmd scripts to open folders and ISOs respectively.
bd.cmd:
Code:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
rem you can place the shortcut anywhere
"c:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.lnk" %pth%
exit
For ISOs your will need Daemon Tool lite to mount them to a virtual BD-ROM.
bd-iso.cmd:
Code:
@echo off
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1000 127.0.0.1 > nul
rem you can place the shortcut anywhere
rem put your drive letter in the command below
"c:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.lnk" G:\
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
exit
I use a Windows shortcut to TMT5-WMC plugin (uMCEPlayer5.exe) which has controls similar to XBMC. Don't forget to choose "maximized" in the shortcut properties.
And playercorefactory.xml is the following:
Code:
<playercorefactory>
<players>
  <player name="TMT5" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your cmd anywhere -->
   <filename>c:\Users\Roman\AppData\Roaming\XBMC\userdata\bd.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
  <player name="TMT5-ISO" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your cmd anywhere -->
   <filename>c:\Users\Roman\AppData\Roaming\XBMC\userdata\bd-iso.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
</players>
<rules action="prepend">
  <rule filetypes="bdmv" player="TMT5"/>  
  <rule filetypes="ISO|iso" filename=".*BD.*|.*BD3D.*|*3D*.*" player="TMT5-ISO"/>
</rules>
</playercorefactory>
Also don't forget to choose the option: "Use a fullscreen window rather than true fullscreen". Otherwise XBMC locks the screen and blocks external players from running.


- bluray - 2011-11-23

Roman_V_M Wrote:I personally use the following setup for BluRay folders and ISOs with TMT 5:
First, I use 2 cmd scripts to open folders and ISOs respectively.
bd.cmd:
Code:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
rem you can place the shortcut anywhere
"c:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.lnk" %pth%
exit
For ISOs your will need Daemon Tool lite to mount them to a virtual BD-ROM.
bd-iso.cmd:
Code:
@echo off
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1000 127.0.0.1 > nul
rem you can place the shortcut anywhere
rem put your drive letter in the command below
"c:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.lnk" G:\
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
exit
I use a Windows shortcut to TMT5-WMC plugin (uMCEPlayer5.exe) which has controls similar to XBMC. Don't forget to choose "maximized" in the shortcut properties.
And playercorefactory.xml is the following:
Code:
<playercorefactory>
<players>
  <player name="TMT5" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your cmd anywhere -->
   <filename>c:\Users\Roman\AppData\Roaming\XBMC\userdata\bd.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
  <player name="TMT5-ISO" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your cmd anywhere -->
   <filename>c:\Users\Roman\AppData\Roaming\XBMC\userdata\bd-iso.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
</players>
<rules action="prepend">
  <rule filetypes="bdmv" player="TMT5"/>  
  <rule filetypes="ISO|iso" filename=".*BD.*|.*BD3D.*|*3D*.*" player="TMT5-ISO"/>
</rules>
</playercorefactory>
Also don't forget to choose the option: "Use a fullscreen window rather than true fullscreen". Otherwise XBMC locks the screen and blocks external players from running.
+1, i used these codes with my tmt5 before i converted myself to pre-eden in july. it worked great!


- Nameless_87 - 2011-12-03

Hi,

My Hardware (for reference):
i3 2100
Asus Gene-Z mATX
4GB XMS3 RAM
1GB EVGA GTX 460 SC
Seasonic M12 II 520W PSU
Lian Li PC-C50B case

I am using XBMC with TMT5 as external player for dvds and blu-ray.
I used the settings you suggested in the OP, however I have a problem.

The normal resolution is 1080p @60Hz.

I am using ReClock with Display Changer so that when TMT5 starts it reads the input and changes the resolution and refresh rate according to what the input source is.
For example for a blu-ray it sets the NVIDIA GTX460 to 1080p @23HZ (23.976p). The refresh rate is changed fine, however the video in TMT5 stutters heavily. It is like it is in slow motion, but audio seems fine.
The playback is fixed if I Alt+Tab to Task Manager or Nvidia Settings window and Alt+Tab back to TMT5.

Any idea what is causing this?

PS: I do not have an AVR and speakers yet, so sound is coming from the TV speakers.
Also, in ReClock I left everything as default except for the things in the OP.

Thanks


PwrDVD 10 being opened but not playing file - HeGetsIt - 2011-12-09

Hey Guys - For whatever reason, I'm getting poor playback of video and audio files on my HDD from within xbmc;so, I've been working on setting it up to call PowerDVD 10 (which works fine on my sys) instead.

I've got xbmc to open PowerDVD when I click Play; but, the movie doesn't start within PowerDVD.

Any suggestions would be appreciated. Here's my playercorefactory (the IE is for Netflicks)

<playercorefactory>
<players>
<player name="IE" type="ExternalPlayer">
<filename>..\iexplore.exe</filename>
<args>-k "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="PwrDVD" type="ExternalPlayer">
<filename>..\CyberLink\PowerDVD10\PDVDLaunchPolicy.exe</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1200</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule video="true" player="PwrDVD">
<rule name="html" filetypes="html" player="IE" />
</rule>
</rules>
</playercorefactory>


- bluray - 2011-12-12

Nameless_87 Wrote:Hi,

My Hardware (for reference):
i3 2100
Asus Gene-Z mATX
4GB XMS3 RAM
1GB EVGA GTX 460 SC
Seasonic M12 II 520W PSU
Lian Li PC-C50B case

I am using XBMC with TMT5 as external player for dvds and blu-ray.
I used the settings you suggested in the OP, however I have a problem.

Thanks
You have a very nice HTPC. You can try my complete external codes for TMT5. All you have to do is download it and place it in the proper roaming directory- Another External Player Code, but Very Simple to Setup.


- yallah - 2011-12-19

Hi,

I have big problem, my setup was very nice until today because i found bug. If i watch movie in TMT5, and after (without stop movie) i send video from ipod to XBMC. Xbmc crash....

Code:
23:31:10 T:2932  NOTICE: ExternalPlayer Filename: C:\Program Files\AutoFrequency\AutoFrequency.exe
23:31:10 T:2932 WARNING: ExternalPlayer: invalid value for warpcursor: none
23:31:10 T:2932  NOTICE: ExternalPlayer Tweaks: hideconsole (true), hidexbmc (true), islauncher (false), warpcursor (none)
23:31:10 T:2932  NOTICE: CExternalPlayer::OpenFile: smb://SERVERLAX/videos/Batman & Robin (1997)/BDMV/index.bdmv
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Player : C:\Program Files\AutoFrequency\AutoFrequency.exe
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: File   : \\SERVERLAX\videos\Batman & Robin (1997)\BDMV\index.bdmv
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Content:
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Args   :  "{0}"
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Start
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Releasing audio device 2
23:31:10 T:5604  NOTICE: CExternalPlayer::Process: Hiding XBMC window
23:31:10 T:5604  NOTICE: CExternalPlayer::ExecuteAppW32: C:\Program Files\AutoFrequency\AutoFrequency.exe "C:\Program Files\AutoFrequency\AutoFrequency.exe"  "\\SERVERLAX\videos\Batman & Robin (1997)\BDMV\index.bdmv"
23:31:22 T:2932  NOTICE: DVDPlayer: Opening: http://redirector.c.youtube.com/videoplayback?id=f2e2cfb660aba10f&itag=22&source=youtube&uaopt=no-save&el=related&client=ytapi-apple-ipad&devKey=AdW2Kh1KB1Jkhso4mAT4nHgO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1326838488&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=705219C6722CB5041A94FC30C6165C428942D884.D88BB641FD27067C3749E23D3E55E08C9EF7F05F&key=yta1
23:31:22 T:2932 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:31:22 T:6048  NOTICE: Creating InputStream
23:31:22 T:5604  NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0
23:31:22 T:5604  NOTICE: CExternalPlayer::Process: XBMC cannot stay hidden for a launcher process
23:31:22 T:5604  NOTICE: CExternalPlayer::Process: Stop
23:31:22 T:5604  NOTICE: CExternalPlayer::Process: Showing XBMC window
23:31:22 T:5604  NOTICE: CExternalPlayer::Process: Restoring cursor to (1885940848,1937008994)
23:31:22 T:5604  NOTICE: CExternalPlayer::Process: Reclaiming audio device 2
23:31:22 T:6048  NOTICE: Creating Demuxer
23:31:22 T:5604   ERROR: CThread::staticThread : Access violation at 0x018c273c: Reading location 0x35b535b5
23:31:22 T:5604   ERROR: CThread::staticThread : Access violation at 0x0173d094: Reading location 0x72696471

thx for your help


- yallah - 2011-12-20

I think i can find solution to my problem but is it possible to play air play via TMT5 or MPCHC??


RE: [WINDOWS] HOW-TO play Blu-ray Disc with External Player and auto adjust refresh rate - amb7247 - 2012-12-24

Hey guys. I just installed powerdvd 12 ultra and I got it to load exeternally in xbmc. However, how can I make it so it launches and plays the movie automatically?

I have a bd.com with the following:

@echo off
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" H:

my playercorefactory.xml contains:

<playercorefactory>
<players>
<player name="PWDVD" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Users\Aaron\AppData\Roaming\XBMC\Play_BD\BD.cmd</filename>
<args>""H:\" {1}"</args>
<forceontop>true</forceontop>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="iso" player="PowerDVD"/>
<rule filename=".*index.bdmv" player="PWDVD"/>
<rule filetypes="(avi|mkv)" filename=".*(DROBOFS|drobofs).*" player="PWDVD"/>
</rules>
</playercorefactory>

I know I can hit the play button in powerdvd but I was curious if there is anything else I can do.

Thanks.


This forum uses Lukasz Tkacz MyBB addons.