vid-faceswap
vid-faceswap copied to clipboard
MoviePy error: FFMPEG encountered Permission denied
Hi,
seems to be a great extention, thank you for sharing!
Sadly after propper installation like described in Readme, I always run in Permission denied errors when it wants to create a video.
I'm running: Win10 Python 3.10.6 SD/Automatic1111 Version: v1.5.2 moviepy-1.0.3 imageio-ffmpeg-0.4.2
My guess would be the "write to temp-folder" method in moviepy was modified.
Could you please suggest Module-Versions you use?
Regards Rene
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1323, in process_api
result = await self.call_function(
File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "C:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\stable-diffusion-webui\extensions\vid-faceswap\scripts\vid_faceswap.py", line 158, in process_video
video_writer(video_file, swapped_frames, fps, audio)
File "C:\stable-diffusion-webui\extensions\vid-faceswap\scripts\video.py", line 47, in video_writer
clip.write_videofile(file, audio_codec='aac', fps=clip.fps)
File "
MoviePy error: FFMPEG encountered the following error while writing file /20230926112719130348 fuuuck11313139.mp4:
b'/20230926112719130348 fuuuck11313139.mp4: Permission denied\r\n'