mindweaver Wrote:The yellow clock is reclock. And it is yellow because it is not able to sync the video to your display. Probably because you are on 60hz and the video is 24p.
I have no idea why it hangs. Check the reclock forum and see if they can help. http://forum.slysoft.com/forumdisplay.php?f=85
I will look at the Reclock forum tonight. But maybe you can give a little bit more instructions what I have to do after configure reclock?
The follow steps I have done now:
- The Runevent.vbs file placed in the installation folder of reclock.
- I replaced this part of the runevent.vbs file for this file Bold items is what I changed:
Code:
If originalPlaybackSpeed="23976" Then
newRefreshRate = "23"
WshShell.Run """[b]C:\Program files (x86)\12noon Display Changer\dccmd[/b]"" -refresh=" & newRefreshRate, 0, true
End If
If originalPlaybackSpeed="24000" Then
newRefreshRate = "24"
WshShell.Run """[b]C:\Program files (x86)\12noon Display Changer\dccmd[/b]"" -refresh=" & newRefreshRate, 0, true
End If
If originalPlaybackSpeed="25000" Then
newRefreshRate = "50"
WshShell.Run """[b]C:\Program files (x86)\12noon Display Changer\dccmd[/b]"" -refresh=" & newRefreshRate, 0, true
End If
WScript.Quit 1
End If
' We quit the player, restore our favorite refresh rate and/or resolution
If eventName = "QUIT" Then
newRefreshRate = "60"
WshShell.Run """[b]C:\Program files (x86)\12noon Display Changer\dccmd[/b]"" -refresh=" & newRefreshRate, 0, true
WScript.Quit 1
End If
WScript.Quit 1
What I don’t understand is what you mean with:
'Make sure you have set up these resolutions/refresh rates in your GPU settings’
Wich resolutions must be added in the settings?
I try the resolutions in the Runevent.vbs file and the 23.976 Hz refresh rate, but the Nvidia Control Panel fails to test it (on Sony Bravia KDL-32V4500 TV).
Is it necessarily required to add resolutions?
Last step is play the movie, and that story is clearly, it hangs after 2 seconds.
The only thing I changed are the bold parts below 'code'. So the Runevent.vbs file looks like the same if your example in the first post.
For a complete overview this is how my Runevent.vbs looks like:
Code:
' -------------------------------------
' 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
'
' ---------------------------------------------------------------------------------------------
' Notifications examples:
' - GREEN CINEMA PCM 1 1 1024x768 72 23976 24000 c:\test.avi : all is good
' - GREEN NTSC PCM 1 1 1024x768 60 29970 30000 c:\test.avi : all is good
' - YELLOW PAL SPDIF 1 1 1024x768 72 25000 25000 c:\test.avi : please switch to a multiple of 25 hz since PAL wants 25 fps
' - YELLOW CINEMA SPDIF 1 1 1024x768 75 23976 23976 c:\test.avi : please switch to 71.928 hz
'
' ---------------------------------------------------------------------------------------------
' 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")
' Obviously we have something to do only if the icon is yellow
If eventName = "YELLOW" Then
If originalPlaybackSpeed="23976" Then
newRefreshRate = "23"
WshShell.Run """C:\Program files (x86)\12noon Display Changer\dccmd"" -refresh=" & newRefreshRate, 0, true
End If
If originalPlaybackSpeed="24000" Then
newRefreshRate = "24"
WshShell.Run """C:\Program files (x86)\12noon Display Changer\dccmd"" -refresh=" & newRefreshRate, 0, true
End If
If originalPlaybackSpeed="25000" Then
newRefreshRate = "50"
WshShell.Run """C:\Program files (x86)\12noon Display Changer\dccmd"" -refresh=" & newRefreshRate, 0, true
End If
WScript.Quit 1
End If
' We quit the player, restore our favorite refresh rate and/or resolution
If eventName = "QUIT" Then
newRefreshRate = "60"
WshShell.Run """C:\Program files (x86)\12noon Display Changer\dccmd"" -refresh=" & newRefreshRate, 0, true
WScript.Quit 1
End If
WScript.Quit 1