Page 1 of 1

Family Filter e.g. Audio control based on subtitles

Posted: 29 Dec 2016 15:57
by aitte
Hello,
I am looking for a script that can mute the audio based on a DVD's subtitles. e.g. if a profanity word appears the volume will be set to zero for 5 seconds, and then the audio will resume to it's previous position. Subtitles would also need to be replaced on the fly or turned off.
This seems like something that could be done with Lua scripting?

Any API tips or example are appreciated.

Re: Family Filter e.g. Audio control based on subtitles

Posted: 29 Dec 2016 18:26
by mederi

Re: Family Filter e.g. Audio control based on subtitles

Posted: 31 Dec 2016 02:54
by aitte
Very close! Thanks for working on this addon. Unfortunately it doesn't appear to work on GNU/Linux, and also requires downloading external .srt files, rather than reading them from a DVD subtrack (where they already exist)

Re: Family Filter e.g. Audio control based on subtitles

Posted: 31 Dec 2016 14:44
by mederi
The extension should work on Linux, too. Some user reported that it works on OS X and he also wrote the button pressing applescript for it. Then the button pressing shell script came from Japan later on.
You can use any subtitle editor or just an ordinary text editor to prepare an effects script (currently only [SKIP] and [MUTE] are supported) for Subtitler.
DVD subtitles are pictures, not the plain text that could be parsed easily. You can download SRT subtitles for your DVD movie or you can rip the subtrack off the DVD and do the OCR to convert subtitles from images to a SRT text file.
Here is something about EDL: https://en.wikipedia.org/wiki/Edit_decision_list

Re: Family Filter e.g. Audio control based on subtitles

Posted: 15 Jan 2020 22:28
by inieuwoudt1
Not a plugin, but an alternative solution..

https://csharpsoftwareza.blogspot.com/2018/08/movie-profanity-remover.html - Removes the profane words & creates a new clip.
https://csharpsoftwareza.blogspot.com/2019/03/movie-profanity-checker.html - Check a movie for profane words.
A program called UV Media Player on the site removes the profane words while watching.