From cc46539ea98e468220a1a482b5afd96ec8ebcc44 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 23 Jul 2023 13:48:12 +0300 Subject: [PATCH] fix ffmpeg args --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4594fda..67d5455 100644 --- a/main.py +++ b/main.py @@ -62,7 +62,7 @@ async def send_post(post: E621Post, tag_list: List[str]): webm.write(file.read()) ffmpeg\ .input(str(src_path)) \ - .filter('pad', { + .filter('pad', **{ 'width': 'ceil(iw/2)*2', 'height': 'ceil(ih/2)*2', 'x': '0',