AW: [mythtv-users] nuvexport MPEG2->MPEG2 cut only audio problem

Bene Martin martin.bene at icomedias.com
Fri Jan 28 00:44:32 EST 2005


> I get the following output when attempting to cut mpeg2 from 
> my nuv file (an hour long TV show).

> Last GOP index -48595 
> Last Frame -728925 

This is most likely the cause for the problem. Nuvexport tries to find
the last frame by reading reading the last gop mark (type 6) from the
recordedmarkup table for the show.

At least with dvb recordings this doesn't work - there are no type 6
entries in recordedmarkup; however there's type 9 (markgopbyframe).

I've changed recordings.pm to use that instead:
 $q2 = "SELECT mark FROM recordedmarkup WHERE chanid=? AND starttime=?
AND type=9 ORDER BY mark DESC LIMIT 1";

Also mpeg2cut needs to be changed because the result above already is a
framenumber:
LASTFRAME=${LASTGOP}

This obviously is just a hack since it breaks compatibility with non-dvb
recordings.

Bye, Martin


More information about the mythtv-users mailing list