再使用 pyglossary 转换macOS Dictionary词典时, 我在使用speex转换语音文件发生了问题,还请各位朋友帮个忙看一下
参考 :Mdict to macOS Dictionary转换笔记 | Kaihao's Blog
我输入下面的命令 ,执行转换
find OtherResources -name "*.spx" -execdir sh -c 'spx={};speexdec $spx ${spx%.*}.wav' \;
在转换过程中,会用 vi 打开 .spx 文件 , 我保存后;
还有 .spx 文件使用 GNU nano 打开了,我对 GNU nano完全陌生不知道如何操作;
GNU nano 截图
如果有大神知道怎么操作, 麻烦告诉我一下。
这一步,我选择 Exit;
后续还有后缀名 .spx 文件被 vi 打开, 我选择保存操作。
后续有提示 ,没有这个文件或目录
Decoding 11025 Hz audio using narrowband mode (mono, VBR)
Encoded with Speex speex-1.2beta3
sh: Diego.spx: command not found
.wav: No such file or directory
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
sh: galaxy.spx: command not found
.wav: No such file or directory
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
sh: galaxy.spx: command not found
.wav: No such file or directory
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
提示: No such file or directory , 还在执行转换文件
Decoding 16000 Hz audio using wideband (sub-band CELP) mode (mono, VBR)
Encoded with Speex speex-1.2beta3
Druz.spx: No such file or directory
再提示 :Druz.spx: No such file or directory , 卡住了 没有反应
我执行 control + C
, 出现 :
不停的出现 ,stdin: Input/output error , 杀死iterm2 也无法停止