# JSON 設定ファイルを使った一括処理例（config.json）
# python main.py --json config.json

import json

config = {
    "input": "input.mp4",
    "output": "output.mp4",
    "interpolate": True,
    "interpolate_factor": 2,
    "interpolate_method": "rife4.22",
    "upscale": True,
    "upscale_method": "span"
}

with open("config.json", "w") as f:
    json.dump(config, f, indent=2)

print("config.json を生成しました。以下のコマンドで実行してください:")
print("python main.py --json config.json")