diff --git a/README.md b/README.md index ef3c037..544067c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,13 @@ One-click watermark removal for KLing videos - Make your videos more professiona - Support for batch video processing - Customizable processing parameters +## Prerequisites + +- Download FFMPEG. For Windows 7+, I prefer [Gyan Dev's](https://www.gyan.dev/ffmpeg/builds/) full version: +https://www.ffmpeg.org/download.html#build-windows +- Extract, then move to C:/ under the ffmpeg folder (C:/ffmpeg) +- In Windows, add to Environment Variables -> User variables -> Path as "C:/ffmpeg/bin" + ## 🔧 Installation Follow these steps to install **KLing-Video-WatermarkRemover-Enhancer**: @@ -42,6 +49,18 @@ conda activate kling pip install -r requirements.txt ``` +- Navigate to ../Real-ESRGAN +- Execute: +```bash +python setup.py develop +``` + +- Navigate to C:\Users\anaconda3\envs\kling2\Lib\site-packages\basicsr\data\degradations.py. +- Replace Line 8 with: +```bash +from torchvision.transforms.functional import rgb_to_grayscale +``` + ## 🛠️ Configuration The `config.yaml` file defines parameters for watermark removal and video enhancement.