install ffmpeg node code example
Example 1: install ffmpeg ubuntu
# On Ubuntu 18.04
$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
$ sudo apt install ffmpeg
# check version
$ ffmpeg --version
# You can download Windows builds from ffmpeg site.
Example 2: node ffmpeg
npm install ffmpeg