Project Introduction
Video Transcoding Service
Environment Requirements
ffmpeg 6.1+ Audio and video processing (download address http://www.ffmpeg.org/download.html)
node v18.19.0+
yarn 1.22.17+
redis 5.0+
Initial Installation
bash
// Pull code
$ git clone https://***/video/convert.git
$ cd convert
// Configure config, local .env
$ cp .env.example .env # Copy .env.example to .env and configure values
Note:
Resource domain configuration, Redis configuration, and Alibaba Cloud OSS configuration must be consistent with the .env configuration of the server service
// Install dependencies, if yarn is not available, install it first: $ npm install -g yarn
$ yarn
// Start project in service mode
$ yarn start
// Start project with pm2
$ yarn pm2