Thanks for the replies,

I should probably have made it clear that I'm going to do this programatically, 
i.e. I need to include it with some c-code with a unix daemon (tvpvrd).

The rationale for wanting this is that one of the functionalities of the daemon 
is transcoding and since the daemon collects statistics about how long time it 
takes to do transcoding with diffrent profiles I want to give the user an 
estimate (based on past history) how long it will (roughly) take to encode a 
certain video given it's length (in time) and the  current load on the server.

I guess I could do (for example) a popen() and execute the 'ps-analyzer' 
(thanks 
for the tip!) but that would then require an end user to have that installed in 
order to get this functionality so that is a dependency I would rather avoid.

So It looks like I should review the internals of ps-analyze and try to copy 
the 
parts of the analysis that collects the different frames and calculates the 
overall length ... the kind of code I would have hoped not to have to write :-)

Cheers
Johan



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to