Revert "fix(watermark): bajar la marca al borde superior del contenido (0.34)"
This reverts commit 177737fdef.
This commit is contained in:
parent
177737fdef
commit
3a2741bb33
1 changed files with 5 additions and 6 deletions
11
main.py
11
main.py
|
|
@ -691,14 +691,13 @@ def render_clip(input_video, final_output_video, output_format="auto"):
|
||||||
#
|
#
|
||||||
# Vertical placement is the whole point: the top and bottom strips of a 9:16
|
# Vertical placement is the whole point: the top and bottom strips of a 9:16
|
||||||
# clip are either black bars or blurred filler (GENERAL layout), so a mark up
|
# clip are either black bars or blurred filler (GENERAL layout), so a mark up
|
||||||
# there is cropped away without touching a single pixel of real footage. A 16:9
|
# there is cropped away without touching a single pixel of real footage. At 40%
|
||||||
# source letterboxed into 9:16 spans roughly 34%-66%, so 0.34 lands the mark
|
# of the height it sits inside the content band — a 16:9 source letterboxed
|
||||||
# right on the top edge of the real picture — high enough to read as "up top",
|
# into 9:16 spans roughly 34%-66% — so removing the mark means cutting into the
|
||||||
# low enough that cropping it means cutting into the footage. Left-aligned,
|
# picture. Left-aligned, like OpusClip's.
|
||||||
# like OpusClip's.
|
|
||||||
WATERMARK_WIDTH_RATIO = 0.30
|
WATERMARK_WIDTH_RATIO = 0.30
|
||||||
WATERMARK_MARGIN_RATIO = 0.05
|
WATERMARK_MARGIN_RATIO = 0.05
|
||||||
WATERMARK_Y_RATIO = 0.34
|
WATERMARK_Y_RATIO = 0.40
|
||||||
WATERMARK_OPACITY = 0.85
|
WATERMARK_OPACITY = 0.85
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue