Skip to content
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

CompositeVideoClip error #113

Open
bengenseo opened this issue Sep 5, 2024 · 2 comments
Open

CompositeVideoClip error #113

bengenseo opened this issue Sep 5, 2024 · 2 comments

Comments

@bengenseo
Copy link

Traceback (most recent call last):
File "E:\AI\FunClip\fun_env\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "E:\AI\FunClip\fun_env\lib\site-packages\gradio\route_utils.py", line 321, in call_process_api
output = await app.get_blocks().process_api(
File "E:\AI\FunClip\fun_env\lib\site-packages\gradio\blocks.py", line 1935, in process_api
result = await self.call_function(
File "E:\AI\FunClip\fun_env\lib\site-packages\gradio\blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "E:\AI\FunClip\fun_env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "E:\AI\FunClip\fun_env\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "E:\AI\FunClip\fun_env\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "E:\AI\FunClip\fun_env\lib\site-packages\gradio\utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "E:\AI\FunClip\funclip\launch.py", line 113, in video_clip_addsub
return audio_clipper.video_clip(
File "E:\AI\FunClip\funclip\videoclipper.py", line 234, in video_clip
concate_clip = [video_clip]
TypeError: 'module' object is not callable

@tangweihui
Copy link

这个问题有解决么?遇到了一样的问题

@jaccborn
Copy link

jaccborn commented Sep 29, 2024

修改一下这个文件 videoclipper.py 最新版CompositeVideoClip的包位置

from moviepy.editor import VideoFileClip, concatenate_videoclips,CompositeVideoClip
# from moviepy.video.compositing import CompositeVideoClip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants