mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-28 19:43:53 +08:00
fixed:windows平台opus包缺失问题
This commit is contained in:
@@ -162,13 +162,22 @@ docker rmi ccr.ccs.tencentyun.com/xinnan/xiaozhi-esp32-server:latest
|
|||||||
|
|
||||||
### 1.安装基础环境
|
### 1.安装基础环境
|
||||||
|
|
||||||
本项目依赖`ffmpeg`、`libopus-dev`、`conda`,安装好后开始执行以下命令。
|
本项目使用`conda`管理依赖环境,安装好后开始执行以下命令。
|
||||||
|
|
||||||
```
|
```
|
||||||
conda remove -n xiaozhi-esp32-server --all -y
|
conda remove -n xiaozhi-esp32-server --all -y
|
||||||
conda create -n xiaozhi-esp32-server python=3.10 -y
|
conda create -n xiaozhi-esp32-server python=3.10 -y
|
||||||
conda activate xiaozhi-esp32-server
|
conda activate xiaozhi-esp32-server
|
||||||
```
|
```
|
||||||
|
如果你的电脑是windows,执行:
|
||||||
|
```
|
||||||
|
conda activate xiaozhi-esp32-server
|
||||||
|
conda install conda-forge::libopus
|
||||||
|
conda install conda-forge::ffmpeg
|
||||||
|
```
|
||||||
|
如果你的电脑是ubuntu,执行:
|
||||||
|
```
|
||||||
|
apt-get install libopus0 ffmpeg
|
||||||
|
```
|
||||||
|
|
||||||
### 2.安装本项目依赖
|
### 2.安装本项目依赖
|
||||||
|
|
||||||
@@ -350,4 +359,6 @@ VAD:
|
|||||||
|
|
||||||
- 本项目受[百聆语音对话机器人](https://github.com/wwbin2017/bailing)项目启发,基于该项目的基础思路完成实现。
|
- 本项目受[百聆语音对话机器人](https://github.com/wwbin2017/bailing)项目启发,基于该项目的基础思路完成实现。
|
||||||
- 感谢[腾讯云](https://cloud.tencent.com/)为本次项目提供免费docker镜像空间。
|
- 感谢[腾讯云](https://cloud.tencent.com/)为本次项目提供免费docker镜像空间。
|
||||||
- 感谢[十方融海](https://www.tenclass.com/)在小智通讯协议上提供充分的文档支持。
|
- 感谢[十方融海](https://www.tenclass.com/)在小智通讯协议上提供充分的文档支持。
|
||||||
|
|
||||||
|
[](https://star-history.com/#xiaozhi-esp32-server/xiaozhi-esp32-server&Date)
|
||||||
|
|||||||
+17
-1
@@ -172,7 +172,7 @@ is very useful, and it is required to `compile esp32 firmware` later.
|
|||||||
|
|
||||||
### 1.Install Prerequisites
|
### 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.
|
commands.
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -181,6 +181,20 @@ conda create -n xiaozhi-esp32-server python=3.10 -y
|
|||||||
conda activate xiaozhi-esp32-server
|
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
|
### 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 [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
|
- Thanks to [tenclass](https://www.tenclass.com/)Provide adequate documentation support on Xiaozhi Communication
|
||||||
Protocol。
|
Protocol。
|
||||||
|
|
||||||
|
[](https://star-history.com/#xiaozhi-esp32-server/xiaozhi-esp32-server&Date)
|
||||||
|
|||||||
Reference in New Issue
Block a user