home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1 EVR Presenter/dshowhelper community development
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mironicus" data-source="post: 632710" data-attributes="member: 69593"><p>You remember that the problem is always solved if you restart a video after a refreshrate change? That is my solution.</p><p></p><p>Mediaportal can run batchfiles to change the refreshrate with external applications. I made batchfiles for all refreshrates that are important.</p><p></p><p>So this is how a batchfile looks now on my system. I have attached a ZIP-file which contains the files</p><p>sample.mkv, 23 Hz.cmd, sleep.exe.</p><p></p><p></p><p></p><p>So what does the script do?</p><p>1) Calls the Catalyst driver to do a refreshrate change.</p><p>2) Right after the refreshrate change the system will wait two seconds (Sleep 2).</p><p>3) Videolan Client starts minimized to play a tiny video (40 ms without any sound).</p><p></p><p>With this script and the provided steps Mediaportal does not stutter anymore right after a refreshrate change. I tested it now for a few days and that never happened again. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>My findings:</p><p></p><p>- The sleep command after the refreshrate change is absolutely neccessary. The system needs a little time to refresh itself. The short videoplayback gets the system in synch again. Right after this Mediaportal plays smooth.</p><p>- During the refreshrate change the TV needs a few seconds to adjust itself, so the little waiting time the script produces does not hurt at all.</p><p>- I tried MediaPlayerClassic instead of VLC in the script but that did not work</p><p></p><p></p><p>What do do:</p><p></p><p>1) You have to make Profiles within the Catalyst driver for every refresh rate. Those files are saved within the folder "C:\Users\<strong>Your_User_Name</strong>\AppData\Local\ATI\ACE\Profiles" as xml-files. To make things easier I just saved the same profile under different names: 23 Hz, 24 Hz, 50 Hz, 59 Hz....</p><p></p><p>2) Edit the XML-Files and search for "RefreshRate". There you can edit and change the refresh rate manually.</p><p></p><p>3) Install VLC 1.05 (not 1.10 because it can not be start minimized with my script) and if you don't want it to be the main mediaplayer just don't let it set any file associations.</p><p></p><p>4) Open VLC and go to "Tools-Preferences". Click "Show all settings" at the buttom of the menu. Click "Playlist" and then "Play and exit". With this option enabled VLC will exit automatically right after playing a video.</p><p></p><p>5) Copy my sample.mkv into the directory "C:\Program Files\VideoLAN\VLC". This is a very short video (22 KB).</p><p></p><p>6) Copy the Sleep.exe into c:\Windows\System32\</p><p> This file was extracted from the official "Windows 2003 Server Resource kit" from Microsoft.</p><p></p><p>7) Edit the provided "23 Hz.cmd" and change the profile name for every desired refreshrate in the second line. Save the file under "24 Hz.cmd", "50 Hz.cmd", "59 Hz.cmd" and so on.</p><p></p><p>8) Setup Mediaportal Configuration to point to the batch files for your desired refreshrates.</p><p></p><p>-----------------------------------------------</p><p></p><p>This hack works perfect for me. The stutter after a refreshrate change could also happen after playing a 24 fps Movie and switching to LiveTV (23,967 Hz -> 50 Hz). That does not happen again with my hack, it works on everything. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="mironicus, post: 632710, member: 69593"] You remember that the problem is always solved if you restart a video after a refreshrate change? That is my solution. Mediaportal can run batchfiles to change the refreshrate with external applications. I made batchfiles for all refreshrates that are important. So this is how a batchfile looks now on my system. I have attached a ZIP-file which contains the files sample.mkv, 23 Hz.cmd, sleep.exe. So what does the script do? 1) Calls the Catalyst driver to do a refreshrate change. 2) Right after the refreshrate change the system will wait two seconds (Sleep 2). 3) Videolan Client starts minimized to play a tiny video (40 ms without any sound). With this script and the provided steps Mediaportal does not stutter anymore right after a refreshrate change. I tested it now for a few days and that never happened again. :D My findings: - The sleep command after the refreshrate change is absolutely neccessary. The system needs a little time to refresh itself. The short videoplayback gets the system in synch again. Right after this Mediaportal plays smooth. - During the refreshrate change the TV needs a few seconds to adjust itself, so the little waiting time the script produces does not hurt at all. - I tried MediaPlayerClassic instead of VLC in the script but that did not work What do do: 1) You have to make Profiles within the Catalyst driver for every refresh rate. Those files are saved within the folder "C:\Users\[b]Your_User_Name[/b]\AppData\Local\ATI\ACE\Profiles" as xml-files. To make things easier I just saved the same profile under different names: 23 Hz, 24 Hz, 50 Hz, 59 Hz.... 2) Edit the XML-Files and search for "RefreshRate". There you can edit and change the refresh rate manually. 3) Install VLC 1.05 (not 1.10 because it can not be start minimized with my script) and if you don't want it to be the main mediaplayer just don't let it set any file associations. 4) Open VLC and go to "Tools-Preferences". Click "Show all settings" at the buttom of the menu. Click "Playlist" and then "Play and exit". With this option enabled VLC will exit automatically right after playing a video. 5) Copy my sample.mkv into the directory "C:\Program Files\VideoLAN\VLC". This is a very short video (22 KB). 6) Copy the Sleep.exe into c:\Windows\System32\ This file was extracted from the official "Windows 2003 Server Resource kit" from Microsoft. 7) Edit the provided "23 Hz.cmd" and change the profile name for every desired refreshrate in the second line. Save the file under "24 Hz.cmd", "50 Hz.cmd", "59 Hz.cmd" and so on. 8) Setup Mediaportal Configuration to point to the batch files for your desired refreshrates. ----------------------------------------------- This hack works perfect for me. The stutter after a refreshrate change could also happen after playing a 24 fps Movie and switching to LiveTV (23,967 Hz -> 50 Hz). That does not happen again with my hack, it works on everything. :D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1 EVR Presenter/dshowhelper community development
Contact us
RSS
Top
Bottom