Spaces:
Running
Running
fix: NO MORE SLIVER CROPS — aspect-aware blurred-fill for orientation-mismatched footage + subtitle margin bump + RAM-aware audio normalize
Browse files- 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 =
|
| 25 |
else:
|
| 26 |
size = font_size or 52
|
| 27 |
-
margin_v =
|
| 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]",
|