Hi Jong, its 100% reproducible. 24fps files change to 24hz ONLY if value is more than 10000. Otherwise, it is flipflopping. I dont know if you know this, but, I have never been been able to successfully use this particular VB script.
I also can consistently use 3500 QuitDelay value in the latest working script (which contains the "Case GREEN" condition. It also used to work consistently perfectly for the last script
before you started making code changes to accommodate for display resolution detection. Unfortunately, I didn't keep a copy of it.
I'm not sure if this is important or not:
Reclock works perfectly and consistently in sageTV when I use the right VB script; however, interestingly, if I dont add
"Set Reclock as preferred renderer (not recommended)" in addition to
"Enable logging", the log doesnt even get created until after I press STOP in sageTV. I HAVE to enable "Set ReClock as preferred renderer (no recommended)" if logging is to be started properly. I dont need to enable "Set Reclock as preferred renderer (not recommended)" for sageTV to use reclock, only if I want to use the log!
Maybe there is something that's interfering with sageTV, reclock, and logging that can't be seen in logging? This would make it difficult to debug. However, at least one thing is for sure, all behavior is 100% consistent; and, this VB script consistently doesnt work with a value less than 10000. Do you think I should just use the latest one with
Code:
Case "NTSC(2x)"
If sourceheight <= 720 Then
newTimings = "59"
Else
newTimings = "59"
End if
Hi. Unfortunately, what your saying does not agree with what is in the log. Were you using the same video for both tests? Is it reproduceable? Can you retest the same video again with the script you say works and send me the scripts you used and a log?
In the log you sent me I can absolutely see why our script did not work. Directshow seems to take two goes at building every graph and then some time trying to find the frame rate (RED state). It simply takes too long for your 4 second delay. Graphbuilding and frame rate detection are variable things. The time taken will change from file to file.
It seems to me that you have found a file that takes longer to get going than 4 seconds allows for, or may do sometimes. Did you try any other delays, or did you jump straight from 4 to 10 secs? It may be that say "6000" might have worked better.
There is no way that using the resolution detection version of the script would have improved how this attempt played out. The script would never have even used the bits of the script that differ - there are no events with NTSC(2x) mediatype, only Cinema. Maybe it was pure chance that one time it just worked and another it just failed.
I am not saying there is not possibly some issue here, but this log surely does not show it, other than the current delay in insufficient, as you yourself noted.