mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 09:33:55 +08:00
fixed:windows平台opus包缺失问题
This commit is contained in:
+17
-1
@@ -172,7 +172,7 @@ is very useful, and it is required to `compile esp32 firmware` later.
|
||||
|
||||
### 1.Install Prerequisites
|
||||
|
||||
This project relies on `ffmpeg`, `libopus-dev`, and `conda`. After installation, it starts executing the following
|
||||
This project uses `conda` to manage the dependent environment, and after installation, it starts executing the following
|
||||
commands.
|
||||
|
||||
```
|
||||
@@ -181,6 +181,20 @@ conda create -n xiaozhi-esp32-server python=3.10 -y
|
||||
conda activate xiaozhi-esp32-server
|
||||
```
|
||||
|
||||
If your computer is Windows, execute:
|
||||
|
||||
```
|
||||
conda activate xiaozhi-esp32-server
|
||||
conda install conda-forge::libopus
|
||||
conda install conda-forge::ffmpeg
|
||||
```
|
||||
|
||||
If your computer is ubuntu, execute:
|
||||
|
||||
```
|
||||
apt-get install libopus0 ffmpeg
|
||||
```
|
||||
|
||||
### 2.Install Dependencies
|
||||
|
||||
```
|
||||
@@ -384,3 +398,5 @@ VAD:
|
||||
- Thanks to [Tencent Cloud] (https://cloud.tencent.com/) for providing free docker space for this project。
|
||||
- Thanks to [tenclass](https://www.tenclass.com/)Provide adequate documentation support on Xiaozhi Communication
|
||||
Protocol。
|
||||
|
||||
[](https://star-history.com/#xiaozhi-esp32-server/xiaozhi-esp32-server&Date)
|
||||
|
||||
Reference in New Issue
Block a user