Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Mon Dec 10, 2018 6:01 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Set Time Limit?
PostPosted: Mon May 22, 2017 11:08 pm 
Offline

Joined: Sat Mar 08, 2014 12:32 am
Posts: 4
Hi -

Is there a setting that can limit how long comskip will work on file? I'd like to have comskip 'give up' after a time I set. I've had bad recordings bring comskip to it's knees and days later I notice nothing is getting processed and when I look into it... comskip is still running an a bad recording from a day or more ago.

So is this possible?


Top
 Profile  
Reply with quote  
 Post subject: Re: Set Time Limit?
PostPosted: Tue May 23, 2017 7:48 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3215
Currently not


Top
 Profile  
Reply with quote  
 Post subject: Re: Set Time Limit?
PostPosted: Tue May 23, 2017 10:44 pm 
Offline

Joined: Mon May 01, 2017 11:03 pm
Posts: 2
you could probably put it in a wrapper script to launch it in the background and monitor if it finishes/kill it after a time. Check Stackoverflow google search results =)

Another thought, I wonder if you could get a sample to post the video with the logs so that it may be able to be debugged as to why it makes it crash


Top
 Profile  
Reply with quote  
 Post subject: Re: Set Time Limit?
PostPosted: Wed May 24, 2017 9:33 pm 
Offline

Joined: Sat Mar 08, 2014 12:32 am
Posts: 4
Well next time it happens I could do that. AFAIK it's always been when the cable went out.. so the file starts with video, and then somewhere inside the cable drops. I think the error was something like "Panic Volume=0" - over and over.


Top
 Profile  
Reply with quote  
 Post subject: Re: Set Time Limit?
PostPosted: Fri Sep 29, 2017 4:14 am 
Offline

Joined: Tue Dec 06, 2011 6:58 pm
Posts: 52
I have a powershell script that runs using Windows task scheduler every night at 12am.

#kill comskip if it is hung
if (Get-Process comskip| where { $_.StartTime -lt (Get-Date).AddHours(-5)} ) {
# PowerShell Kill Process
$process = Get-Process comskip
$process.Kill()
}

Basically it kills any Comskip processes that started more than 5 hours ago.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group