From 88d348a5639e36c85de6ed2fd0d233398fe5ae58 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Wed, 1 Nov 2023 16:59:21 -0400 Subject: [PATCH] Allow running palet without av --- auto_editor/__main__.py | 5 +++-- setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/auto_editor/__main__.py b/auto_editor/__main__.py index 63b2df76e..e6f4b6a97 100755 --- a/auto_editor/__main__.py +++ b/auto_editor/__main__.py @@ -3,8 +3,6 @@ import sys import auto_editor -from auto_editor.edit import edit_media -from auto_editor.ffwrapper import FFmpeg from auto_editor.utils.func import setup_tempdir from auto_editor.utils.log import Log from auto_editor.utils.types import ( @@ -316,6 +314,9 @@ def main() -> None: print(f"{auto_editor.version} ({auto_editor.__version__})") sys.exit() + from auto_editor.edit import edit_media + from auto_editor.ffwrapper import FFmpeg + log = Log(args.debug, args.quiet) ffmpeg = FFmpeg( args.ffmpeg_location, diff --git a/setup.py b/setup.py index c6afea3a3..9789217b7 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def pip_version(): install_requires=[ "numpy>=1.22.0", "pillow==10.1.0", - "pyav==11.4.0", + "pyav==11.4.1", "ae-ffmpeg==1.1.*", ], python_requires=">=3.10",