[mythtv-users] Commercial Flagging (UK, DVB-T)

D. R. Newman d.r.newman at e-consultation.org
Sun Dec 16 23:07:45 UTC 2012


On 16/12/12 22:23, D. R. Newman wrote:
> On 26/10/12 09:22, Tim Phipps wrote:
>
>> My contribution to MythTV is here:
>>
>> http://www.mythtv.org/wiki/Commercial_detection_with_silence_for_UK_freeviewHD

> I tried this, it often works well, but it is not doing the same as
> mythcommflag_wrapper, as it ignores the minimum time for silence.

So I have written mausc2.c (attached) which takes the minimum silence 
into the logic.

However, I wonder if it would be better to simply spit out of mausc the 
periods of silence, then do the logic working out which bits are adverts 
and which bits are programme in python?

David Newman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mausc2.c
Type: text/x-csrc
Size: 3801 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121216/60deda57/attachment.bin>


More information about the mythtv-users mailing list