Windows HOW-TO play Blu-ray Disc with External Player and auto adjust refresh rate

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
makromorphago Offline
Junior Member
Posts: 47
Joined: Oct 2011
Reputation: 0
Post: #111
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
find quote
clubwerks Offline
Posting Freak
Posts: 824
Joined: Dec 2010
Reputation: 0
Post: #112
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?

[Image: watched-fanart.jpg]
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #113
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.
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #114
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!

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
Nameless_87 Offline
Junior Member
Posts: 11
Joined: Aug 2011
Reputation: 0
Post: #115
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
find quote
HeGetsIt Offline
Junior Member
Posts: 4
Joined: Dec 2011
Reputation: 0
Post: #116
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>
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #117
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.

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
yallah Offline
Senior Member
Posts: 146
Joined: May 2011
Reputation: 0
Location: Cannes, France
Post: #118
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.D88BB641FD27067C3749E23D3​E55E08C9EF7F05F&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
find quote
yallah Offline
Senior Member
Posts: 146
Joined: May 2011
Reputation: 0
Location: Cannes, France
Post: #119
I think i can find solution to my problem but is it possible to play air play via TMT5 or MPCHC??
find quote
amb7247 Offline
Junior Member
Posts: 17
Joined: Dec 2012
Reputation: 0
Post: #120
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.
find quote
Post Reply