What went wrong
I am using a script that uses auto-editor. But It keeps crashing as soon as I run it. auto-editor is having problem with running ffmpeg.
I suspect it's because of how scoop creates executables/shims for programs installed using it. But im not sure. I need this tool to work badly, any kind of help would be appreciated.
> mpv v.mp4
(+) Video --vid=1 (*) (h264 1280x720 30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:03 / 00:49:19 (0%) A-V: 0.000
[autoeditor] Traceback (most recent call last):
[autoeditor] File "<frozen runpy>", line 198, in _run_module_as_main
[autoeditor] File "<frozen runpy>", line 88, in _run_code
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Scripts\auto-editor.exe\__main__.py", line 7, in <module>
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\site-packages\auto_editor\__main__.py", line 320, in main
[autoeditor] ffmpeg = FFmpeg(
[autoeditor] ^^^^^^^
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\site-packages\auto_editor\ffwrapper.py", line 49, in __init__
[autoeditor] _version = get_stdout([self.path, "-version"]).split("\n")[0]
[autoeditor] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\site-packages\auto_editor\utils\func.py", line 116, in get_stdout
[autoeditor] stdout, _ = Popen(cmd, stdout=PIPE, stderr=PIPE).communicate()
[autoeditor] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\subprocess.py", line 992, in __init__
[autoeditor] errread, errwrite) = self._get_handles(stdin, stdout, stderr)
[autoeditor] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\subprocess.py", line 1365, in _get_handles
[autoeditor] p2cread = self._make_inheritable(p2cread)
[autoeditor] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[autoeditor] File "C:\Users\ant\scoop\apps\python\current\Lib\subprocess.py", line 1416, in _make_inheritable
[autoeditor] h = _winapi.DuplicateHandle(
[autoeditor] ^^^^^^^^^^^^^^^^^^^^^^^^
[autoeditor] OSError: [WinError 6] The handle is invalid
AV: 00:00:04 / 00:49:19 (0%) A-V: 0.000
Exiting... (Quit)
versions
Everything is installed using scoop package manager.
What went wrong I am using a script that uses auto-editor. But It keeps crashing as soon as I run it. auto-editor is having problem with running ffmpeg. I suspect it's because of how scoop creates executables/shims for programs installed using it. But im not sure. I need this tool to work badly, any kind of help would be appreciated.