VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
  1. Hi guys

    Now, I'm trying to remove hard subtitles.

    My idea is to apply some blur over the hard subs only when there is a soft sub to overlap it. For that, I'll use the SRT file and get the times from it. How? Using Delphi I could write a small program to convert time to frame number.

    There is a good plugin for Vdub called RegionRemove. It's fine, but just for short movies. Using it, I can set the list of frames and the plugin act only in that list. The problem is that the limit of the list. I tryed to put in the listbox all the frames I need to cover, but it accepted less than 100 lines...

    Name:  RegionRemove.png
Views: 7779
Size:  13.7 KB

    How to solve it?

    I think there is another way, writing a Avisynth script to make the same, or even look like RegionRemove.
    The code:
    v = Trim(1000,1300) ++\
    Where the list of frames I can get from my small program. I'm improving the program to write also the parts where there are no subs to overlap. The script above is just a draft and it will also be improved later. This thread is to ask some other way to blur the hard sub with less harm to the original video.

    Samples from the movie Electra, greek filme, 1962.

    Name:  1_original.jpg
Views: 7762
Size:  20.1 KB

    Name:  2_avisynth.jpg
Views: 7723
Size:  16.8 KB

    Name:  3_RegionRemove.jpg
Views: 7674
Size:  17.0 KB

    Name:  4_Rendered.jpg
Views: 7697
Size:  19.3 KB

    As you see, RegionRemove had made a better job than my crop-resize script. Is there another way to write the script to get better results? Also to treat the borders. Borders at my script are too hard and visible...

    I did not test yet, but Avisinth script can accept around 2000 lines of trim, resize and crop functions? It would degrade the processing?

    Another question is if you guys know a way to override the limit of the listbox of the RegionRemove plugin.
    Last edited by jairovital; 26th Oct 2010 at 10:30.
    Thank you.
    Quote Quote  
  2. Member
    Join Date : Mar 2008
    Location : United States
    Search Comp PM
    Quote Quote  
  3. Thank you davexnet, but that tutorial I've already read a dozen times. SubRip is very hard to adjust the perfect settings to grab hard subs.

    But the point here isn't to grab/ripping, but to blur or remove hard subs.
    Thank you.
    Quote Quote  
  4. Member
    Join Date : Mar 2008
    Location : United States
    Search Comp PM
    The reason I posted it is becaue I *thought* (although I've never tried it) that procedure could be used to mask the subs
    and remove them. Not so?
    There may be a Virtualdub filter - let me take a look.
    Quote Quote  
  5. I know three filters in Vdub to blur region: RegionRemove, DeLogo and Logoaway. None of them, as far as I know, handle long list of frames, ON and OFF, as I'm needing.
    Thank you.
    Quote Quote  
  6. Member
    Join Date : Mar 2008
    Location : United States
    Search Comp PM
    It's a compromise, none of the tools produce results that you could call good.
    I tried the logo filter in FFDshow (ffvdub.vdf) .Click image for larger version

Name:	un_sub.JPG
Views:	480
Size:	80.8 KB
ID:	3964

    The MSU subtitle remover has on and off, based on a first pass "detection" phase, in which it keeps
    track of the frames involved. I had no luck with it - have you tried it ?
    Last edited by davexnet; 26th Oct 2010 at 13:45. Reason: new info
    Quote Quote  
  7. MSU is another plugin to grab (rip) the subtitles and output it to Vobsub format.
    The result you got with ffvdub is interesting. How did you got that? I'd like to compare with the script I'm testing.
    Thank you.
    Quote Quote  
  8. Member
    Join Date : Mar 2008
    Location : United States
    Search Comp PM
    No - I'm talking about this MSU tool:

    Here's the settings I used in FFVdub :

    Name:  ff.JPG
Views: 5049
Size:  51.4 KB
    Quote Quote  
  9. davexnet, I say thank you!

    I've already knew about MSU SubtitleRemover. Some time ago I run tests with it and I couldn't reach good results and I gave up.

    Now, using a black and white movie, maybe it is easier to the plugin detect the subtitles, and because you recall it for me, I got the results I'm posting below. See by yourself and tell me something:

    msu2 -> subs removed
    msu3 -> original subs

    I could notice that the plugin has some kind of problem when you change the parameters many times. It cannot detect subtitles anymore. I have to open again the video or even quit Vdub and try once more.

    The ffvdub you post, I haven't knew it, but the logoaway it uses is the same of logoaway.vdf standalone plugin I use. And the results are the same.

    Man, thank you for guiding me back to the right tool: MSU SubtitleRemover
    Thank you.
    Quote Quote  

Similar Threads