Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:
Expand All @@ -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<user name>\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.
Expand Down