-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
29 lines (24 loc) · 1.13 KB
/
config.example.json
File metadata and controls
29 lines (24 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"_comment": "Video Compress runtime preferences. Author: Chanaveer Kadapatti. Copy this file to config.json and edit. policy.json is the encoding contract; this file is per-machine preferences (Ollama model, output dir, log level). output_dir: null = sibling to source. llm.model options (any Ollama vision-capable model): qwen2.5vl:3b (small/fast), qwen2.5vl:7b (better accuracy, slower), minicpm-v:8b, llava:7b. encoder.codec: libx264 (universal) or libx265 (~30% smaller, slower, less device support). vmaf.floor_override: null uses each profile's vmaf_floor; a number overrides all profiles. behavior.in_place: true replaces originals after VMAF passes. behavior.delete_smaller: true skips committing if output >= source size.",
"output_dir": null,
"manifest_path": "./manifest.csv",
"llm": {
"endpoint": "http://localhost:11434",
"model": "qwen2.5vl:3b",
"num_frames": 12,
"timeout_sec": 60
},
"encoder": {
"codec": "libx264",
"threads": 0
},
"vmaf": {
"enabled": true,
"floor_override": null
},
"behavior": {
"in_place": false,
"delete_smaller": true,
"log_level": "INFO"
}
}