[mythtv-users] mytharchive dvd from HD-PVR

Will Dormann wdormann at gmail.com
Mon Jan 24 05:39:06 UTC 2011


On 1/23/11 10:20 PM, Teruel de Campo MD wrote:
> Will,
> 
> You patch is working very well and removing all the cuts. There is a
> problem with the editor that it does not indicated the end of the cut. 
> I have to test also if the beginning of the string is marked. 
> I just did another iso where the cut did not include the end and it work
> perfect.
> Thanks again. As soon as I get one of the new mjpegtools-src I will have
> the whole thing working as expected ;-)


Ok, cool.   I suppose that mythcommflag returns "n-" as "cut from 'n' to
the end of the recording.    But maybe mythtranscode doesn't accept the
same format for the cutlist?   If so, that sounds like a bug.

I tried getting the cutlist for a recording that cuts from the beginning
and to the end, and I get something like:
Cutlist: 422,7918-12929,27516-34783,52741-53341,53491-

But it could be that mythtranscode always expects a pair of values.

A fix for mythburn would be to manually expand the values passed to
mythtranscode.   Cut from the beginning is easy as it would prepend a
"0-" before the first value.   Finding the last frame of a recording is
trickier, but as it turns out mythtranscode accepts a value beyond the
end.  (i.e. you can just specify a value way beyond what any video may use)

So it should be pretty trivial to modify mythburn to handle cutlists
that have cut-from-beginning and/or cut-to-end parts.  I can post an
updated patch if anybody's interested.


-WD




More information about the mythtv-users mailing list