Cbreak: Open Source Commercial Remover for AVI Files

Technology

benjiwenjifoofoo sent a link to Cbreak, a cool tool that automatically removes commercials from AVI files. It works by scanning the AVI for black screens, which typically come before and after a commercial, and divides the AVI into black-seperated segments. Segments that are shorter than some specified length are discarded and the rest of the frames are stitched back together, losslessly. There’s also a manual mode for the chance video where this algorithm doesn’t work perfectly.

If you want to do the same for MPEG files, you can still use this tool by converting the MPEGs to AVIs losslessly using ffmpeg. After using Cbreak, just convert them back to MPEG.

It’s Windows only, but the source is included (GPL) so maybe this could be ported to Mac/Linux as well. Personally, I’d also like to see this modified to automatically remove the sporting event from the super bowl commercials.

Cbreak: Free commercial remover for AVI files –Link.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK