View Full Version : AutoRefresh: Support Thread
2011-09-25, 02:50 PM
This is the (new) support thread for AutoRefresh (http://www.gbpvr.com/nwiki/pmwiki.php?n=Plugin.AutoRefresh), an NPVR plugin designed to automatically switch your graphics card's video output refresh rate to match the content rate of the video file being played.
If posting bug reports, please ensure to include the log files from either C:\Users\Public\NPVR\Logs or C:\Documents and Settings\All Users\Application Data\NPVR\Logs.
2011-09-27, 03:54 PM
Now back on line at home wid broadband
Couple of observations with the repaint version
1 - on my system it needs about 1500 ms to get the refresh every time - 1000 gets it about 90%
2 - if the settings menu in NPVR is accessed the line in config xml for repaint timing disappears - should it be after the refresh rates or before, or is it something you have to tweak?
2011-09-27, 04:10 PM
Yep, that was a mistake in the test version. There's a full release on the wiki now that remembers (and creates if it doesn't exist) the repaint setting.
2011-09-27, 05:53 PM
Got it seems to do the trick
2012-01-10, 07:43 AM
Just thought I'd say thanks for writing this plugin.
I had some 23.97 videos which always had poor panning on my 50hz TV.
Originally it never worked (would say framerate = 23.97 switching to 60hz, Monitor is now 50Hz) I think due to the fact I had it set as a custom resolution, so there may have been no other refresh rates.
They now play nice & smooth
I tried reclock for this, but it never worked.
Might give it another go, as every so often I see a micro-judder, but not sure if that is because it's playing from the NAS.
thanks again for your work.
2012-01-10, 04:24 PM
I'm surprised ReClock didn't work for you, as it should be able to adjust 23.976fps videos to make them perfectly compatible with 50Hz (performing the same 4% speedup that happens to PAL DVDs).
I'm still having problems myself with the plugin switching to 23.976Hz happily enough, but then I get stuttery video when it returns to 50Hz. More work needed (if I can find the time)...
2012-01-10, 08:06 PM
I suspect it was due to my custom resolution getting in the way the same as it did with autorefresh.
seems autorefresh doesn't play nice with the youtube plugin
2012-02-07 20:34:30.052 [DEBUG] Playing video file: http://o-o.preferred.bt-lhr1.v9.lscache6.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2C itag%2Csource%2Cratebypass%2Ccp&fexp=907605%2C913602&itag=45&ip=22.214.171.124&signature=BB9EFDCE83DFDA2902223FD004C478AFD1FDA20F .6F8DFE919A7A4A89C4278A1348FD0033CAE4F03B&sver=3&ratebypass=yes&source=youtube&expire=1328671372&key=yt1&ipbits=8&cp=U0hRTVZST19MTENOMV9OTFNEOmxreUlLYUVQa240&id=a63c9f3024c0a8a5&quality=hd720&fallback_host=tc.v9.cache6.c.youtube.com&type=video/webm
2012-02-07 20:34:30.270 [DEBUG] AutoRefresh: Checking http://o-o.preferred.bt-lhr1.v9.lscache6.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2C itag%2Csource%2Cratebypass%2Ccp&fexp=907605%2C913602&itag=45&ip=126.96.36.199&signature=BB9EFDCE83DFDA2902223FD004C478AFD1FDA20F .6F8DFE919A7A4A89C4278A1348FD0033CAE4F03B&sver=3&ratebypass=yes&source=youtube&expire=1328671372&key=yt1&ipbits=8&cp=U0hRTVZST19MTENOMV9OTFNEOmxreUlLYUVQa240&id=a63c9f3024c0a8a5&quality=hd720&fallback_host=tc.v9.cache6.c.youtube.com&type=video/webm
2012-02-07 20:34:30.375 [ERROR] Unexpected error: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetDirectoryName(String path)
at AutoRefresh.AutoRefresh.GetFromOverride(String path) in E:\Documents\Documents\Programming\NPVR\AutoRefres h\src\AutoRefresh.cs:line 119
at AutoRefresh.AutoRefresh.Notify(String eventName, Object eventArg) in E:\Documents\Documents\Programming\NPVR\AutoRefres h\src\AutoRefresh.cs:line 60
at NUtility.EventBus.Notify(String eventName, Object eventArg)
at Native.PlaybackNative.PlayVideoFile(IntPtr hwndIntPtr, String filename, String& message)
at NextPVR.Players.PlaybackProxyFactory.StartVideoPla ybackProxy(IntPtr window, String filename, String& reason)
at NextPVR.Players.VideoPlayer.PlayFiles(List`1 playQueue, Int32 playQueueIndex, String& reason)
at NextPVR.Players.VideoPlayer.PlayFile(String filename, String& reason)
at NextPVR.ControllerForm.PlayVideoFile(String filename, Hashtable metadata)
at NextPVR.YouTube.YouTubePlugin.GetRenderList() in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButton ListPlugin.cs:line 567
at NextPVR.ControllerForm.ActivatePopup(IScreenPlugin popup)
at NextPVR.YouTube.YouTubePlugin.NeedsRendering() in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButton ListPlugin.cs:line 157
at NextPVR.ControllerForm.Render(Boolean forceRender)
at NextPVR.Program.Main(String args)
2012-02-07, 09:08 PM
Ok, thanks for letting me know. I'll take a look when I get a chance.
2012-02-18, 09:00 AM
I've uploaded a new version to the wiki (http://www.gbpvr.com/nwiki/pmwiki.php?n=Plugin.AutoRefresh) that should allow it to work fine with the YouTube plugin now. MediaInfo doesn't seem to be able to detect the framerate (at least not with the few videos I tried), but it shouldn't crash out any more.
thanks Iain, will download now and report back if I have any problems.
Powered by vBulletin® Version 4.1.9 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.