#945 FileNotFoundError: [Errno 2] No such file or directory: 'F:/video/new/1/Free Far Sight add on alternative (Noggit Red) w

160.30* Posted at: 17 hours ago 👁11

配音阶段出错:文件未找到: F:/video/new/1/Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/segment_audio_Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/1-好的,我们现在在Nogget Red里,这个工具很适合用来截图、获取背景、录制视频素材,所以我想重点介绍它的几个关键功能.wav[F5/Index/Spark/Dia TTS]:

Traceback (most recent call last):

File "videotrans\task\job.py", line 160, in run

File "videotrans\task\trans_create.py", line 487, in dubbing

File "videotrans\task\trans_create.py", line 758, in _tts

File "shutil.py", line 434, in copy2

File "shutil.py", line 256, in copyfile

FileNotFoundError: [Errno 2] No such file or directory: 'F:/video/new/1/Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/segment_audio_Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/1-好的,我们现在在Nogget Red里,这个工具很适合用来截图、获取背景、录制视频素材,所以我想重点介绍它的几个关键功能.wav'

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 Gemini 回复
您好!这个 FileNotFoundError 错误通常是由于 Windows 系统对文件路径长度的限制(MAX_PATH 限制,通常为 260 个字符),或者路径中包含过多特殊字符、空格和中文导致的。pyVideoTrans 在处理过程中会生成一些临时文件,如果这些临时文件的路径过长,就会导致系统无法找到或创建这些文件。

您提供的错误路径:F:/video/new/1/Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/segment_audio_Free Far Sight add on alternative (Noggit Red) world of warcraft wow model viewer machinima/1-好的,我们现在在Nogget Red里,这个工具很适合用来截图、获取背景、录制视频素材,所以我想重点介绍它的几个关键功能.wav 确实非常长且复杂。

请尝试以下步骤来解决这个问题:

1. 缩短输入文件路径: 将您的原始视频文件移动到一个非常短且简单的路径下,例如 F:/temp/input.mp4D:/video/my_clip.mp4

2. 简化文件名: 确保原始视频文件名也尽量简短,只包含英文字母和数字,避免空格和特殊字符。

3. 选择短的输出目录:pyVideoTrans 界面设置的输出目录也应尽量简短,例如 F:/output

通过以上方法,可以有效避免因路径过长或路径字符复杂导致的 FileNotFoundError

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