我正在使用快速入门中的此命令运行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)