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 … 165 166 167 168 169 … 433 Next »
Anyone have a nightly batch of post processing implemented?

Anyone have a nightly batch of post processing implemented?
digiblur
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Feb 2015
#1
2015-03-05, 06:13 PM
So I've been slowly tweaking and fine tuning my NextPVR setup. Excellent software BTW! I've been using it for a while but I finally went full bore and built a HTPC to use it on. Simple i3-4160 with 8TB of hard drive space, 8 gig of RAM, old school HDHomerun dual tuner, and an WinTV card I had to make up my three OTA tuners. Enough about the setup as that's another thread really. I had everything running great for a week, recording with no issues. So I threw in a postprocessing.bat with comskip in it. Well come to find out it was causing the beginning of my recordings to be corrupted. Sometimes it would even lock up NextPVR where I had to exit out of it during playback. After a bit of research I found the pattern. It was on the recordings where another had finished right before it when comskip was running. I was able to reproduce the issue by recording three things from 7p-8p then have a couple of new recordings at 8pm. I'm guessing it was just too much for the drive to handle and data was getting queued up and dropped from the tuner. I turned off comskip and the issue went away. But I want comskip right!?

I tried to do the parallelprocessing.bat file but that seems to have mixed results as for some weird reason comskip would just end in the middle of the show at random times. So I'm circling back to my initial thought of all this to do comskip at night when the PC is idle. It just makes sense to me to do this after 1am or so. Does anyone have anything setup like this already? I was thinking of making an app/script that would look through my folders for non commercial skipped files and run them through in sequential manner.
bobphoenix
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Feb 2015
#2
2015-03-05, 07:10 PM
digiblur Wrote:Does anyone have anything setup like this already? I was thinking of making an app/script that would look through my folders for non commercial skipped files and run them through in sequential manner.
Don't have NextPVR setup yet but you could use DirMon to launch ComSkip. http://www.dragonglobal.biz/dirmon.html
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#3
2015-03-05, 07:53 PM
You could also just tell Comskip to dial back and not hog the system. I have these three lines added to my comskip.ini:

play_nice_start=1400
play_nice_end=2200
play_nice_sleep=10

This tells Comskip to be less aggressive between 1400 and 2200 hrs. (The time my server is most likely to be recording multiple shows).

Those lines may already be in your comskip.ini file but are just commented out. Just remove the comment characters and set the times that work best for you. This way Comskip will still run, it will just take longer to finish and is far less likely to cause problems with other recordings.
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#4
2015-03-05, 08:07 PM
Also check out this thread: http://forums.nextpvr.com/showthread.php?47686&p=387833 In post #52 johnsonx42 posted a batch file that works great at preventing Comskip from having too many instances running (like when several shows end recording at the same time).
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
digiblur
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Feb 2015
#5
2015-03-05, 11:23 PM (This post was last modified: 2015-03-05, 11:31 PM by digiblur.)
HarryH3 Wrote:Also check out this thread: http://forums.nextpvr.com/showthread.php?47686&p=387833 In post #52 johnsonx42 posted a batch file that works great at preventing Comskip from having too many instances running (like when several shows end recording at the same time).

I saw that thread and the cpu options as well but my goal is to do it after primetime recording is done, not during. CPU usage isn't my issue, SATA bottleneck of 3 streams parsing and 3 recording to the same drive.
ga_mueller
Offline

Senior Member

Posts: 471
Threads: 31
Joined: Oct 2009
#6
2015-03-06, 12:03 AM
Have run Comskip for years with zero problems. Using this postprocessing.bat:

cd /d c:\Users\Public\NPVR\Comskip
comskip %1

Also "playing nice" all the time.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#7
2015-03-06, 02:27 AM
Sata should be fine diing 3 recordings and running comskip, maybe your mb or harddruve is the issue look at drivers and check its running at maximum speed some time s they drop to a lower speed when there is a issue
I record upto 8 programs at a time and never have issues running comskip in parallel mode
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#8
2015-03-06, 03:23 AM
digiblur Wrote:I saw that thread and the cpu options as well but my goal is to do it after primetime recording is done, not during. CPU usage isn't my issue, SATA bottleneck of 3 streams parsing and 3 recording to the same drive.
The system in my sig handles all of that and it is far less capable than what you listed above. Wink You just have to prevent Comskip from taking over the system. I limit mine using "play_nice" and I modified johnsonx42's bat file to only allow my system to have ONE instance of Comskip running at a time.
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
digiblur
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Feb 2015
#9
2015-03-06, 02:28 PM
ga_mueller Wrote:Have run Comskip for years with zero problems. Using this postprocessing.bat:

cd /d c:\Users\Public\NPVR\Comskip
comskip %1

Also "playing nice" all the time.

Seems to work about 75% of the time. For some reason comskip just says, yep, the show is done half way through. It doesn't crash or anything. Wish I could figure out why but oh well.

stustunz Wrote:Sata should be fine diing 3 recordings and running comskip, maybe your mb or harddruve is the issue look at drivers and check its running at maximum speed some time s they drop to a lower speed when there is a issue
I record upto 8 programs at a time and never have issues running comskip in parallel mode

HarryH3 Wrote:The system in my sig handles all of that and it is far less capable than what you listed above. Wink You just have to prevent Comskip from taking over the system. I limit mine using "play_nice" and I modified johnsonx42's bat file to only allow my system to have ONE instance of Comskip running at a time.

I've tested the drive up and down and get excellent performance when copying across drives or the network. I suspect since it is just a 5400 rpm drive and not a performance 7200+ rpm drive, all the thrashing from reading and writing multiple streams at once just kills it. The server guy and application programmer guy in me just doesn't like this anyways. It just makes sense to offload the "maintenance" tasks when things are idle at night and let them run sequentially. I didn't want to reinvent the wheel here in case someone else has done it. Looks like I'm off to write a little app to scan my folders and run comksip on the ones that do not have the comskip files with them. Should be pretty simple, schedule it for 1am and rock and roll.
digiblur
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Feb 2015
#10
2015-03-06, 09:48 PM
Wrote my little app to search my NextPVR media files for TS files that don't have an EDL file. Real simple, it drops a batch file with all of them to run comskip on. I just run this in windows scheduler. Spits it out to a log file as well. Problem solved and disk trashing/thrashing issue fixed. Only downside is I have to wait until tomorrow for the shows to be commercial skipped but we rarely ever watch them in the same day anyways.

Fri 03/06/2015,15:21:06.19 - NiteCom found 4 TS files to comskip
Fri 03/06/2015,15:21:06.19 - Start "D:\NextPVR\2 Broke Girls\2 Broke Girls.s04e11.And_the_Crime_Ring.ts"
Fri 03/06/2015,15:25:29.12 - Finish "D:\NextPVR\2 Broke Girls\2 Broke Girls.s04e11.And_the_Crime_Ring.ts"
Fri 03/06/2015,15:25:29.12 - Start "D:\NextPVR\2 Broke Girls\2 Broke Girls.S04E12.And the Knock-Off Knockout.ts"
Fri 03/06/2015,15:29:50.22 - Finish "D:\NextPVR\2 Broke Girls\2 Broke Girls.S04E12.And the Knock-Off Knockout.ts"
Fri 03/06/2015,15:29:50.22 - Start "D:\NextPVR\American Idol\American Idol.S14E18.Top 8 Girls Perform.ts"
Fri 03/06/2015,15:32:08.66 - Finish "D:\NextPVR\American Idol\American Idol.S14E18.Top 8 Girls Perform.ts"
Fri 03/06/2015,15:32:08.66 - Start "D:\NextPVR\Big Bang Theory, The\The Big Bang Theory.S08E17.The Colonization Application.ts"
Fri 03/06/2015,15:36:16.52 - Finish "D:\NextPVR\Big Bang Theory, The\The Big Bang Theory.S08E17.The Colonization Application.ts"
Fri 03/06/2015,15:36:16.52 - NiteCom finished for the night!

On nights there's nothing to process:
Fri 03/06/2015,15:10:13.12 - NiteCom has nothing to do, maybe there is hope tomorrow!

I've got a some error coding to throw in case the TS file couldn't be comskipped an no EDL would be made, but it's done for the most part.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Blaster executable not always processing bishoph 4 1,354 2022-08-07, 09:41 PM
Last Post: mvallevand
  Flashing in on-screen graphics (Windows 10) (Can post logs if needed) bgtees 39 12,592 2020-08-19, 12:38 PM
Last Post: Stanno
  Maximum post-padding value selowan 4 1,552 2019-12-24, 02:42 PM
Last Post: mvallevand
  postprocessing batch to escape special characters donbrew 3 1,709 2019-11-06, 11:29 PM
Last Post: JavaWiz
  HDHR Recordings Include Data From Wrong Channel During Post-Padding BrettB 2 5,197 2019-10-12, 05:34 PM
Last Post: mvallevand
  Can no longer select a batch file as Blaster executable? jksmurf 3 1,481 2019-08-06, 01:23 PM
Last Post: jksmurf
  change post padding minutes are current recurring p37307 4 1,738 2018-02-14, 05:08 PM
Last Post: p37307
  Changing channels in a batch file - how to add a delay wtg 13 5,412 2018-01-04, 02:42 PM
Last Post: PRBUK
  Desktop app crashed & Post update issue with Live TV p37307 5 2,235 2017-07-22, 11:10 PM
Last Post: sub
  No MPEG2 Video Decoder = "disabled" - can't watch OTA TV-post here or "hardware?" bickertn 12 5,640 2016-11-01, 01:22 AM
Last Post: bickertn

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

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

Linear Mode
Threaded Mode