creek-ffmpeg
v1.0.8
Published
音视频格式转换服务
Readme
creek-ffmpeg
音视频格式转换服务
QuickStart
see [egg docs][egg] for more detail.
Development
$ npm i
$ npm run dev
$ open http://localhost:7001/ffmpeg -i liu.caf -ac 1 liumcaf.mp3
ffmpeg -acodec aac -ac 2 -i liu.m4a liu.mp3
ffmpeg -i 1.mov -vcodec h264 -s 1280x768 -acodec copy out.mp4
Deploy
peerDependencie 安装ffmpeg
libmp3lame 下载地址:https://www.dll-files.com/libmp3lame.dll.html
$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
$ cd ffmpeg
$ ./configure --enable-libmp3lame --enable-libopenh264 --enable-libfdk-aac
$ make
$ make install
$ ffmpeg -version启动服务
$ npm start
$ npm stopnpm scripts
- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade, see autod for more detail.
FFMPEG Option
https://kaisawind.gitee.io/2019/11/19/2019-11-19-ffmpeg-options/
