mmguero / cleanvid

cleanvid is a little script to mute profanity in video files
BSD 3-Clause "New" or "Revised" License
56 stars 6 forks source link

Timestamp inaccuracy #17

Closed Drive4Code closed 1 year ago

Drive4Code commented 1 year ago

After the update, the video gets muted for too long. After the swear word they work well, but before you get to it consistent issues arise. Here's an visualization of the issue: image

My srt files at this point contains the following: 212 00:00:58,680 --> 00:00:58,700 a

213 00:00:58,700 --> 00:00:58,720 fuck.

214 00:00:58,720 --> 00:00:59,300 You're

215 00:00:59,300 --> 00:00:59,360 a

216 00:00:59,360 --> 00:00:59,620 fucking

217 00:00:59,620 --> 00:00:59,680 liar.

mmguero commented 1 year ago

Thank you! Looks like I need to adjust the lead in to the mute.

mmguero commented 1 year ago

Try the latest release out. I had set the default "padding" around the profanity to 1 second, I've set it back to 0, it can be adjusted with the command-line.

Drive4Code commented 1 year ago

I've always had padding set to zero from the command-line. Looks like it's working now though!