#4777 RuntimeError: submitting a packet to the muxer: No space left on device muxing a packet writing trailer: No space left o

103.172* Posted at: 13 hours ago

submitting a packet to the muxer: No space left on device muxing a packet writing trailer: No space left on device closing file: No space left on device
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 57, in runffmpeg
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', 'E:/0DayDown/教程_Tutorials/Unreal/Unreal Generalist- Houdini Procedural Environment/video/1 - Landscape/1. Starting our landscape in Gaea.mp4', '-vn', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'D:/win-pyvideotrans-v3.99-428/tmp/58180/60323d310f/en.wav']' returned non-zero exit status 4294967268.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_mult_video.py", line 35, in run
File "videotrans\task\trans_create.py", line 267, in prepare
File "videotrans\task\trans_create.py", line 932, in _split_audio_byraw
File "videotrans\util\help_ffmpeg.py", line 86, in runffmpeg
RuntimeError: submitting a packet to the muxer: No space left on device muxing a packet writing trailer: No space left on device closing file: No space left on device


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.99-428

1 Replies

该错误的核心原因在于磁盘空间不足。ffmpeg 在执行音频提取时无法写入临时文件,直接报 No space left on device

解决方案:

  1. 清理临时文件夹:关闭软件后,手动删除软件根目录下的 tmp 文件夹内的所有内容(该文件夹会缓存大量中间文件)。
  2. 检查磁盘可用空间:确保存放 tmp 文件夹及输出目录的磁盘有足够剩余空间(至少保留 10GB 以上)。
  3. 关闭“视频慢速”:如果你在主界面或高级选项中启用了 视频慢速,建议取消勾选。该功能会产生大量临时片段,极易撑满硬盘。
  4. 修改视频路径:你的源视频路径非常长且包含中文、空格、英文特殊字符(E:/0DayDown/教程_Tutorials/Unreal/...),极长的路径会加重 ffmpeg 命令行长度限制并可能导致意外失败。建议将视频复制到简短纯英文路径(如 D:/video/landscape.mp4)后重新运行。

请查阅相关文档:

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.

Related resource