[mythtv] [mythtv-commits] Ticket #6376: Patch to save transcoded recordings

Bill Cizek cizek at rcn.com
Sat Mar 21 17:17:17 UTC 2009

> Why not just change the transcoder to use the new filename for the new 
> (transcoded) file and to copy the original metadata (at least that 
> which applies--so, ignoring recordedseek--which will be generated by 
> the transcoder--and recordedmarkup) for the transcoded copy?  Nothing 
> says that the copy we keep has to have the original filename.  And, 
> though I haven't looked at all the code, I would expect that approach 
> would simplify DuplicateForTranscoding() considerably.
> Mike
Good idea, let me know how that works :)

Actually, Mike, your idea feels cleaner - keep the original file and 
transcode into a new one - but I wanted to avoid screwing up anything 
that assumes the filename doesn't change.  The basic transcode logic is 
the same -- my patch just wraps around it to manage the .old file in a 
different way. So far it works  well enough that I'm kickin' myself for 
not having done this long ago.


More information about the mythtv-dev mailing list