FrostCo / AdvancedProfanityFilter

A browser extension to filter profanity from webpages
GNU General Public License v3.0
163 stars 26 forks source link

Single word audio mute calculation #484

Open mistermorcus opened 1 year ago

mistermorcus commented 1 year ago

:loudspeaker: The Shortcoming

When muting subtitles, whole phrases are muted when there is a single profane word in the subtitle.

:microscope: Describe the solution you'd like

It would be great if the length of the phrase could be calculated in seconds, and the word position could be used to determine an approximate mute point in the position of the subtitles.

:triangular_ruler: Describe alternatives you've considered

Number of milliseconds to mute before and after the offending word could be configured.

:pencil: Additional context

You can see this feature in use by another program that I use for removing profanity from video files. Link to the projects here:

https://github.com/nieuwoudtza/Movie-Profanity-Remover-2.0 https://csharpsoftwareza.blogspot.com/2020/11/movie-profanity-remover-20.html

richardfrost commented 1 year ago

Thanks for the suggestion @mistermorcus. I've been really busy the last few weeks, but I do appreciate your suggestion. I'll take a look at your example and see what I can do over the next few weeks as I have time.