From 30f922d6cc35bba504ebe863fccc97813953b791 Mon Sep 17 00:00:00 2001 From: phunket <43594900+phunket@users.noreply.github.com> Date: Wed, 20 Mar 2024 21:04:06 -0400 Subject: [PATCH] Update ffmpeg.py to remove 1 px long line on uncaption there is a 1 pixel white line on uncaption commands on the top of videos, this removes it --- src/processing/ffmpeg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/processing/ffmpeg.py b/src/processing/ffmpeg.py index 49b90343..d47c1232 100644 --- a/src/processing/ffmpeg.py +++ b/src/processing/ffmpeg.py @@ -943,6 +943,7 @@ async def crop(file, w, h, x, y): async def trim_top(file, trim_size): mt = await mediatype(file) + trim_size = trim_size + 1 exts = { "VIDEO": "mp4", "GIF": "mp4",