xuliang2024/video-watermark-remover
Media & DesignSelf-hosted workbench for batch video watermark and hardcoded subtitle removal, with multi-language translation and dubbing.
What it does
CleanFrame is a self-hosted studio that removes watermarks, logos, and hardcoded subtitles from video using AI spatiotemporal inpainting, then can translate and dub the cleaned footage into multiple languages. It targets teams doing short-drama localization, cross-border e-commerce video reuse, and course localization — workflows where the same clean master is reused across languages.
The frontend is a React + TypeScript dark workspace with ten views covering upload, region annotation, before/after comparison, translation, subtitle styling, billing, and settings. A FastAPI backend handles media probing, estimation, an async concurrent queue, polling, and webhook callbacks. Data is stored in SQLite, and uploads, thumbnails, and outputs live on local disk.
The actual removal work is delegated to Volcengine LAS operators (las_video_inpaint_pro v1 for removal and las_video_translate v1 for translation/dubbing) plus TOS object storage. Without credentials, the app runs a local mock mode that simulates the whole flow — upload, box annotation, queue progress, comparison, and subtitle ZIP download — so the UI can be evaluated offline. It is not an inpainting model shipped in the repository; it is a workbench around a paid cloud operator.
Quick start
Requirements: Python 3.10+ (3.11+ recommended), Node.js 18+ with npm, and optionally FFmpeg/FFprobe for local media probing and thumbnails. With no configuration, it starts in auto mode, which falls back to mock when no keys are present.
git clone https://github.com/xuliang2024/video-watermark-remover.git
cd video-watermark-remover
python3 -m venv .venv
source .venv/bin/activate
pip install -r backend/requirements.txt
npm --prefix frontend install
./start.sh
Then open http://127.0.0.1:8000/ for the landing page, /workspace for the studio, /workspace#settings for configuration, and /docs for the OpenAPI UI.
To run against real operators, fill LAS_API_KEY, TOS_BUCKET, VOLC_ACCESS_KEY_ID, and VOLC_ACCESS_KEY_SECRET in the settings page, test connectivity, and save; the switch to live mode is hot. Alternatively copy backend/.env.example to backend/.env, fill the values, and restart. The TOS bucket must be in the same region as LAS (for example cn-beijing). For public deployments, set LAS_CALLBACK_URL to an HTTPS endpoint such as https://your-domain.com/api/webhooks/las-callback.
Constraints
- Removal and translation require a Volcengine account with LAS and TOS credentials; without them only the mock simulation is available.
- Pricing is per output minute with frame-rate and resolution multipliers. Inpainting runs from 0.50 to 3.00 CNY/min depending on tier, and translation from 1.50 to 4.00 CNY/min per target language. These are the README's reference prices, not a guarantee.
- Input limits: inpainting accepts 1 second to 3 hours and up to 10 GB per file; translation accepts 2 seconds to 4 hours and up to 10 GB.
- The scheduler defaults to 10 concurrent tasks, intended to match the Volcengine account quota; adjust
CLEANFRAME_MAX_CONCURRENCYif your quota differs. - Region coordinates use a 1000x1000 normalized box with optional per-box time ranges; fixed-box mode skips full-frame detection and avoids accidental erasure of faces or preserved subtitles.
- Default database is SQLite and storage is local; the license is Apache-2.0.
HotRepo's take
The repository is new and was only recorded in the TypeScript new-project list on 2026-11-27, gaining 10 stars in a roughly 1.5-hour window and ending at 110 stars with 12 forks. There is no all-language daily rank and no discussion thread, so the record supports one day's activity, not a trend. The interesting technical fact is that the repository is a workbench around a commercial cloud operator rather than a self-contained inpainting model; its practical value depends on the operator's billing and availability, and the mock mode is what makes the UI reviewable before any credentials are added.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.