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/

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 4

  •  
  •  
  •  
  •