2013-03-09, 15:48
I made a few changes to the RemoveCommercials script, I'll share it here for a while -> http://ubuntuone.com/5VVhAYIp9V0M24yMwxGZPx
I had trouble with the original script not playing nice if running multiple user jobs, so I added nice-ness to the process. I also changed it so that the original file is overwritten instead of being renamed .old. Maybe some other minor changes, can't remember, it's been a while.
I run this script as a MythTV userjob before mythicalLibrarian runs.
I do commercial flagging when the recording starts so, if you want to use this script to run it you will have to un-comment the commercial flagging lines.
On my hardware it takes about five minuets for a thirty minuet recording to complete and file size is reduced by about a third.
As GregoryK said MythTV 0.26 broke the mythtranscode that was a deal breaker for me, sticking with 0.25.
I had trouble with the original script not playing nice if running multiple user jobs, so I added nice-ness to the process. I also changed it so that the original file is overwritten instead of being renamed .old. Maybe some other minor changes, can't remember, it's been a while.
I run this script as a MythTV userjob before mythicalLibrarian runs.
Code:
/path/to/commercialremover.sh %DIR% %FILE% %CHANID% %STARTTIME%
I do commercial flagging when the recording starts so, if you want to use this script to run it you will have to un-comment the commercial flagging lines.
On my hardware it takes about five minuets for a thirty minuet recording to complete and file size is reduced by about a third.
As GregoryK said MythTV 0.26 broke the mythtranscode that was a deal breaker for me, sticking with 0.25.