1.1.8 • Published 5 months ago

capacitor-audio-from-video v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

capacitor-audio-from-video

Exctract Audio from Video file

Install

npm install capacitor-audio-from-video
npx cap sync

API

extractAudio(...)

extractAudio(options: { path: string; outputPath: string; includeData?: boolean; }) => Promise<{ path: string; dataUrl?: string; }>
ParamType
options{ path: string; outputPath: string; includeData?: boolean; }

Returns: Promise<{ path: string; dataUrl?: string; }>


compressVideo(...)

compressVideo(options: { path: string; outputPath: string; width: number; height: number; bitrate: number; }) => Promise<{ path: string; }>
ParamType
options{ path: string; outputPath: string; width: number; height: number; bitrate: number; }

Returns: Promise<{ path: string; }>


addListener('compressProgress', ...)

addListener(eventName: 'compressProgress', listenerFunc: (event: { progress: number; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'compressProgress'
listenerFunc(event: { progress: number; }) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
1.1.8

5 months ago

1.1.7

5 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago