Closed zazazy closed 1 year ago
Sorry for non english, last string is "Filenotfound ...[WinErr2] cannot find selected file"
It seems that the problem is that you haven't properly installed ffmpeg or it isn't correctly set in your Windows PATH. You can check by typing ffmpeg into the terminal. If it fails, that's it. There are many guides on the internet on how to configure ffmpeg, for example: https://phoenixnap.com/kb/ffmpeg-windows
It seems that the problem is that you haven't properly installed ffmpeg or it isn't correctly set in your Windows PATH. You can check by typing ffmpeg into the terminal. If it fails, that's it. There are many guides on the internet on how to configure ffmpeg, for example: https://phoenixnap.com/kb/ffmpeg-windows
You are great, it works after a few days of fkng with pyton, insightface, etc. Thank you!
It seems that the problem is that you haven't properly installed ffmpeg or it isn't correctly set in your Windows PATH. You can check by typing ffmpeg into the terminal. If it fails, that's it. There are many guides on the internet on how to configure ffmpeg, for example: https://phoenixnap.com/kb/ffmpeg-windows Do you have any ideas how to accelerate rendering process? Seems like not all resources of CPU or GPU involved.
Thank you for your comments, they help me continue making improvements. We've discussed the acceleration topic here: https://github.com/xaviviro/refacer/issues/5#issuecomment-1577471258
PS D:\refacer> python app.py Traceback (most recent call last): File "D:\refacer\app.py", line 11, in
refacer = Refacer(force_cpu=args.force_cpu)
File "D:\refacer\refacer.py", line 30, in init
self.__check_encoders()
File "D:\refacer\refacer.py", line 195, in check_encoders
commandout = subprocess.run(command, check=True, capture_output=True).stdout
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Не удается найти указанный файл