Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Thu May 23, 2013 4:24 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Dec 05, 2007 2:21 am 
Offline

Joined: Sun Oct 29, 2006 3:39 am
Posts: 11
When Comskip loads an MPEG file, is it able to detect the total number of frames in the file or does it need to decode the entire clip and count the frames?

If it's possible to detect the total number of frames at the beginning, would it be possible to add a Percent progress in the output?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 07, 2007 3:16 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 2440
I realy would like to be able to do that.
However there are two methods to do that, each with their specific problem.

1: Look at the start and end PTS. When the PTS is contiguous that is the perfect method but some recordings have one or more PTS discontinueties
2: Use the file size and file position. Some recordings have large empty chunks at the start or the end of the recording. Will consider it if that is OK?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 16, 2007 1:23 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 2440
Build 113 writes progress including % of work done to stderr
This does not work when processing during recording


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:  
Powered by phpBB® Forum Software © phpBB Group