Batch Video Element Remove
Remove passersby, subtitles, watermarks, or all text from videos in batch, supporting multi-type combined removal.
meitu batch video-element-remove
Note: Batch processing is available from meitu-cli v2.1.1 onward. Please upgrade if you're on an older version.
Usage Examples
# Scenario 1: Directory scan mode
meitu batch video-element-remove \
--input-dir ./videos \
--output-dir ./clean \
--prompt "Remove watermark" \
--json
# Scenario 2: Config file mode
meitu batch video-element-remove \
--config ./batch.video-element-remove.yaml \
--output-dir ./clean \
--jsonConfig File Example
version: 1
defaults:
outputDir: ./clean
items:
- input: ./videos/video1.mp4
prompt: Remove the watermark at the bottom right corner
- input: ./videos/video2.mp4
prompt: Remove subtitlesParameter Reference
| Parameter | Required | Description |
|---|---|---|
--input-dir | No | Input directory, recursively scans for video files |
--output-dir | Yes | Output directory |
--config | No | Path to YAML/JSON config file |
--concurrency | No | Type: number; Default: 3; Number of parallel tasks (recommend 1-2 for video) |
--max-retries | No | Type: number; Default: 0; Number of retries on failure |
--skip-exist | No | Skip existing output files |
--dry-run | No | Preview the plan without executing |
--no-progress | No | Disable per-task progress logging |
--json | No | Output results in JSON format |
--json-output | No | Write results to a specified JSON file |
--skill-name | No | Skill name for server-side attribution |
--prompt | No | Type: string; Description of elements to remove |