[mythtv] PATCH: Commercial detection/skip using blank frames

Bruce Markey bjm at lvcm.com
Sat Feb 22 03:47:04 EST 2003


Chris Pinkham wrote:
...
> Jump : 1620
> Blank: 1620 1621 1622
> Jump : 78
> Blank: 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710
> Jump : 890
> Blank: 2600 2601 2602 2603 2604 2605 2606 2607 2608
> Jump : 4971
> 
> That is all the blank frames detected with the amount of non-blank space
> between them listed on the "Jump" lines.  So, I can see a 30 second
> commercial going from around frame 1700 to frame 2600 in this example.
> If you can take that output and send it to me (not the list), then it
> might help in honing the code to do a better job.

Have you considered identifying these frames during recording
rather than playback? A cutlist file could be generated once
so that jumps could be immediate during playback without ever
having to search.

--  bjm



More information about the mythtv-dev mailing list