NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 14 15 16 17 18 … 125 Next »
Schedule Comskip to run later?

 
  • 0 Vote(s) - 0 Average
Schedule Comskip to run later?
Anthony
Offline

Member

Posts: 241
Threads: 46
Joined: Mar 2006
#1
2007-12-04, 02:36 AM
I currently have a postprocessing.bat file that runs Comskip on a show, then calls VideoRedo to remove the commercials. This works great.

However, I stream TV shows from my hard drive to a TViX network media player, and if I'm watching a show when Comskip or Video Redo start processing another file, I get lots of stuttering due to the excessive hard drive activity.

So, I'm wondering if there is a way to schedule the postprocessing.bat operations to run at a time later in the evening when we're not watching TV?

Failing that, is there another way to run comskip at a scheduled time and run VideoRedo when it finishes? A program that watches for files in a specified folder maybe?

Thanks,

Anthony
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#2
2007-12-04, 06:29 AM
Running them in low priority does that help? For me it does eliminate stutter due to hard disk activity.

As far as I know comskip runs in low priority anyway I don't know about videoredo. When you invoke them from the command line with the "start /min /low /wait" options it will run in a low priority thread (maybe you have to replace /min by /b which does not run it minimized but in the same dos window).

If that does not help you need to queue the files and run them during the night with ie windows task manager. The wiki has some examples how to queue the files.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#3
2007-12-04, 06:40 PM
i wrote a set of batch files to do this. When it finishes recording it throws the filename in a text file then each morning at 2am it runs comskip, videredo, then compresses them all. For HTPC2 it runs comskip immediately then does the actual cutting and compressing later.

If you want to see/use them let me know and I'll add some comments and attach them.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
Anthony
Offline

Member

Posts: 241
Threads: 46
Joined: Mar 2006
#4
2007-12-05, 05:44 AM
Oz,

Yes, please do share your batch file. It sounds like what I'm looking for.

Thanks,

Anthony
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#5
2007-12-06, 04:37 AM
Here's the batch files. I have a different set that actually checks to make sure the file exists but I have to get those off HTPC2. This one kinda freaks out if the file is MIA when it runs.

Anyway, the PostProcessing.bat is obviously that and it adds to TranscodeQ.txt which is in my C:\HTPC (you can move it anywhere just update the PostProcessing.bat file). Then put the other bat files with the TranscodeQ.txt and at night tell windows scheduler (START>ALL PROGRAMS>ACCESSORIES>SYSTEM TOOLS>Scheduled Tasks) to run transcode.bat

process.bat will need to be edited if you just want to do comskip; i cut the commercials then xvid then rename them all. If you just want comskip then process.bat should just be:
Code:
@ECHO OFF

"C:\Program Files\devnz\gbpvr\comskip.exe" %1

echo %date% %time% Completed comskip on %1 >> transcode_log.txt

If you have questions just post.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
Anthony
Offline

Member

Posts: 241
Threads: 46
Joined: Mar 2006
#6
2008-02-26, 09:51 PM
Oz,

Sorry for the VERY long delay!

I looked at your batch files back in December, and for some reason, I couldn't make any sense of how they were supposed to work. So, I set them aside and forgot about them for a couple months. But, my playback stuttering problems got really bad lately, so I decided to take another look.

I made some modifications to your batch files, since I didn't need the logging or transcoding features. I also added checking for missing files and that sort of thing. Most important, I added an "instructions.txt" file that documents how to set everything up. I did it mostly so I'd remember how to rebuild things if I ever have a problem, but I hope it will be of some use to others as well.

I've been using the new batch setup for the past week, with minor tweaks here and there. I'm happy to report it is all working very well. The only "glitch" I have is the working.txt file won't delete. I'm not sure why, but it gets overwritten on the next scheduled run so it's not an issue.

I'm attaching my version of the three batch files and my instructions text file. Thank you very much for sharing your files and giving me a solution to schedule comskip and videoRedo for running later. It has been quite a learning experience, but it worked out well in the end.

Take care,

Anthony
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Transcode w/ Comskip? pduncan67 1 2,120 2009-11-25, 03:59 AM
Last Post: johnsonx42
  Comskip & Digital? nightwalker 8 3,472 2009-08-29, 06:34 PM
Last Post: nightwalker
  comskip wont run anymore HELP :) DoPeFiSh 1 1,934 2009-07-21, 07:34 PM
Last Post: DoPeFiSh
  Comskip build 0.80.011 Released erik 13 6,147 2009-03-01, 11:36 AM
Last Post: erik
  comskip problem j210277 11 6,153 2009-01-28, 05:25 AM
Last Post: stustunz
  Comskip: Interpreting the aspects file zehd 0 1,562 2008-11-29, 07:41 AM
Last Post: zehd
  Comskip.exe Question spector9 17 9,352 2008-10-28, 03:02 AM
Last Post: reboot
  Comskip quit working DoPeFiSh 5 2,737 2008-10-06, 04:09 PM
Last Post: DoPeFiSh
  YApi2XML Error: Schedule file corrupted or not found jschill 8 4,237 2008-06-17, 11:39 PM
Last Post: zehd
  problem with comskip GUI wannabepvr 3 2,869 2008-06-08, 06:53 AM
Last Post: erik

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

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

Linear Mode
Threaded Mode