Theclosest I could get at is by using MPC-HC, adding a dummy srt (subs) file for the video and enabling the Subresync option (as shown at -
hc.org/ticket/3700). This shows the desired format of mm:ss.SSS. But creating a dummy srt (which should contain at least 1 subtitle entry in order for the Subresync option to be enabled) is cumbersome.
A time consuming method to get time in milliseconds at some point in a video file via VLC is to make a fake subtitle file at/around the time in question, then change delay (50 milliseconds) to get frame time to the nearest 50ms.
You are entitled to your opinion, and I am sure you are right for you. But that does not apply to everyone and I doubt anyone asked. This is a request by those of us who (obviously) do care about the issue. If they are just words, then, you should complain to Emby forum admins as such language we want to get rid of is not allowed on this forum as well. Along with many other places in life. Recent quote from Luke: "Hi, please refrain from profanity as this is a family friendly environment. ". Which exactly matches what we are asking for!
There was a plug-in for XBMC/Kodi awhile ago that did exactly this. You could choose the severity of curse word you would want to remove, then choose how large of a section you wanted to remove based on milliseconds (250-300 was about perfect). It would read the subtitles, and then output an EDL that would automatically be processed when the show/movie played. As long as the subtitle track was accurate, ie not for a different version of the show/movie, it worked beautifully.
So if I understand correctly, on a antenna recording, I need to extract a srt file from the recording via various tools, make it a srt file, run through PMFileGenerator to get edl from my muted words, and then play with the plugin installed. Should work on Apple TV with Emby client.
For other content liked converted owned Blurays, I can do the same but the advantage of the tool is I avoid what is probably more work. Currently, I demux the audio, extract/convert srt, manually search, edit audio in audacity as needed, remux.
Yup that's pretty much it. But PMFileGenerator will create a EDL and a new SRT file. The new srt file contains the subtitle text for the lines that get muted out, with the undesired words replaced with asterisks. The plugin can only mute a complete srt file entry, typically a sentence, not individual words.
In a nutshell, it uses subtitles (either in the video or srt file) and spits out a new video file (only alters audio so its fast) and subtitle file with profanity removed.
It can also output an EDL file if thats all you want.
You can then use your favorite media player to play the cleaned video file together with the cleaned subtitles.
As an alternative to creating a new video file, cleanvid can create a simple EDL file (see the mplayer or KODI documentation) or a custom JSON definition file for PlexAutoSkip.
Tnx for the reply but i'm a noob here and i still don't get it. I don't know how to execute the program. Should i rename the file path after the PML file gen. I checked the github readme and its not clear.
I was in the process of cleaning up Stranger Things but noticed in season 4, episode 1, right after the 16 minute mark, one of the characters says "bullsh*t". For whatever reason, this word is not in the sub-title text. I'll probably delete the entire scene since it does nothing to add to the story.
When I grew up, using swear words in my house was something we did not do. My parents didn't swear and none of us kids would dare do it either else we'd get a bar of soap in our mouth or a belt across the bottom.
As I grew up and had kids of my own, I have the same policy in my house. No swearing allowed, period. Because society is decaying more and more on a daily basis, I know I can't protect their ears 24x7 but in my house, I can block out the world and give them a loving, nurturing environment. My youngest use to take the bus to/from school but after hearing the language these 2 boys were using at the bus stop, I now drive her to/from school. These foul mouth little monsters were saying things that would make a porn star blush.
Thankfully, my children are nerds and just like playing online games with their friends. If their friends drop an F bomb during a gaming session, they know to ask them to stop else they'll have to quit playing with them. Yes, I sit within ear range and listen to their voice chat.
I always edit out swear words from their shows and movies before they watch them and sometimes will even delete entire scenes that display content that doesn't align with my beliefs. For unknown reasons, this enrages some people.
If studios want to make an amazing movie that has 60 minutes of a perfect story, followed by 30 minutes of the lead character just standing on screen dropping the F bomb non-stop, no problem. I'd never demand they remove that movie from theaters and if somebody wants to take their 6 year old to see it, knock yourself out. What I would do is wait for a digital release of that movie, delete everything after the 60 minute mark and go on with life and nobody should get upset about that.
For some crazy reason, we as a society were able to survive and make progress without non-stop profanity in TV shows and movies for decades. Then, the FCC decided they needed to allow disgusting and vulgar things in all forms of media. I have yet to see the benefit of that decision but I digress.
The one thing I like about MPR is, as you stated, it directly edits the audio so only the vocals with profanity are muted while you can still hear everything else. I hope the author revisits it from time to time to make updates.
"The plugin needs to be installed manually, it is not in the plugin catalog (at least not at this time). Take the released DLL file, or create your own DLL file from the source, and put it in the plugin directory along with all of your other plugins. No other files are required."
@BillOatmanthese tools sound like they'll be extremely helpful, thanks for putting these together and sharing.
So I'm just starting into trying to set these up, and I'm admittedly not very advanced in this stuff.
I understand the PMFileGenerator needs an SRT file in order to function? Any advice on something to generate that?
Following the info in the PDF included with ComSkipper, I have successfully setup comskip with a batch file to trigger it after the recording. It is generating the edl files beautifully.
While I was strugglebussing to figure out how to build the dll for ComSkipper I stumbled upon this Pottymouth plugin and I was wondering how to get them to work in concert?
Can I just set up my batch file to trigger comskip, then trigger something to generate srt, and finally trigger PMFileGenerator?
I'm assuming either PMFileGenerator will just append to the EDL created by comskip, or will I need to configure it to use a separate edl?
I guess following up on that, if they use the same EDL file do I need both plugins? Since it sounds like PM is capable of skipping and muting?
PottyMouth skips "bad" words using the EDL file generated by PMFileGenerator.
PMFileGenerator uses the videos SRT (subtitles) file to generate the EDLfile used by PottyMouth ,and will also generate a SRT (subtitles) file to use to display the sentence with the undesired work scrubbed. You will want to use this generated subtitle file when playing a video using PottyMouth.
PMFileGenerator needs the SRT (subtitle) file from the video so it knows where the bad words are to mute out. They often come with the video file if you downloaded it, and can also be inside the MKV or MP4 container. If it's in the container you will need to extract it for PMFileGenerator to use. There are free tools to do so. I like MKVToolNix. It can also do things with MP4 containers. They can also be downloaded from OpenSubtitles and other places.
3a8082e126