Skip to content

Installation

Terminal window
npm install mediapipeline-sdk
  • Node.js 18 or newer.
  • npm.
  • ffmpeg installed and available on your system PATH.
Terminal window
brew install ffmpeg
Terminal window
sudo apt update
sudo apt install -y ffmpeg
Terminal window
ffmpeg -version

Cloudinary is only required when you want the SDK to upload generated HLS output instead of returning a local path.

const credentials = {
cloudName: "your-cloud-name",
apiKey: "your-api-key",
apiSecret: "your-api-secret",
};

If you want to run this documentation app locally after scaffolding it inside /docs:

Terminal window
cd docs
npm install
npm run dev