Files
Redlight_Remover/config.json
T
JianMiau 44b52a4cf9 新增 video_quality 參數控制檔案大小; 修正 NVENC 位元率
- 原本 NVENC 只給 -cq 沒搭 -rc,位元率爆高(約112Mbps),成品比原檔還大
- 改為 -rc vbr -cq,cq 才真正生效;新增 video_quality 參數(預設 30)
- 實測 11 秒 4K 測試片由 161.7MB 降到 74.9MB(-54%)
- video_quality 同時套用到 NVENC -cq 與 x264 -crf;數字越大檔案越小
- 同步更新 README

本次調整由 Claude Opus 4.8 (1M context) 協助處理。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 21:36:26 +08:00

30 lines
593 B
JSON

{
"roi": [
3300,
1770,
300,
140
],
"sample_interval": 1.0,
"progress_every": 60,
"stop_seconds": 4.0,
"speed_threshold": 0,
"min_confidence": 0.5,
"smooth_window": 5,
"depart_seconds": 5.0,
"cut_before_stop": 2.0,
"keep_after_stop": 2.0,
"min_keep": 0.8,
"use_gpu": true,
"reencode": false,
"transition": true,
"transition_duration": 0.5,
"video_transition": "fadeblack",
"video_quality": 30,
"volume_boost": true,
"volume_boost_percent": 30,
"hard_limiter": true,
"lowpass": true,
"lowpass_hz": 15000,
"base_dir": "E:\\videos"
}