引用:imtudou 发表于 2022-08-26 16:37 嗯嗯 ,就是用到了ffmpeg将AMR音频转码MP3的能力,没有别的依赖 |
引用:JackJiang 发表于 2022-08-26 15:12 Could not find ffmpeg executable for native/ffmpeg-amd64 is the correct platform jar included? 根据这个报错,安装一下3个依赖之后,解决了! <!-- [url]https://mvnrepository.com/artifact/ws.schild/jave-core[/url] --> <dependency> <groupId>ws.schild</groupId> <artifactId>jave-core</artifactId> <version>2.4.4</version> </dependency> <!-- [url]https://mvnrepository.com/artifact/ws.schild/jave-native-osx64[/url] --> <dependency> <groupId>ws.schild</groupId> <artifactId>jave-native-osx64</artifactId> <version>2.4.4</version> </dependency> <!-- [url]https://mvnrepository.com/artifact/ws.schild/jave-native-linux64[/url] --> <dependency> <groupId>ws.schild</groupId> <artifactId>jave-native-linux64</artifactId> <version>2.4.4</version> </dependency> |
播放这个语音文件时,你立即看一下RainbowChatServer里的log4j生成的日志,看看是否是服务端amr转mp3文件失败导致的。 日志抓的详细一点 |