feat: add video xcorr lab with gray proxy support

This commit is contained in:
Honney OC committed 2026-09-16 15:51:34 +00:00
1 parent 068f059cc1
commit 87a7e9347b
4 files changed
+1199 -1

No files matched your search

+15
View File
@@ -12,6 +12,10 @@ start = 0.0
out_dir = "extracted"
target_fps = "24000/1001" # Blu-ray film 23.976
target_fps_eps = 0.02
# Lossless gray analysis proxy ({stem}_proxy.mkv), built from the LOCAL master
# (never re-reads the originals). Used by sync_video_test.py for fast decode.
proxy = true
proxy_width = 192
[audio]
# Target for re-encode / load. Must be identical for both files.
@@ -35,3 +39,14 @@ volume = 70 # the default volume in ast
method = "phat" # "phat" (GCC-PHAT, robust) or "standard" (raw)
use_gpu = "auto" # "auto" | "cpu" | "cuda" (ROCm/CUDA both via torch.cuda)
out_dir = "output" # synced output folder
[video]
# Settings for sync_video_test.py (reads ONLY files inside extract.out_dir).
grid = "32x18" # correlation grid WxH (16x9, 24x14, 32x18, 48x27, 64x36)
bars = true # auto-crop static letterbox/pillarbox bars before scaling
max_lag = 0.0 # search half-window in seconds (0 = full range)
prefer_proxy = true # use {stem}_proxy.mkv when present, else {stem}_video.mkv
decode_width = 192 # decode scale width when reading the full master
# Explicit extracted files (optional, relative to repo root or absolute):
# file_a_mkv = "extracted/Drachenzaehmen_proxy.mkv"
# file_b_mkv = "extracted/How to Train Your Dragon_proxy.mkv"