[mythtv] mythtranscode --showprogress

Chris Petersen lists at forevermore.net
Tue Jul 20 11:17:27 EDT 2004


Geoffrey Hausheer wrote:
> I think the right solution is to check the return code (0==all good,
> 1==cutlist-changed, retry, 255=something bad happened)

Unfortunately, I don't know how to do this while reading from a pipe in 
perl.  If anyone who knows if this is possible wants to fill me in, I'm 
all ears.

> Alternatively you could look for 'Transcoding .... done'

This sounds like a good solution.

> As I said, your code should handle the case where the current frame is
> larger than the total frame count, as it is possible for this to
> hapen.

Ok, that's good to know, too.  thanks.

> Yep, I saw this too.  the weird thing is it should have always done
> that, as nothing I changed would have affected this (it was trying to
> write to the nvr, which isn't initialized properly for fifo-out).  I
> have checked in a fix for this.

weird.  oh well, it's fixed.  :)

-Chris


More information about the mythtv-dev mailing list