VIBE
VIBE copied to clipboard
[bug] FileNotFoundError: [WinError 2] The system cannot find the file specified
python demo.py --vid_file sample_video.mp4 --output_folder output/ --display
Running "ffmpeg -i sample_video.mp4 -f image2 -v error /tmp\sample_video_mp4/%06d.png"
Traceback (most recent call last):
File "demo.py", line 383, in
not sure what the problem is here. I'm using anaconda on windows 10., python3.7 Installed all libraries successfully
I met the same problem. Working on Ubuntu18.04.
(vibe-env) suliang@suliang-CNH5L:~/VIBE$ python demo.py --vid_file sample_video.mp4 --output_folder output/ --display
Running "ffmpeg -i sample_video.mp4 -f image2 -v error /tmp/sample_video_mp4/%06d.png"
Traceback (most recent call last):
File "demo.py", line 383, in
Your computer environment needs ffmpeg installed.
I hope the answer is not too late.
Just modify the subprocess.py of your environment a bit.
def __init__(self, args, bufsize=-1, executable=None,
stdin=None, stdout=None, stderr=None,
preexec_fn=None, close_fds=_PLATFORM_DEFAULT_CLOSE_FDS,
shell=True, cwd=None, env=None, universal_newlines=False,
startupinfo=None, creationflags=0,
restore_signals=True, start_new_session=False,
pass_fds=(), *, encoding=None, errors=None):
From shell=False -> True
I hope the answer is not too late.
Just modify the subprocess.py of your environment a bit.
def __init__(self, args, bufsize=-1, executable=None, stdin=None, stdout=None, stderr=None, preexec_fn=None, close_fds=_PLATFORM_DEFAULT_CLOSE_FDS, shell=True, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, restore_signals=True, start_new_session=False, pass_fds=(), *, encoding=None, errors=None):
From shell=False -> True
I don't know python - where/how would I add that?