-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't generate video #3
Comments
Which version of moviepy have you installed ? |
I encountered the same error, I added the folder with ffmpeg.exe to my PATH. This problem seems to be caused by VideoFileClip not supporting the with syntax. Can you tell me which version of libraries I should use? |
I'm using moviepy 1.0.3 and for ffmpeg:
|
Could you try to run a very small script which does the following ?
|
This script worked fine.
This solved the above problem. After resolving this issue, I ran into another error.
Thank you. |
It could be related to the wrong version of insightface. You should use 0.7.3 and not 0.2.1. You can fix that by running |
After executing the command, insightface v0.7.3 was installed and it worked!
|
Hello, I can't get it to work,
I have two Auto1111 installs with torch 1.13 and 2.0 but it crashes on both,
Here's the output:
""" File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1299, in process_api
result = await self.call_function(
File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1022, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\AI\stable-diffusion-webui\extensions\vid-faceswap\scripts\vid_faceswap.py", line 67, in process_video
frames_data, fps, audio = video_reader(video_input, max_fps=max_fps if max_fps > 0 else None)
File "C:\AI\stable-diffusion-webui\extensions\vid-faceswap\scripts\video.py", line 11, in video_reader
return _ffmpeg_reader(file, max_fps)
File "C:\AI\stable-diffusion-webui\extensions\vid-faceswap\scripts\video.py", line 31, in _ffmpeg_reader
with VideoFileClip(file) as clip:
AttributeError: enter
"""
How can I fix it,
Best,
The text was updated successfully, but these errors were encountered: