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

--edl is not consistent #26

Closed NickRahn closed 2 months ago

NickRahn commented 10 months ago

When running with the --edl parameter It does not getting all of the subtitle sections for swear words. does not seem to be based on the word but more how close together they are maybe just the last one?

below is my cleaned srt where I was testing.

1 00:00:27,465 --> 00:00:29,015 Propose. dang bad word there

2 00:00:29,066 --> 00:00:31,265

  • Two.
  • What's the stake? dang bad word there

3 00:00:33,297 --> 00:00:34,647 Your ring. poop bad word there

4 00:00:40,548 --> 00:00:44,257 Gambling again, Poldark. ***** bad word there Remind me why you enlisted.

5 00:00:44,306 --> 00:00:47,016 To escape the gallows, sir. ***** bad word there

and this is my resulted edl file. the srt file had much past it but this is a good example.

27.5 29.015 1 29.1 31.265 1 33.3 34.647 1 40.5 44.257 1

mmguero commented 6 months ago

May be caused by #32, will look into it

mmguero commented 5 months ago

Could you try this with v1.6.0 and see if it's still an issue?

mmguero commented 2 months ago

I believe this was fixed in the last release, please reopen if it's still causing a problem for you