#728 Error opening output files: No such file or directory

*6ea0:d32f* Posted at: 3 hours ago 👁7

配音阶段出错:Error opening output file D:/win-videotrans/tmp/dubbing_cache/160-5390-1759148575.9074156-0.wav.

Error opening output files: No such file or directory[F5/Index/Spark/Dia TTS]:

Traceback (most recent call last):

File "videotrans\util\help_ffmpeg.py", line 275, in runffmpeg

File "subprocess.py", line 524, in run

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-y', '-i', 'D:/win-videotrans/tmp/205b796dfb/vocal.wav', '-ss', '00:00:00.160', '-to', '00:00:05.390', '-ar', '16000', 'D:/win-videotrans/tmp/dubbing_cache/160-5390-1759148575.9074156-0.wav']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

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 731, in _tts

File "videotrans\util\help_ffmpeg.py", line 733, in cut_from_audio

File "videotrans\util\help_ffmpeg.py", line 315, in runffmpeg

RuntimeError: Error opening output file D:/win-videotrans/tmp/dubbing_cache/160-5390-1759148575.9074156-0.wav.

Error opening output files: No such file or directory

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个问题是由于软件在配音阶段无法创建或访问临时音频文件导致的,具体原因是输出目录 D:/win-videotrans/tmp/dubbing_cache/ 不存在或没有写入权限。

解决方案:

1. 检查目录权限:确保软件安装目录 D:/win-videotrans/ 及其所有子目录有完全读写权限。右键点击该文件夹 → 属性 → 安全 → 检查当前用户是否有"完全控制"权限。

2. 手动创建目录:在文件资源管理器中手动创建缺失的目录 D:/win-videotrans/tmp/dubbing_cache/

3. 更改输出位置:在软件设置中将临时文件目录改为其他有写入权限的位置。

4. 关闭杀毒软件:临时关闭杀毒软件或安全软件,它们有时会阻止程序创建临时文件。

5. 以管理员身份运行:右键点击软件主程序,选择"以管理员身份运行"。

这个错误通常发生在Windows系统上,当软件尝试使用ffmpeg切割音频片段时,目标目录不存在或被系统权限阻止创建文件。按照上述步骤操作后,问题应该能够得到解决。

如果问题仍然存在,请检查软件目录下 logs 文件夹中的日志文件,查看是否有更多相关错误信息。

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

Similar issues already exist

Trending Questions