ffprobe2deprecated

A simple wrapper around ffprobe written in NodeJS.

Usage no npm install needed!

<script type="module">
  import ffprobe2 from 'https://cdn.skypack.dev/ffprobe2';
</script>

README

ffprobe2

A simple wrapper around ffprobe written in NodeJS. Will support sync and async execution. Also, the main reason why I wrote execSync2.

Why?

Because the ffprobe module doesn't support synchronous execution. That's great when you only need to analyze 1 file with ffprobe. Or 10, or 20. But a regular media library contains far more than 20 media files. And at some point you'll exceed your systems maximum number of spawned child processes (mine was about 700).

Installation

You have to install ffmpeg first.