From 38525fa2b2cf901d174f021ea8f1afe36a6279dc Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 6 Jun 2023 09:34:18 -0700 Subject: [PATCH] fix: add ffmpeg flag for mp4 video creation (#831) * disable test_hermes_out_for_delivery * fix: add ffmpeg flag for mp4 video creation --- custom_components/mail_and_packages/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/mail_and_packages/helpers.py b/custom_components/mail_and_packages/helpers.py index 6c47c957..d4966586 100644 --- a/custom_components/mail_and_packages/helpers.py +++ b/custom_components/mail_and_packages/helpers.py @@ -792,6 +792,8 @@ def _generate_mp4(path: str, image_file: str) -> None: "ffmpeg", "-i", gif_image, + "-pix_fmt", + "yuv420p", mp4_file, ], stdout=subprocess.DEVNULL,