RunEvent και Reclock

17 June 2006
25,397
Αθήνα
Χρησιμοποιώ το ΤΜΤ3 σε συνδυασμό με το Reclock 1.8.5.5 και βάζοντας το script RunEvent στο folder που είναι εγκατεστημένο το reclock, σκοπός είναι να κάνει αυτόματη αλλαγή του refresh rate με το που ξεκινάει το ΤΜΤ3.

Εχω εγκαταστήσει αυτό το Run Event post #141
http://forum.slysoft.com/showthread.php?t=20043&page=15


αλλά το πρόβλημα είναι ότι μόλις ξεκινάει να παίζει το βίντεο στο ΤΜΤ3 , σε 3-4 δευτερόλεπτα παγώνει και κολλάει. Αν δεν υπάρχει το RunEvent , παίζει κανονικά το ΤΜΤ3 χωρίς όμως να κάνει αλλαγή refreshrate.

Φυσικά έχω τσεκάρει την επιλογή στο Reclock settings να τρέχει το VBS.

Η κάρτα γραφικών είναι μια Nvidia ION και βέβαια τρεχει και το AnyDVD λόγω του ότι χρησιμοποιεί το SetDispalyFrequency

Μήπως ξέρετε τι μπορεί να συμβαίνει;
Μήπως το SetDisplayFrequency δεν συνεργάζεται με την Nvidia;
Μήπως είναι λάθος το RunEvent; έχει φτιάξει κανένας σας να αλλάζει αυτόματα το refresh rate στο ΤΜΤ3 με Nvidia;
 
Χρησιμοποιώ το ΤΜΤ3 σε συνδυασμό με το Reclock 1.8.5.5 και βάζοντας το script RunEvent στο folder που είναι εγκατεστημένο το reclock, σκοπός είναι να κάνει αυτόματη αλλαγή του refresh rate με το που ξεκινάει το ΤΜΤ3.

Εχω εγκαταστήσει αυτό το Run Event post #141
http://forum.slysoft.com/showthread.php?t=20043&page=15


αλλά το πρόβλημα είναι ότι μόλις ξεκινάει να παίζει το βίντεο στο ΤΜΤ3 , σε 3-4 δευτερόλεπτα παγώνει και κολλάει. Αν δεν υπάρχει το RunEvent , παίζει κανονικά το ΤΜΤ3 χωρίς όμως να κάνει αλλαγή refreshrate.

Φυσικά έχω τσεκάρει την επιλογή στο Reclock settings να τρέχει το VBS.

Η κάρτα γραφικών είναι μια Nvidia ION και βέβαια τρεχει και το AnyDVD λόγω του ότι χρησιμοποιεί το SetDispalyFrequency

Μήπως ξέρετε τι μπορεί να συμβαίνει;
Μήπως το SetDisplayFrequency δεν συνεργάζεται με την Nvidia;
Μήπως είναι λάθος το RunEvent; έχει φτιάξει κανένας σας να αλλάζει αυτόματα το refresh rate στο ΤΜΤ3 με Nvidia;

Είσαι σίγουρος ότι συνεργάζονται τα "SetDisplayFrequency με το RunEvent"??

Για δοκίμασε χωρίς το anydvd...

Επίσης, άσχετο όμως με το παρόν θέμα, κατέβασε και την καινούρια έκδοση του Reclock, νομίζω 1.8.6.5...
 
Επειδή είμαι πρακτικός άνθρωπος , μπορείτε να μου πείτε τι να διορθώσω από αυτό για να μην χρησιμοποιεί το SetDisplayFrequency;

' -------------------------------------
' Event notification script for ReClock
' -------------------------------------
'
' This script will be called when ReClock change the media adaptation of a played file
' either automatically or after some manual change made in the properties panel
' It is called only for media file which contain a video stream, and when frame rate of this file is known
'
' ---------------------------------------------------------------------------------------------
' The 7 parameters received by this script are explained below:
'
' (1) contains the event name that just occurred:
' - "GREEN" : tray icon just got green (all is fine). Parameter
' - "YELLOW" : tray icon just got yellow. We should make what is necessary
' to change the monitor refresh rate
' - "STOP" : playback just stopped
' - "QUIT" : ReClock is about to quit
'
' Parameters (2), (3), (8) and (9) apply only with "GREEN" and "YELLOW" events. Otherwise they contain "-"
'
' (2) contains the type of media file currently played :
' - "CINEMA" : frame rate of source file is around 24 fps
' - "PAL" : frame rate of source file is around 25 fps
' - "NTSC" : frame rate of source file is around 30 fps
' - "CUSTOM" : frame rate of source file does not fall in previous categories
'
' (3) contains the current sound playback mode (apply only with GREEN/YELLOW event):
' - "PCM" : PCM mode
' - "SPDIF" : AC3 passthrough SPDIF
'
' (4) contains the current monitor selected for playback (1=primary, 2=secondary, etc...)
'
' (5) contains the total monitor count detected in the system
'
' (6) contains the current resolution of your monitor (WIDTHxHEIGHT)
'
' (7) contains the current refresh rate of your monitor (in Hz)
'
' (8) contains the original playback rate of the file (in fps multiplied by 1000)
'
' (9) contains the current playback rate of the file (in fps multiplied by 1000)
'
' (10) contains the filename of the current media file
'
' -------------------------------------------------------------------------
' SetDisplayFrequency Version - Sets refresh rate using SetDisplayFrequency
' -------------------------------------------------------------------------

' Decode the parameters

Set objArgs = WScript.Arguments

If objArgs.Count < 10 Then

MsgBox "Bad argument count !", MB_OK, "ReClock Event Notification"

' We have done nothing. Return 1 to indicate ReClock that the configuration has not changed.

WScript.Quit 1

End If

eventName = objArgs(0)
mediaType = objArgs(1)
soundMode = objArgs(2)
currentMonitor = objArgs(3)
totalMonitorCount = objArgs(4)
currentResolution = objArgs(5)
currentRefreshRate = objArgs(6)
originalPlaybackSpeed = objArgs(7)
currentPlaybackSpeed = objArgs(8)
currentMediaFile = objArgs(9)

' If you need to debug, replace false with true in the following line.

If false Then MsgBox _
eventName & " " & _
mediaType & " " & _
soundMode & " " & _
currentMonitor & " " & _
totalMonitorCount & " " & _
currentResolution & " " & _
currentRefreshRate & " " & _
originalPlaybackSpeed & " " & _
currentPlaybackSpeed, _
MB_OK, "ReClock Event Notification"

Set wshShell = CreateObject("WScript.Shell")

' We will put new refresh rate here if necessary.

newRefreshRate = currentRefreshRate

' Obviously we have something to do only if the icon is yellow.

If eventName = "YELLOW" Then

If currentRefreshRate <> originalPlaybackSpeed Then

Select Case mediaType
Case "CINEMA"
newRefreshRate = "23"
Case "PAL"
newRefreshRate = "50"
Case "NTSC"
newRefreshRate = "59"
End Select

End If

End If

' We quit the player, restore our favorite refresh rate.

If eventName = "QUIT" Then

newRefreshRate = "60"

End If

' Do we have new refresh rate to apply ?

If currentRefreshRate <> newRefreshRate Then

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(&H26&)
Set objFolderItem = objFolder.Self

' Now run SetDisplayFrequency command and wait for it to finish its job.

WshShell.Run """" & objFolderItem.Path & _
"\ReClock\SetDisplayFrequency.exe"" " & newRefreshRate, 0, true

' In case we did a configuration change we MUST return 0 to indicate ReClock it need to recalibrate itself.

WScript.Quit 0

End If

' We have done nothing. Return 1 to indicate ReClock that the configuration has not changed.

WScript.Quit 1
 
Είχα την εντύπωση ότι ο συνδυασμός αυτός δούλευε μόνο με ατι καταλιστ προφιλ η με powerstrip settings. Έχει αλλάξει κάτι και δουλεύει και με NDIDIA τώρα?