Skip to content

@capgo/capacitor-ffmpeg

Video encoding and processing powered by FFmpeg for compression and conversion

Video encoding and processing powered by FFmpeg for compression and conversion

Start with getCapabilities() and the other core methods listed below.

PlatformSupportNotes
iOSYesNative
AndroidYesNative
WebNoGuard with Capacitor.getPlatform()
  • 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.
MethodDescription
getCapabilitiesReturn the machine-readable capability matrix for the current platform.
reencodeVideoQueue a video re-encode job.
convertImageConvert a still image into another format.
convertAudioConvert audio into another container or codec.
addListenerListen for media job progress.
getPluginVersionGet the plugin package version reported by the current platform implementation.

This reference is synced from src/definitions.ts in 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.