if it is related to refresh rate changing, then i suggest making a script that changes the refresh rate then sleeps for 500ms and call that script via mediaportal and disable the refresh rate changing in madvr. i';ve noticed in the past that if you start playing a video before the refresh rate has finished changing it can cause an issue.