/nodejs-ffmpeg

A proof of concept of a collaboration between nodejs and ffmpeg

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Node and FFMPEG communication

A proof of concept that allows you to embed any ffmpeg command line arguments into a nodejs application. Add additional routing, file uploading and downloading and you can make an interface around ffmpeg on a page. Without being able to see their source code, I suspect websites such as freeconvert take this approach to facilitate some of their services.

Libraries

The proof of concept relies on one library:

Demo data

The demo data are mp4s of the game Supreme Comamnder: Forged Alliance, maintained by Forged Alliance Forever. Specifically, it is about this pull request. The example works out of the box with any data, as long as:

  • They use the same encoding
  • They are of the same resolution

The file order.txt defines the order in which the files are concatenated.