Batch Video Resolution Upscaling
Specialized batch video resolution upscaling with support for target resolutions of 720P, 1080P, 2K, and 4K, performing pixel-level resolution reconstruction only.
meitu batch video-resolution-upscale
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-resolution-upscale \
--input-dir ./low-res \
--output-dir ./hd \
--target-resolution 1080P \
--json
# Scenario 2: Config file mode
meitu batch video-resolution-upscale \
--config ./batch.video-resolution-upscale.yaml \
--output-dir ./hd \
--jsonConfig File Example
version: 1
defaults:
outputDir: ./hd
items:
- input: ./videos/low1.mp4
targetResolution: 1080P
- input: ./videos/low2.mp4
targetResolution: 4KParameter Reference
| Parameter | Required | Description |
|---|---|---|
--input-dir | No | Input directory, recursively scan 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 (recommended 1-2 for videos) |
--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 | Server-side skill identifier |
--target-resolution | No | Type: string; Target resolution (720P/1080P/2K/4K) |