Spaces:
Running

MDHojayfa213 commited on
Commit
6d83035
·
verified ·
1 Parent(s): cfd0093

fix: NO MORE SLIVER CROPS — aspect-aware blurred-fill for orientation-mismatched footage + subtitle margin bump + RAM-aware audio normalize

Browse files
Files changed (1) hide show
  1. nexus/subtitles.py +2 -2
nexus/subtitles.py CHANGED
@@ -21,10 +21,10 @@ def build_ass(words: list, out_path: Path, kind: str = "short",
21
  """Word-level karaoke ASS with {\\k} highlights."""
22
  if kind == "short":
23
  size = font_size or 64
24
- margin_v = 220
25
  else:
26
  size = font_size or 52
27
- margin_v = 80
28
 
29
  lines = [
30
  "[Script Info]",
 
21
  """Word-level karaoke ASS with {\\k} highlights."""
22
  if kind == "short":
23
  size = font_size or 64
24
+ margin_v = 300 # clear of any bottom overlays / safe zone
25
  else:
26
  size = font_size or 52
27
+ margin_v = 110
28
 
29
  lines = [
30
  "[Script Info]",