SlySoft Forum   SlySoft Home

Go Back   SlySoft Forum > Software Talk (english) > AnyDVD HD

Reply
 
Thread Tools Display Modes
  #1  
Old 10th August 2012, 21:41
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default Detecting a 3D disk when inserted

Is there a way for AnyDVD-HD to execute a user-defined application/script when a 3D bluray movie disc is mounted/dismounted? PowerDVD 12 on my machine doesnt automatically select 3D mode when a 3D bluray movie is loaded. It would be nice for AnyDVD to assist in doing this.
Reply With Quote
  #2  
Old 10th August 2012, 21:42
James James is offline
SlySoft Development Team
 
Join Date: Oct 2005
Posts: 15,682
Default

Quote:
Originally Posted by mkanet View Post
Is there a way for AnyDVD-HD to execute a user-defined application/script when a 3D bluray movie disc is mounted/dismounted?
Not yet, but this is actually a nice idea.
__________________
My responses tend to represent myself only and do not necessarily represent the views of SlySoft, Inc. PLEASE POST ALL TECHNICAL PROBLEMS ON THE FORUMS. Thank you.
Reply With Quote
  #3  
Old 10th August 2012, 23:23
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default

The reason I was asking was because my PowerDVD 12 application doesnt seem to detect 3D bluray discs automatically (I have to manually press the 3D button in the UI). Also, with Nvidia drivers, I can't have a working/available 1920x1080@24Hz desktop resolution unless I disable 3D Vision. Im sure other people may have similar reason for wanting such a feature.

I was hoping that AnyDVD could execute something like the below script in anticipation for 3D BD playback...

Code:
start /min /d "C:\Program Files (x86)\NVIDIA Corporation\3D Vision" nvstlink.exe /enable

Reg ADD "HKCU\Software\CyberLink\PowerDVD12" /f /v UI_Enable3D /t REG_DWORD /d 0x0000001 > nul
Reply With Quote
  #4  
Old 12th August 2012, 19:57
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default In the interim.. can I do it myself?

James, until there's a feature that does this, I would like to add code in my AnyDVD-HD Blu-ray/Removal scripts to do this. The only thing I would need is a way to tell which logical drive the bluray disc was just mounted to. Is there an environment variable that does this? Maybe another way? I could easily the below code in my batch AnyDVD-HD Blu-ray external program. Otherwise, I would have to blindly check ALL BD-capable logical drives for a SSIF subdirectory.

It would be cool to use the below 3D detection script to AnyDVD-HD's Blu-ray "Start external Program on Media Change"; if there was an anydvd-hd environment variable called "mounteddrive":

Code:
if exist %mounteddrive%\BDMV\STREAM\SSIF (
    start /min /d "C:\Program Files (x86)\NVIDIA Corporation\3D Vision" nvstlink.exe /enable
    Reg ADD "HKCU\Software\CyberLink\PowerDVD12" /f /v UI_Enable3D /t REG_DWORD /d 0x0000001 > nul
)

I could easily do the same thing in the AnyDVD "Removal" section for the "Start external Program on Media Change..."
Reply With Quote
  #5  
Old 12th August 2012, 21:48
James James is offline
SlySoft Development Team
 
Join Date: Oct 2005
Posts: 15,682
Default

Quote:
Originally Posted by mkanet View Post
James, until there's a feature that does this, I would like to add code in my AnyDVD-HD Blu-ray/Removal scripts to do this. The only thing I would need is a way to tell which logical drive the bluray disc was just mounted to. Is there an environment variable that does this? Maybe another way? I could easily the below code in my batch AnyDVD-HD Blu-ray external program. Otherwise, I would have to blindly check ALL BD-capable logical drives for a SSIF subdirectory.

It would be cool to use the below 3D detection script to AnyDVD-HD's Blu-ray "Start external Program on Media Change"; if there was an anydvd-hd environment variable called "mounteddrive":

Code:
if exist %mounteddrive%\BDMV\STREAM\SSIF (
    start /min /d "C:\Program Files (x86)\NVIDIA Corporation\3D Vision" nvstlink.exe /enable
    Reg ADD "HKCU\Software\CyberLink\PowerDVD12" /f /v UI_Enable3D /t REG_DWORD /d 0x0000001 > nul
)

I could easily do the same thing in the AnyDVD "Removal" section for the "Start external Program on Media Change..."
No, you can't do that. AnyDVD fires the event *before* the disc is made visible to the system. This is done, because operations like display settings should be performed *before* autoplay kicks in.

A small program / script which executes on autoplay should work.
__________________
My responses tend to represent myself only and do not necessarily represent the views of SlySoft, Inc. PLEASE POST ALL TECHNICAL PROBLEMS ON THE FORUMS. Thank you.
Reply With Quote
  #6  
Old 12th August 2012, 22:35
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default

Thanks so much for the tip!

Quote:
Originally Posted by James View Post
No, you can't do that. AnyDVD fires the event *before* the disc is made visible to the system. This is done, because operations like display settings should be performed *before* autoplay kicks in.

A small program / script which executes on autoplay should work.
Reply With Quote
  #7  
Old 12th August 2012, 23:47
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default

James, I was able to successfully autorun to execute my script before launching PowerDVD12 thanks to you.

However, I'm not sure how to change the settings back once the BD disc is dismounted. Is it possible to use AnyDVD-HD "Removal" external program to be executed? I'm guessing that this would work since the disc contents is still available when the anydvd-hd "Removal" event is executed.

I would also be able to grab the logical drive letter the disc is inserted from my autorun script (autoplay "%L" variable).
Reply With Quote
  #8  
Old 18th August 2012, 15:58
mkanet mkanet is offline
Senior Member
 
Join Date: Mar 2008
Posts: 344
Default

Hi James, Im not sure if you're still reading this thread. I decided to just wait/hope for a "3D Blu-ray" media change / execute program feature in AnyDVD-HD. I much more prefer to execute the script as early as possible.

Thanks so much
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:51.


All trademarks are the property of their respective owners.
© 2007–2013 SlySoft Inc.