我正在使用快速入门中的以下命令运行 LIUM 8.4.1 Jar:
java -Xmx2024m -jar ../diarization/lium_spkdiarization-8.4.1.jar --fInputMask=./pcd.wav --sOutputMask=./showName.seg --doCEClustering showName
但是,该程序失败并出现以下不支持的音频文件异常。这个错误是如何出现的,我缺少什么来解决它?我的设置是从源代码安装 cmusphinx4,然后下载 lium jar。
Diarization INFO | Diarization tuning {main() / 10}
Diarization INFO | Initialize segmentation {initialize() / 10}
MainTools FINER | showName=showName {splitHypotesis() / 10}
Diarization FINER | ------------------------------------------- {run() / 11}
Diarization FINER | --- showName --- {run() / 11}
Diarization FINER | ------------------------------------------- {run() / 11}
SEVERE AudioFeatureSetFa UnsupportedAudioFileException
javax.sound.sampled.UnsupportedAudioFileException: file is not a supported file type
at javax.sound.sampled.AudioSystem.getAudioFileFormat(AudioSystem.java:1059)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.getAudio(AudioFeatureSetFactory.java:162)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeFeature(AudioFeatureSetFactory.java:207)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeMFCCFeature(AudioFeatureSetFactory.java:255)
at fr.lium.spkDiarization.libFeature.AudioFeatureSet.read(AudioFeatureSet.java:898)
at fr.lium.spkDiarization.libFeature.AudioFeatureSet.setCurrentShow(AudioFeatureSet.java:1322)
at fr.lium.spkDiarization.system.Diarization.ester2Diarization(Diarization.java:719)
at fr.lium.spkDiarization.system.Diarization.run(Diarization.java:634)