CLEANUP

Subtitle Removal

Remove or mask hard-coded subtitles using color and edge detection tools.

Subtitle removal preview

Detection region + tuning preview

Steps

1

Load the video and choose a detection algorithm.

2

Sample the subtitle color and adjust tolerance.

3

Define the removal region or mask area.

4

Preview the removal region frame-by-frame.

5

Adjust edge feathering and fill parameters.

6

Process the full video.

7

Validate the output and re-run if artifacts persist.

Tips

  • Use HSV detection for colored subtitles.
  • Edge mode works best for white-on-black captions.
  • Use a tight region to limit background damage.
  • Test on a short clip before full processing.

Advanced Guidance

Dark Text on Light Background

Enable 'Dark Text' to activate inverted thresholding.

  • Threshold: Lower (40-80). Defines 'how black is text'.
  • Dilate Size: Larger (7-11). Covers fuzzy edges.
  • Inpaint Radius: Unchanged (5-15).

Improving Removal for Light Subtitles

If initial clear is insufficient:

  • Increase Dilate: Expand kernel (e.g. 13x13) to cover gray transitions.
  • Decrease Threshold: Make detection more sensitive (e.g. 170-160).
  • Increase Inpaint: Larger radius (e.g. 20px) for soft transitions.