漫步云海涧 发表于 2021-8-31 09:54:49

speex 转换语音文件出现问题请求帮助

我在使用 pyglossary 转换macOS Dictionary词典时, 需要使用speex转换语音文件发生了问题

我根据这个博客执行的 https://kaihao.io/2018/mdict-to-macos-dictionary/

find OtherResources -name "*.spx" -execdir sh -c 'spx={};speexdec $spx${spx%.*}.wav' \;


在转换过程中,iterm2 会用 vi 打开新的 spx文件 , 我保存了, 接下来有个 spx文件使用 GNU nano 打开了,我对 GNU nano完全陌生不知道如何操作




我退出了这个文件, 接下来还有几个进入vi的spx文件,我都一一保存了, 最后提示
sh: galaxy.spx: command not found
.wav: No such file or directory

Encoded with Speex speex-1.2beta3
sh: and: command not found
.wav: No such file or directory

sh: address.spx: command not found
.wav: No such file or directory

sh: man.spx: command not found
.wav: No such file or directory

sh: Mountains.spx: command not found
.wav: No such file or directory

Druz.spx: No such file or directory




这一系列 报错, 在提示没有galaxy.spx 这个文件还会继续执行下去

在遇到 没有Druz.spx 文件时卡住了 ,按 回车键 出现下面这样



在我使用 control + C 终止退出时, 出现 stdin: Input/output error ,不停的运行 ,每运行一次就出现一行stdin: Input/output error,




我从后台杀掉进程,再度打开iterm2 还会恢复这个会话,
最后我从iterm2 内设置了不恢复会话 才解决。





孤影 发表于 2021-8-31 19:23:17

本帖最后由 孤影 于 2021-8-31 10:24 编辑

我都是用foobar2000转的

漫步云海涧 发表于 2021-9-1 12:15:17

我没说我的系统是macOS吗?
页: [1]
查看完整版本: speex 转换语音文件出现问题请求帮助