Node.js simple ffmpeg wrapper


Keywords
ffmpeg, video, audio, image, media, nodejs, npm, player
License
MIT
Install
npm install simplemedia@0.3.17

Documentation

Prerequisites

apt install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libsdl2-dev

(or brew)

Install

npm i simplemedia --save

Example

See example/

(Optional) Native only build

cd native;
mkdir build; cd buiild
cmake .. && make

You'll probably get a binary named mediaplayer Simply, try to run it with a media file

./mediaplayer /path/to/file