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 \
  --json

Config File Example

version: 1
defaults:
  outputDir: ./hd
items:
  - input: ./videos/low1.mp4
    targetResolution: 1080P
  - input: ./videos/low2.mp4
    targetResolution: 4K

Parameter Reference

ParameterRequiredDescription
--input-dirNoInput directory, recursively scan for video files
--output-dirYesOutput directory
--configNoPath to YAML/JSON config file
--concurrencyNoType: number; Default: 3; Number of parallel tasks (recommended 1-2 for videos)
--max-retriesNoType: number; Default: 0; Number of retries on failure
--skip-existNoSkip existing output files
--dry-runNoPreview the plan without executing
--no-progressNoDisable per-task progress logging
--jsonNoOutput results in JSON format
--json-outputNoWrite results to a specified JSON file
--skill-nameNoServer-side skill identifier
--target-resolutionNoType: string; Target resolution (720P/1080P/2K/4K)