[mythtv] mythtranscode "missing" cutpoints

Jack Wrobbel mythtv-dev at thewubs.dnsalias.com
Thu Mar 17 05:35:47 UTC 2005


On Wed, 2005-03-16 at 22:38, Chris Pinkham wrote:
> > > As far as I can tell, this is a mythtranscode issue.  In the cutlist 
> > > editor, the cutpoints all look fine, and ffmpeg merely encodes exactly 
> > > what mythtranscode sends it (doesn't have its own cutpoint handling that 
> 
> > I think there needs to be a call to UpdateFramesPlayed in the GetFrame
> > function for each decoder.  Below is the diff for my nuppeldecoder.cpp
> > file.  
> > 
> > The same thing may be necessary for the other decoders.
> 
> Is this tested as working or just an idea?
> 
> I think the code that skips the cutlist for the transcoder uses
> videoOutput->GetLastDecodedFrame()->frameNumber, so I don't think it needs
> the UpdateFramesPlayed() function to be called.

I hadn't noticed the change in TranscodeGetNextFrame from checking
'framesPlayed' to 'videoOutput->GetLastDecodedFrame()->frameNumber'. 

I comment out my change and rebuilt, and nuvexport still works properly.

Sorry I'm not more help.

    Jack



More information about the mythtv-dev mailing list