forked from xiaozhi/xiaozhi-esp32
* fix jiuchuan build problem * feat: Add locales with OGG sounds * fix building echoear * Support ogg files frame duration <= 60
4 lines
134 B
Bash
4 lines
134 B
Bash
#!/bin/sh
|
|
# mp3_to_ogg.sh <input_mp3_file> <output_ogg_file>
|
|
ffmpeg -i $1 -c:a libopus -b:a 16k -ac 1 -ar 16000 -frame_duration 60 $2
|