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
Submit: code patches (MediaPortal/TV-Server/etc.)
Added process priority setting to Comskip Launcher plugin.
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="RonD" data-source="post: 1042211" data-attributes="member: 117536"><p>A couple of comments on adjusting comskip priority. With the stock comskip launcher you can do the following. In these examples I put all the scripts and .exe files in the following folder, you'll need to modify the folder paths for your system</p><p></p><p>My test folder path L:\MePo\comskip81_056</p><p></p><p>make a 1 line RunComskip.cmd file with the following. Use either /LOW or /BELOWNORMAL to lower comskip.exe priority</p><p>start "COMSKIP" /min /I /LOW L:\MePo\comskip81_056\comskip.exe %1</p><p></p><p>use the following for comskip launcher, this starts a cmd.com to run the script and closes the cmd window when done.</p><p>Program: C:\Windows\System32\cmd.exe</p><p>Parameters: /c L:\MePo\comskip81_056\RunComskip.cmd "{0}"</p><p></p><p>since this is just a 1 line command you can also just skip the .cmd file and do the following for comskip launcher and set LOW CPU priority</p><p>Program: C:\Windows\System32\cmd.exe</p><p>Parameters: /c start "COMSKIP" /min /low L:\MePo\comskip81_056\comskip.exe "{0}"</p><p></p><p>On my 5 tuner 4-core IVB i5 system setting comksip to LOW CPU priority works for 2-3 active comskips but have problems if I test with 5 active comskips, 5 active recordings, and watching 1 program on a remote client. To pass this test I also needed to lower the IO Priority. I could not find a way do this with "just scripts", needed to download/use a small IOPriorityV1.1.exe file from sourceforge, and write small vbs script to start comskip at low CPU priority and set IO Priority "VeryLow".</p><p></p><p><a href="http://sourceforge.net/projects/iopriority/" target="_blank">http://sourceforge.net/projects/iopriority/</a></p><p></p><p>I uploaded the vbs script as RunComskip.txt, you'll need to modify the extension to RunComskip.vbs to use it. In the beginning of the vbs script you'll need to modify the strComSkip and strIOpriority "strings" with the path to your .exe files. To use RunComskip.vbs do the following for comskip launcher. Modify paths as needed.</p><p></p><p>Program: C:\Windows\System32\cscript.exe</p><p>Parameters: L:\MePo\comskip81_056\RunComskip.vbs "{0}"</p><p></p><p>With the vbs script I can run 5-10 background comskips while recording 5 shows and watching 1 program on a remote client. Sometimes there a few video glitches when 5 recordings stop, 5 new recordings start, and 5 new comskips start but I can live with the hickups.</p><p></p><p><strong>NOTE: If you go to msg #21 of this thread, there is an updated zip/dll that includes the fixes in the script. I'm using the dll version without problems. Just save the ComSkipLauncher.dll file in the TV Server Plugins folder in case you have a problem and use the new dll.</strong></p></blockquote><p></p>
[QUOTE="RonD, post: 1042211, member: 117536"] A couple of comments on adjusting comskip priority. With the stock comskip launcher you can do the following. In these examples I put all the scripts and .exe files in the following folder, you'll need to modify the folder paths for your system My test folder path L:\MePo\comskip81_056 make a 1 line RunComskip.cmd file with the following. Use either /LOW or /BELOWNORMAL to lower comskip.exe priority start "COMSKIP" /min /I /LOW L:\MePo\comskip81_056\comskip.exe %1 use the following for comskip launcher, this starts a cmd.com to run the script and closes the cmd window when done. Program: C:\Windows\System32\cmd.exe Parameters: /c L:\MePo\comskip81_056\RunComskip.cmd "{0}" since this is just a 1 line command you can also just skip the .cmd file and do the following for comskip launcher and set LOW CPU priority Program: C:\Windows\System32\cmd.exe Parameters: /c start "COMSKIP" /min /low L:\MePo\comskip81_056\comskip.exe "{0}" On my 5 tuner 4-core IVB i5 system setting comksip to LOW CPU priority works for 2-3 active comskips but have problems if I test with 5 active comskips, 5 active recordings, and watching 1 program on a remote client. To pass this test I also needed to lower the IO Priority. I could not find a way do this with "just scripts", needed to download/use a small IOPriorityV1.1.exe file from sourceforge, and write small vbs script to start comskip at low CPU priority and set IO Priority "VeryLow". [url]http://sourceforge.net/projects/iopriority/[/url] I uploaded the vbs script as RunComskip.txt, you'll need to modify the extension to RunComskip.vbs to use it. In the beginning of the vbs script you'll need to modify the strComSkip and strIOpriority "strings" with the path to your .exe files. To use RunComskip.vbs do the following for comskip launcher. Modify paths as needed. Program: C:\Windows\System32\cscript.exe Parameters: L:\MePo\comskip81_056\RunComskip.vbs "{0}" With the vbs script I can run 5-10 background comskips while recording 5 shows and watching 1 program on a remote client. Sometimes there a few video glitches when 5 recordings stop, 5 new recordings start, and 5 new comskips start but I can live with the hickups. [B]NOTE: If you go to msg #21 of this thread, there is an updated zip/dll that includes the fixes in the script. I'm using the dll version without problems. Just save the ComSkipLauncher.dll file in the TV Server Plugins folder in case you have a problem and use the new dll.[/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Added process priority setting to Comskip Launcher plugin.
Contact us
RSS
Top
Bottom