먼저 ffmpeg를 사용하기 위해서는 ffmpeg가 사용하는곳에서 깔려있어야합니다.
https://ffmpeg.org/download.html
Download FFmpeg
If you find FFmpeg useful, you are welcome to contribute by donating. More downloading options Git Repositories Since FFmpeg is developed with Git, multiple repositories from developers and groups of developers are available. Releases Approximately every 6
ffmpeg.org
여기서 get the package에서 사용중인 운영체제의 패키지를 받으시면 됩니다.
이미지를 인코딩 하여 비디오로 만들기 위해서 사용한 패키지들 입니다.
npm install --save @ffmpeg-installer/ffmpeg
npm install --save @ffprobe-installer/ffprobe
npm install fluent-ffmpeg
npm install -g videoshow
https://www.npmjs.com/package/@ffmpeg-installer/ffmpeg
@ffmpeg-installer/ffmpeg
Platform independent binary installer of FFmpeg for node projects
www.npmjs.com
https://github.com/SavageCore/node-ffprobe-installer
SavageCore/node-ffprobe-installer
Platform independent binary installer of FFprobe for node projects - SavageCore/node-ffprobe-installer
github.com
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg
fluent-ffmpeg/node-fluent-ffmpeg
A fluent API to FFMPEG (http://www.ffmpeg.org). Contribute to fluent-ffmpeg/node-fluent-ffmpeg development by creating an account on GitHub.
github.com
https://github.com/h2non/videoshow
h2non/videoshow
Simple node.js utility to create video slideshows from images with optional audio and visual effects using ffmpeg - h2non/videoshow
github.com
패키지들을 사용하며 참고했던 사이트들 입니다.
각 패키지들의 기능에 대한 설명들이 잘 나와있습니다.
코드는 간단합니다!

images 부분에는 이미지가 있는 경로를 넣으셔야됩니다.
댓글