Open zyzdai opened 7 months ago
An unknown error occurred. Details: Error: Command failed: ffmpeg -y -i "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav" -acodec pcm_s16le -f s16le -ac 1 -ar 24000 "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav.wav" -loglevel error /bin/sh: ffmpeg: command not found 插件代码在windows环境下可完美运行。
An unknown error occurred. Details: Error: Command failed: /usr/local/bin/ffmpeg -y -i "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav" -acodec pcm_s16le -f s16le -ac 1 -ar 24000 "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav.wav" -loglevel error /bin/sh: /usr/local/bin/ffmpeg: Operation not permitted
the same problem
考虑在新版本允许mac设备指定ffmpeg位置
第一个报错应该可以通过环境变量相关的设置解决,第二个报错可能是权限问题?MacOS上可能会禁止应用执行外部命令,但是我目前没有Mac设备,因此无法进行相关测试。
+1 https://github.com/xtaw/LiteLoaderQQNT-Audio-Sender/issues/21
An unknown error occurred. Details: Error: Command failed: ffmpeg -y -i "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav" -acodec pcm_s16le -f s16le -ac 1 -ar 24000 "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav.wav" -loglevel error /bin/sh: ffmpeg: command not found 插件代码在windows环境下可完美运行。
An unknown error occurred. Details: Error: Command failed: /usr/local/bin/ffmpeg -y -i "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav" -acodec pcm_s16le -f s16le -ac 1 -ar 24000 "/Users/zyzdai/Library/Containers/com.tencent.qq/Data/Documents/LiteLoader/data/text_to_speech/tts.wav.wav" -loglevel error /bin/sh: /usr/local/bin/ffmpeg: Operation not permitted