[mythtv-users] Commercial Detection
joenyland at me.com
Thu Mar 8 10:54:37 UTC 2012
On 08 Mar, 2012,at 10:47 AM, Lawrence Rust <lvr at softsystem.co.uk> wrote:
> I use a script based on the wiki article
> www.mythtv.org/wiki/Mythcommflag-wrapper with good success on most UK
> Freesat channels.
> I found that changing the silence threshold to -76 dB from -70
> significantly improved accuracy. Also, decreasing the coalescence time
> from 400 to 360 seconds reduced the prevalence of false positives. The
> last useful tweak is to the awk program to add 'cut to beginning' or
> 'cut to end' without leaving 'dangling' frames.
> This generally leaves a few frames of ads/titles before and after each
> cut. The only annoyance is that the post ad cut doesn't position to a
> keyframe so the cut isn't entirely invisible. I'm working on that and
> back tracking from the start of cut to detect a scene change.
> The script can be found here:
> To run it as a user job, start mythtv-setup and find General/JobQueue
> (Global) and set the Ad-detection command:
> mythcommflag-silence.sh -j %JOBID% -C
> The -C option copies the list to the cutlist.
> mythtv-users mailing list
> mythtv-users at mythtv.org
Spot on! Thanks for this. I'll give it a go if I don't have much luck with the script in the Wiki.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users