Skip to content

FileNotFoundError: Input video file not found: ./temp.mp4 #408

@thefreeman007

Description

@thefreeman007

在网页端生成后,一直提示词找不到临时文件?FileNotFoundError: Input video file not found: ./temp.mp4
起初以为是ffempg的问题,换了版本后发现根本不是。不知道为什么一直报错。。。写了很多print 打印出来都正常,除了没生成临时文件,怎么也解决不了。有大佬可以提示词一下怎么回事吗?到底是哪里配置错了

=== fast_check_ffmpeg ===
returncode = 0
stdout(head) = ffmpeg version 8.0.1-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 15.2.0 (
stderr(head) =
extracting landmarks...time consuming
reading images...
get key_landmark and face bounding boxes with the default value
bbox_shift parameter adjustment**************
Total frame:「200」 Manually adjust range : [ -14~14 ] , the current value: 0


reading images...
get key_landmark and face bounding boxes with the default value
start inference
pad talking image to original video
CWD: J:\MuseTalk-main
Expect temp.mp4 at: J:\MuseTalk-main\temp.mp4
Exists after write?: False
Traceback (most recent call last):
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\queueing.py", line 625, in process_events
response = await route_utils.call_process_api(
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\blocks.py", line 2137, in process_api
result = await self.call_function(
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\blocks.py", line 1663, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "D:\anaconda\envs\musetalk\lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\anaconda\envs\musetalk\lib\site-packages\anyio_backends_asyncio.py", line 2502, in run_sync_in_worker_thread
return await future
File "D:\anaconda\envs\musetalk\lib\site-packages\anyio_backends_asyncio.py", line 986, in run
result = context.run(func, *args)
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\utils.py", line 890, in wrapper
response = f(*args, **kwargs)
File "D:\anaconda\envs\musetalk\lib\site-packages\gradio\utils.py", line 890, in wrapper
response = f(*args, **kwargs)
File "D:\anaconda\envs\musetalk\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "J:\MuseTalk-main\app.py", line 375, in inference
raise FileNotFoundError(f"Input video file not found: {input_video}")
FileNotFoundError: Input video file not found: ./temp.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions