@capgo/capacitor-ffmpeg
Video encoding and processing powered by FFmpeg for compression and conversion
Overview
Section titled “Overview”Video encoding and processing powered by FFmpeg for compression and conversion
Start with getCapabilities() and the other core methods listed below.
Platform support
Section titled “Platform support”| Platform | Support | Notes |
|---|---|---|
| iOS | Yes | Native |
| Android | Yes | Native |
| Web | No | Guard with Capacitor.getPlatform() |
Core Capabilities
Section titled “Core Capabilities”getCapabilities- Return the machine-readable capability matrix for the current platform.reencodeVideo- Queue a video re-encode job.convertImage- Convert a still image into another format.convertAudio- Convert audio into another container or codec.
Public API
Section titled “Public API”| Method | Description |
|---|---|
getCapabilities | Return the machine-readable capability matrix for the current platform. |
reencodeVideo | Queue a video re-encode job. |
convertImage | Convert a still image into another format. |
convertAudio | Convert audio into another container or codec. |
addListener | Listen for media job progress. |
getPluginVersion | Get the plugin package version reported by the current platform implementation. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-ffmpeg.
Keep going from @capgo/capacitor-ffmpeg
Section titled “Keep going from @capgo/capacitor-ffmpeg”If you are using @capgo/capacitor-ffmpeg to plan dashboard and API operations, connect it with Using @capgo/capacitor-ffmpeg for the native capability in Using @capgo/capacitor-ffmpeg, API Overview for the implementation detail in API Overview, Introduction for the implementation detail in Introduction, API Keys for the implementation detail in API Keys, and Devices for the implementation detail in Devices.