#1794 TaskCfg(cache_folder='D:/videotrans/tmp17580/81fdcf4ed6', target_dir='C:/Users/Administrator/Downloads/_video_out/JJ Red

50.7* Posted at: 3 days ago 👁19

语音识别阶段出错:[faster-whisper(本地)] 文件不存在:C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a.srt:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\trans_create.py", line 373, in recogn
File "videotrans\task\trans_create.py", line 257, in _recogn_succeed
File "shutil.py", line 434, in copy2
File "shutil.py", line 256, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a.srt'

TaskCfg(cache_folder='D:/videotrans/tmp17580/81fdcf4ed6', target_dir='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='英语', source_language_code='en', target_language_code='en', source_sub='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/en.srt', target_sub='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/en.srt', source_wav='D:/videotrans/tmp17580/81fdcf4ed6/en.wav', source_wav_output='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/en.m4a', target_wav='D:/videotrans/tmp17580/81fdcf4ed6/target.wav', target_wav_output='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/en.m4a', subtitles='', novoice_mp4='D:/videotrans/tmp17580/81fdcf4ed6/novoice.mp4', noextname='JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a', shibie_audio=None, targetdir_mp4='C:/Users/Administrator/Downloads/_video_out/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/Administrator/Downloads/JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a.mp4', basename='JJ Redick reacts to Lakers’ buzzer-beating win, the end of LeBron’s streak NBA on ESPN-1920x1080-avc1-mp4a.mp4', ext='mp4', dirname='C:/Users/Administrator/Downloads', shound_del_name=None, uuid='81fdcf4ed6', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0)


=
system:Windows-10-10.0.19045-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/videotrans

1 Replies

错误原因是输出路径过长且包含空格和特殊字符,导致软件无法正常创建或访问文件。根据核心知识库的路径限制原则,请按以下步骤解决:

  1. 重命名源文件:将视频文件重命名为一个简短的英文名(例如 video.mp4)。
  2. 移动文件位置:将重命名后的文件移动到根目录或一个简短的英文路径下(例如 D:/video.mp4)。
  3. 重新处理:在软件中导入这个位于新路径下的文件进行处理。

根本原因:软件在处理包含长文件名、空格、单引号()等特殊字符的路径时,文件操作可能会失败。错误日志显示软件试图在 C:/Users/.../JJ Redick reacts to Lakers’ buzzer-beating win... 这样的复杂路径下创建 .srt 文件,但未能成功。

遵循“路径严禁包含中文、空格或特殊符号”的原则即可解决此问题。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions