![]() |
|
|||
|
Re: [addon] PostHaste
all I did was add posthaste.exe into the custompostprocessing.xml file. Then I opened posthaste.exe and added all of the files, in order that I wanted to execute after a show was finished. I told the "cpt".xmt file to run it immediately and posthaste takes over the rest for you.
__________________
AMD Athlon 64 3200, Asus A8N-E, Nvidia 6600 256meg(driver: 84.21), 440 gigs of Seagate HDs (120 for windows, 320 for storage), BT4.4, Firefly remote, Happauge 150, DVICO LITE Fusion5, 40" Samsung 1080P LCD TV |
|
|||
|
Re: [addon] PostHaste
Quote:
THANK YOU!!!
__________________
bits To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. BTV 4.6.1/P4 2.53/1GB/nVidia FX 6200/250GB ATA/80GB ATA/Linspire Server 1.6TB/PVR250/FUSIONHDTV5 USB Gold/Firewire+DCH6416/ADVC-100/(2)Linkplayer2/CS615/XP Pro/SP2 |
|
||||
|
Re: [addon] PostHaste
I'm no expert, but I would bet that it never gets multiple videos passed to it. Instead, BTV would kick off multiple instances of PostHaste which would run in parallel.
__________________
Processor: AMD Athlon 64 XP2 Motherboard: Asus A8N-SLI RAM: 512MB PC3200 (old RAM died) Video: Nvidia Geforce 7800GT Tuners: Avermedia Purity 500 MCE Dual Tuner AvertTV Combo PCIE(M780) HD Tuner Storage: 3+ Terabytes |
|
||||
|
Re: [addon] PostHaste
I have comskip, autoxvid and my own cleanup batch file controlled by PostHaste and have had no problems... Mind you, I only have 2 tuners so there's only so much backlog you can get with that.
Autoxvid ends up queuing things up itself so that's no problem... comskip takes about 7 minutes for a 1 hour show on my setup and my clean up script is just seconds... so I doubt it will ever be a problem for me. However, if your posthaste actions are long running, you may have issues. Geoff
__________________
|
|
|||
|
Re: [addon] PostHaste
can anyone confirm from Snapstream, howCustom post processing is called if their is already an instance of it? IE will two instances of post haste and subsequentyl comskip be running? or is there a queue
__________________
AMD Athlon 64 3200, Asus A8N-E, Nvidia 6600 256meg(driver: 84.21), 440 gigs of Seagate HDs (120 for windows, 320 for storage), BT4.4, Firefly remote, Happauge 150, DVICO LITE Fusion5, 40" Samsung 1080P LCD TV |
|
|||
|
Re: [addon] PostHaste
I'm not entirely sure I understand what you're asking. If you're asking if BTV queues up CustomPostProcessing tasks and kicks them off one at a time, the answer is yes. If you set the CustomPostProcessing tasks to DeferredImmediate or Deferred, it will kick off only one CustomPostProcessing task at a time, one a single-CPU system. On a dual CPU (or dual-core, or Hyperthreaded) system, it will kick off two jobs (on different videos) at a time. If you set your CustomPostProcessing tasks to Immediate, they will simply kick off immediately, regardless of whether other jobs are running on other videos. If you have multiple CustomPostProcessing tasks, they will each have to complete before going on to the next.
I would be willing to bet that PostHaste, itself, probably doesn't implement a queue. It probably just kicks things off whenever they're posted. That said, I have a script that I have written to force only a single Comskip batch process to run at a time (too many running at once were slowing down my BTV Link performance). I have another script that basically forces only one Showsqueeze job at a time, even though I have a dual-core CPU. I implemented this for the same reason and since Showsqueeze is now multi-threaded, it can actually use both cores for a single Showsqueeze job. Since Showsqueeze uses a lot of CPU and memory resources, running multiple Showsqueeze jobs doesn't really interest me, especially since there are probably only minor time savings. If anyone is actually interested, I can post these scripts. I have my CustomPostProcessing to run my waitskip script, then my comskip script, then my waitsqueeze script. All are set to Immediate and basically run one at a time, on every video. Last edited by cmcquistion; 10-04-2006 at 03:30 PM. |
|
||||
|
Re: [addon] PostHaste
Someone PM-d me and asked for the scripts, so here they are:
Here is my "waitskip.bat". I have this set up to basically just wait and then loop if it finds evidence of a comskip process that is running, OR a showsqueeze job is running. The second part is really optional. On my setup, I place Showsqueeze jobs at the highest priority. I want them to get finished as quickly as possible, so I don't even let comskip run and use up CPU resources if there is a showsqueeze job running. Of course, this may or may not be important to the next guy... Quote:
Quote:
Quote:
Here is my CustomPostProcessing.xml file, which shows the various steps, which are all set to Immediate. If they were set to Deferred or Deferred Immediate, then only one level of CustomPostProcessing tasks would be completed at a time on the various jobs. This means that if 3 recordings all finished simultaneously, BTV would launch only the first CustomPostProcessing (waitskip.bat) task on all three videos. Only once all of those were completed, would BTV start launching the second step (comskip.bat). I didn't want that. I wanted everything to launch and run as soon as possible, as long as they don't interfere with each other. By having the waitskip.bat and waitsqueeze.bat files, I make an attempt at ensuring that only one comskip and only one showsqueeze job at a time are launched. This keeps system resources in check. "CustomPostProcessing.xml" Quote:
Last edited by cmcquistion; 10-04-2006 at 04:44 PM. |
|
|||
|
Re: [addon] PostHaste
I am running BeyondTV 4.4.0. I looked in "C:\Documents and Settings\All Users\Application Data\SnapStream\Beyond TV" but there is no file called "CustomPostProcessing.xml" in this directory.
How does one use PostHaste with v4.4? |
|
|||
|
Re: [addon] PostHaste
Read this article in the knowledgebase for information about adding Custom Post Processing tasks:
http://snapstream.helpserve.com/inde...d=1254&nav=0,1 |
|
||||
|
Re: [addon] PostHaste
Hmm, sorry about neglecting the forum for so long =X I wasn't getting email notifications of replies.
Quote:
I did consider having PostHaste act as a queue, but decided against it due to the additional complexity of passing the values between instances. If there's enough interest in this, perhaps I'll start working on the next version.
|
|
|||
|
Re: [addon] PostHaste
actually I keep getting errors in posthaste when I am done recording two shows at a time (dual hauppauge tuners). Posthaste will crash on me
The event log in xp shows this: Code:
Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 9/28/2006 Time: 11:02:20 PM User: N/A Computer: SPARKS Description: EventType clr20r3, P1 posthaste.exe, P2 1.0.0.0, P3 444aa420, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 32f8, P8 21c, P9 system.io.ioexception, P10 NIL. Here it is: ===== 9/28/2006 8:32:08 PM : Loading configuration data from: C:\Documents and Settings\All Users\Application Data\Foundry\PostHaste\1.0.0.0\entries.ph 9/28/2006 8:32:08 PM : Sending the following as arguments: "D:\Video\Snapstream\My Name Is Earl-(Jump for Joy)-2006-09-28-0.mpg" 9/28/2006 8:32:08 PM : Starting D:\Video\Comskip\comskip.bat 9/28/2006 8:32:09 PM : All entries executed. Terminating. 9/28/2006 9:02:06 PM : Loading configuration data from: C:\Documents and Settings\All Users\Application Data\Foundry\PostHaste\1.0.0.0\entries.ph 9/28/2006 9:02:06 PM : Sending the following as arguments: "D:\Video\Snapstream\Smallville-(Zod)-2006-09-28-0.mpg" 9/28/2006 9:02:06 PM : Starting D:\Video\Comskip\comskip.bat 9/28/2006 9:02:06 PM : All entries executed. Terminating. 9/28/2006 10:00:06 PM : Loading configuration data from: C:\Documents and Settings\All Users\Application Data\Foundry\PostHaste\1.0.0.0\entries.ph 9/28/2006 10:00:06 PM : Sending the following as arguments: "D:\Video\Snapstream\CSI_ Crime Scene Investigation (2_2)-(Built to Kill)-2006-09-28-0.mpg" 9/28/2006 10:00:06 PM : Starting D:\Video\Comskip\comskip.bat 9/28/2006 10:00:06 PM : All entries executed. Terminating. 9/28/2006 11:02:10 PM : Loading configuration data from: C:\Documents and Settings\All Users\Application Data\Foundry\PostHaste\1.0.0.0\entries.ph 9/28/2006 11:02:10 PM : Sending the following as arguments: "D:\Video\Snapstream\ER-(Graduation Day)-2006-09-28-0.mpg" 9/28/2006 11:02:10 PM : Starting D:\Video\Comskip\comskip.bat 9/28/2006 11:02:10 PM : All entries executed. Terminating. ===== Edited to add: after reading this thread I checked my CustomPostProcessing.xml file and saw I had the priority set to "Immediate" - I changed just changed it to "DeferredImmediate" and will wait and see if that fixes things. I will report back if it does. Last edited by John Sparks; 10-08-2006 at 02:30 PM. |
|
|||
|
Re: [addon] PostHaste
i would be interested...can anyone confirm this deferredimmediate command?
__________________
AMD Athlon 64 3200, Asus A8N-E, Nvidia 6600 256meg(driver: 84.21), 440 gigs of Seagate HDs (120 for windows, 320 for storage), BT4.4, Firefly remote, Happauge 150, DVICO LITE Fusion5, 40" Samsung 1080P LCD TV |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PostHaste Crashes | ijourneaux | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 2 | 06-22-2007 05:26 PM |
| [addon] What's Up Next | SSDNAdmin | Beyond TV Downloads | 27 | 05-25-2006 01:46 AM |
| Cool addon! | nparker13 | SnapStream Discussion | 9 | 04-27-2005 12:50 PM |
| [addon] Yet Another Web Scheduler | SSDNAdmin | Beyond TV Downloads | 2 | 04-04-2005 12:05 PM |
| Addon | justinalot | Development Discussion | 1 | 03-22-2005 06:48 AM |