[mythtv-users] New script to apply cutlist to HD and maybe other recordings
John Pilkington
J.Pilk at tesco.net
Wed Jul 4 17:48:25 UTC 2012
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
More information about the mythtv-users
mailing list