Skip to content

Cap-go/capacitor-ffmpeg

@capgo/capacitor-ffmpeg

Capgo - Instant updates for capacitor

WIP Exposes the FFmpeg API to Capacitor We currently looking for the best way to make this work

Documentation

The most complete doc is available here: https://capgo.app/docs/plugins/ffmpeg/

Compatibility

Plugin version Capacitor compatibility Maintained
v8.*.* v8.*.*
v7.*.* v7.*.* On demand
v6.*.* v6.*.*
v5.*.* v5.*.*

Note: The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.

Install

npm install @capgo/capacitor-ffmpeg
npx cap sync

API

reencodeVideo(...)

reencodeVideo(options: { inputPath: string; outputPath: string; width: number; height: number; bitrate?: number; }) => Promise<void>
Param Type
options { inputPath: string; outputPath: string; width: number; height: number; bitrate?: number; }

getPluginVersion()

getPluginVersion() => Promise<{ version: string; }>

Get the native Capacitor plugin version

Returns: Promise<{ version: string; }>


About

Capacitor plugin to run ffmpeg locally on device

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Contributors