[mythtv-users] New script to apply cutlist to HD and maybe other recordings

David Moore dmoo1790 at ihug.co.nz
Thu Jul 5 00:54:20 UTC 2012


On 05/07/12 05:48, John Pilkington wrote:
> Hi: I have a script that works in a similar way to mythcutprojectx but
> works on recordings in formats for which Project-X cannot be used. I'm
> not sure if it duplicates the function of other packages, and it sounds
> like a throwback to the early days of digital tv, but I get the
> impression that it would be useful.
>
> It just cuts at the keyframe nearest to each edit point, concatenates
> the wanted segments and fixes the database to match. Unlike Project-X it
> makes no corrections for transmission or other errors, and it does
> nothing about AV sync. This doesn't seem to be a problem for dvb
> recordings, where I believe the TS format does that job. The log file
> identifies the edit points in the output file, and sometimes there are
> brief audio glitches there. For dvb recordings, but maybe not for
> locally-encoded ones, keyframes often occur at or near natural edit points.
>
> It comes in two parts; a python module and a bash script that calls it.
> It isn't set up as a real 'user job' script; I run it from a terminal,
> and since I have only used it on my stand-alone laptop it isn't set up
> to use Storage Groups. I don't think it would be difficult to convert it
> to do that, but that isn't how I've used it.
>
> Please note that I'm not a full-time programmer and the usual caveats
> and lack of guarantee will apply.
>
> I've just looked at the wiki but it isn't obvious how I would set up a
> new entry. The last one started life as a contrib script. Combined size
> is under 12 KB. Comments please.
>
> John P

Sounds very similar to something I did in a bash script a couple of 
years ago: https://gist.github.com/507582. Why not post yours on github? 
I think you might need to register to edit the wiki.


More information about the mythtv-users mailing list