Skip to content

项目介绍

video 转码服务

环境要求

ffmpeg 6.1+ 音视频处理(下载地址 http://www.ffmpeg.org/download.html)
node v18.19.0+ 
yarn 1.22.17+
reids 5.0+  

初始安装

bash
//拉取代码
$ git clone https://***/video/convert.git

$ cd convert

//配置config,本地.env
$ cp .env.example .env    # 复制.env.example 为 .env ,并配置值

注意:
资源域名配置、redis配置、阿里云OSS配置  必须和 server服务的.env配置一致


//安装依赖,如果没有 yarn 则先安装 $ npm install -g yarn 
$ yarn

//服务模式启动项目
$ yarn start

//pm2 启动项目
$ yarn pm2

Powered by 四川爱趣五科技有限公司.蜀ICP备18034069号.