Skip to content

Commit

Permalink
fix: add ffmpeg flag for mp4 video creation (#831)
Browse files Browse the repository at this point in the history
* disable test_hermes_out_for_delivery

* fix: add ffmpeg flag for mp4 video creation
  • Loading branch information
firstof9 authored Jun 6, 2023
1 parent 7565d98 commit 38525fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/mail_and_packages/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 38525fa

Please sign in to comment.