Rishabhp22/stream-ad-auto-muter ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python app that can watch what is on my screen and automatically mute my computer when an ad starts in a video or live stream, then turn the sound back on when the regular content returns.

I want it to use a visual marker like a logo or watermark that I can capture from the video first, then keep checking the screen for that marker in real time. If the marker disappears for a while, the app should assume it is an ad and mute the system audio, then unmute when the marker comes back. Make it lightweight and run from a simple terminal menu with options to capture the marker, start monitoring, test audio, and calibrate the detection. Use OpenCV for the visual matching and Windows audio control for mute and unmute.

Please include some basic settings to reduce false triggers, and make it easy to adjust the sensitivity if needed. If you need to check current library docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab