Home > @infiniteobjects/ffmpeg > optimizeForWeb
Optimizes the video for web use. (h264, 24pfs, 1080p max)
Signature:
export declare function optimizeForWeb(filePath: string): Promise<string>;
| Parameter | Type | Description |
|---|---|---|
| filePath | string |
Returns:
Promise<string>