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

【错误】[视频识别] 的错误 #74

Open
sdyby2006 opened this issue Oct 15, 2024 · 0 comments
Open

【错误】[视频识别] 的错误 #74

sdyby2006 opened this issue Oct 15, 2024 · 0 comments
Labels
【错误/BUG】 出现了某种错误

Comments

@sdyby2006
Copy link

操作系统

Windows11

项目版本

No response

Python版本

Python 3.11.9

错误描述

上传视频后进行视频识别时报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。

重现步骤

1.第一步 进入视频识别
2.第二步 上传视频文件(mp4格式)
3.第三部 开始识别(这时候报错)

错误截图

📂 本次任务目录: G:\SoftWare\AAVT0.9.0_Win/cache/video/1_20241015153547
⚠️ 请不要在任务运行期间切换菜单或修改参数!
2024-10-15 15:35:47.600 Uncaught app exception
Traceback (most recent call last):
  File "G:\SoftWare\AAVT0.9.0_Win\utils\public.py", line 50, in FileToMp3
    subprocess.run(command, check=True)
  File "D:\DevEnv\Python\Python3.11\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\DevEnv\Python\Python3.11\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "D:\DevEnv\Python\Python3.11\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "G:\SoftWare\AAVT0.9.0_Win\env\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 85, in exec_func_with_error_handling
    result = func()
             ^^^^^^
  File "G:\SoftWare\AAVT0.9.0_Win\env\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 576, in code_to_exec
    exec(code, module.__dict__)
  File "G:\SoftWare\AAVT0.9.0_Win\Chenyme-AAVT.py", line 42, in <module>
    pg.run()
  File "G:\SoftWare\AAVT0.9.0_Win\env\Lib\site-packages\streamlit\navigation\page.py", line 291, in run
    exec(code, module.__dict__)
  File "G:\SoftWare\AAVT0.9.0_Win\page\project\video.py", line 509, in <module>
    FileToMp3(log_setting, f"{output_file}/{st.session_state.srt_name}", output_file)
  File "G:\SoftWare\AAVT0.9.0_Win\utils\public.py", line 57, in FileToMp3
    raise EOFError(f"发生错误!可能是 FFmpeg 未被正确配置或上传文件格式不受支持。详细信息: {e}")
EOFError: 发生错误!可能是 FFmpeg 未被正确配置或上传文件格式不受支持。详细信息: [WinError 2] 系统找不到指定的文件。

其他信息(可选)

No response

@sdyby2006 sdyby2006 added the 【错误/BUG】 出现了某种错误 label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
【错误/BUG】 出现了某种错误
Projects
None yet
Development

No branches or pull requests

1 participant