NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 107 108 109 110 111 … 433 Next »
Reschedule Comskip to start later

Reschedule Comskip to start later
kirschey
Offline

Member

USA
Posts: 231
Threads: 62
Joined: May 2005
#1
2016-11-14, 12:21 AM
Hi All

My CPU and harddrive have seen better days and it is time for me to schedule comskip to run later. I tried looking up my old files to no avail and going through the old GBPVR forums had the files removed.

More or less I would like to either run later and one at a time and if possible during if only one show it recording using parallelprocessing.bat of coarse.
Any help would be highly appreciated.
Intel NUC8i7BEH

OLD
Intel Core i3-530 Clarkdale 2.93GHz, ASUS P7H55D-M, 4GB DDR3 SDRAM DDR3 1333, 1.5TB SATA 3.0 HD, Windows 10 Pro, Hauppauge WinTV-HVR-2250 (depreciated), SiliconDust HDHomerun Prime, Harmony One
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#2
2016-11-14, 12:54 AM
I have comskip set in PostProcessing.bat to only run on one file at a time. Here's a script that I got from this forum a few years ago:

Code:
@echo off

cd C:\Users\Public\NPVR\Comskip

echo %date%,%time% - PostProcessing.bat invoked on %1 recorded from channel %2 >>PostProcessing.log

Rem list of channels to not run comskip on; PBS channels have no commercials
if "%2" == "608" goto skip
Rem if "%2" == "28" goto skip

goto next

:skip
echo skipping comskip on %1; channel %2 because it is in skip list >>PostProcessing.log
goto continue

:next
rem need to add a pause to avoid race conditions
echo   ---  sleeping %2 seconds to avoid simultaneous execution >>PostProcessing.log
sleep %2

rem check how many comskips are running; if 1 is already running, wait 1 minute and check again
rem the third parameter passed in npvr 1.5.36 and later is a unique recording oid number, so it makes a good filename to store the temporary count
:check
tasklist | find /c "comskip" > %3.txt
set /p count= <%3.txt
if %count% geq 1 (
  echo ...%count% comskips running now, waiting 1 minute >>PostProcessing.log
  timeout 60
  goto check
)
del %3.txt

rem continuing now

Rem this trick also makes it possible to have dedicated comskip.ini file for certain channels.
rem if "%2" == "79" goto channel79
Rem use the default comskip.ini for all other channels
rem goto generic

rem :channel79
rem comskip --ini=channel79.ini %1
rem goto continue

:generic
echo %date%,%time% - invoking comskip on %1 >>PostProcessing.log
comskip %1
echo %date%,%time% - comskip finished with %1 >>PostProcessing.log

:continue

:eof

You can also set comskip to not be as aggressive with disk usage, using these 3 lines in your comskip.ini file:

Code:
play_nice_start=1800 ; at what time of the day should comskip slow itself down
play_nice_end=2300 ; ending time for self slowing
play_nice_sleep=30
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  All my recordings start 90 sec early ncsercs 2 1,298 2022-03-19, 03:28 AM
Last Post: sub
  Comskip Playback Odd Behavior kirschey 3 1,626 2021-09-27, 06:16 PM
Last Post: sub
  Fast-forward and comskip issues manic_biker 11 3,719 2021-07-12, 02:17 AM
Last Post: Robazz
  Nextpvr GUI and Service will not start bigbigblue 3 1,822 2020-02-18, 01:53 PM
Last Post: bigbigblue
  Start With Remote RTKAT 2 1,402 2020-02-13, 03:59 PM
Last Post: RTKAT
  No video or audio from start of playback smiffypr 8 3,591 2020-02-05, 05:11 PM
Last Post: smiffypr
  Comskip edl files ignored dbguru 3 2,167 2019-10-24, 06:11 PM
Last Post: mvallevand
  Unable to start device Device failed to start cazz 6 2,813 2019-04-29, 07:32 PM
Last Post: cazz
  Black screen at start of play - sometimes Petrovski 7 2,194 2019-03-22, 06:34 PM
Last Post: pBS
  Digital Devices Cine S2 - 'Failed to start device: 0x80004005' solidservo 14 5,419 2019-02-28, 08:59 PM
Last Post: easy74

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode