Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
118 lines (107 loc) · 4.62 KB
/
Copy pathconfig.example.json
File metadata and controls
118 lines (107 loc) · 4.62 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"_comment": "CLIPDECK configuration template. Copy to config.json and edit. config.json is git-ignored because it holds local paths, your PIN, and machine-specific settings.",
"server": {
"_comment": "Keep host on 127.0.0.1 for local-only use. To open the deck from your phone, set host to 0.0.0.0, start CLIPDECK, then set a 4-digit PIN before exposing it to your LAN.",
"host": "127.0.0.1",
"port": 8787,
"pin": "",
"session_hours": 72
},
"paths": {
"_comment": "All local working directories. Keeping them on the same disk makes keep/delete renames instead of multi-GB copies. inbox is only used when ingest.mode is copy.",
"root": "C:\\clips",
"inbox": "C:\\clips\\inbox",
"staging": "C:\\clips\\staging",
"library": "C:\\clips\\library",
"proxy": "C:\\clips\\proxy",
"publish": "C:\\clips\\publish",
"keeps": "C:\\clips\\keeps",
"trash": "C:\\clips\\_trash",
"state": "C:\\clips\\state",
"posters": "C:\\clips\\state\\posters",
"keeps_export": "\\\\YOUR-SERVER\\OBSRecording\\CLIPDECK-Keeps"
},
"ingest": {
"_comment_mode": "stream reads the source path directly; copy pulls files into inbox first. stage_batch copies each batch into staging so encoding can finish with the gaming PC off.",
"_comment_legacy": "Legacy single-source fallback. Leave source_unc empty when using the sources list below; source_inbox is only used in copy mode.",
"mode": "stream",
"source_unc": "",
"source_inbox": "_inbox",
"stage_batch": true,
"batch_gb": 15,
"_comment_sources": "Point these at your OBS output folders. The manual source is deliberately NON-recursive so it does not descend into editing-tool folders.",
"sources": [
{ "path": "\\\\YOUR-SERVER\\OBSRecording\\Kills", "category": "kills", "recursive": true, "delete_after_encode": false },
{ "path": "\\\\YOUR-SERVER\\OBSRecording\\Deaths", "category": "deaths", "recursive": true, "delete_after_encode": false },
{ "path": "\\\\YOUR-SERVER\\OBSRecording\\Self Deaths", "category": "selfdeaths", "recursive": true, "delete_after_encode": false },
{ "path": "\\\\YOUR-SERVER\\OBSRecording", "category": "manual", "recursive": false, "delete_after_encode": false }
],
"exclude_names": ["CLIPDECK-Keeps", "CLIPDECK-Staging"],
"batch_size": 10,
"order": "oldest_first",
"poll_seconds": 30,
"queue_depth": 1,
"stability_polls": 2,
"min_age_seconds": 300,
"min_free_gb": 20,
"reserve_gb": 15,
"drain_free_gb": 35,
"pull_mbps": 0,
"gaming_pull_mbps": 30,
"_comment_delete": "Global kill switch. 'off' beats every per-source delete_after_encode flag. Change to 'verify_then_delete' only when you are ready to delete raw source clips after a verified encode.",
"source_delete": "off",
"extensions": [".mp4", ".mkv", ".mov", ".m4v"]
},
"deliver": {
"_comment": "dry_run=true only logs the source deletions that would happen. Flip it to false after you have checked the dry-run report.",
"dry_run": true,
"poll_seconds": 30
},
"gaming": {
"_comment": "Optional presence flag. While the gaming PC writes GAME=TRUE to this file, CLIPDECK pauses pulls, source deletes, and keep exports. stale_minutes is only a freshness hint shown by the status API; age does not unpark a TRUE flag.",
"enabled": true,
"presence_file": "\\\\YOUR-SERVER\\OBSRecording\\CLIPDECK-State\\game.txt",
"stale_minutes": 240
},
"encode": {
"_comment": "Single-file model: the master IS the 1080x1920 vertical clip that the deck plays and keeps. H.264 CRF 16 is the tested recipe; the startup probe runs each encoder in encoder_order and uses the first one that actually works.",
"probe_on_start": true,
"_comment_ffmpeg": "Leave ffmpeg_path blank to use PATH, or set an absolute path to ffmpeg.exe. max_threads=0 lets ffmpeg decide.",
"ffmpeg_path": "",
"max_threads": 0,
"master": {
"codec": "h264",
"height": 1080,
"crf": 16,
"preset": "medium",
"pix_fmt": "yuv420p",
"audio_kbps": 128,
"max_fps": 60
},
"proxy": {
"enabled": false,
"crf": 26,
"preset": "veryfast",
"height": 720,
"audio_kbps": 96
},
"encoder_order": [
"h264_nvenc",
"h264_amf",
"h264_qsv",
"libx264"
],
"timeout_seconds": 7200
},
"converter": {
"mode": "builtin",
"command": null,
"style": "centercrop",
"size": "1080x1920",
"layout": {
"mode": "minimap_pip",
"minimap": { "x": 66, "y": 1008, "w": 292, "h": 292, "margin": 24 }
}
},
"trash_retention_days": 3
}