diff --git a/auto_editor/__main__.py b/auto_editor/__main__.py index 3e34a8064..3eebdebe7 100755 --- a/auto_editor/__main__.py +++ b/auto_editor/__main__.py @@ -8,7 +8,6 @@ import auto_editor from auto_editor.edit import edit_media -from auto_editor.ffwrapper import FFmpeg from auto_editor.utils.func import get_stdout from auto_editor.utils.log import Log from auto_editor.utils.types import ( @@ -262,6 +261,7 @@ def get_domain(url: str) -> str: else: output_format = args.output_format + cmd = [] if download_format is not None: cmd.extend(["-f", download_format]) diff --git a/auto_editor/ffwrapper.py b/auto_editor/ffwrapper.py index c8c91f88f..1e3e9f3ed 100644 --- a/auto_editor/ffwrapper.py +++ b/auto_editor/ffwrapper.py @@ -3,8 +3,6 @@ from dataclasses import dataclass from fractions import Fraction from pathlib import Path -from shutil import which -from subprocess import PIPE, Popen import av