Installation
Package Installation
Section titled “Package Installation”npm install mediapipeline-sdkRuntime Requirements
Section titled “Runtime Requirements”- Node.js 18 or newer.
- npm.
- ffmpeg installed and available on your system PATH.
Install ffmpeg
Section titled “Install ffmpeg”brew install ffmpegUbuntu or Debian
Section titled “Ubuntu or Debian”sudo apt updatesudo apt install -y ffmpegVerify ffmpeg
Section titled “Verify ffmpeg”ffmpeg -versionOptional Cloudinary Setup
Section titled “Optional Cloudinary Setup”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",};Documentation Site Commands
Section titled “Documentation Site Commands”If you want to run this documentation app locally after scaffolding it inside /docs:
cd docsnpm installnpm run dev