stack

Home > @infiniteobjects/ffmpeg > optimizeForWeb

optimizeForWeb() function

Optimizes the video for web use. (h264, 24pfs, 1080p max)

Signature:

export declare function optimizeForWeb(filePath: string): Promise<string>;

Parameters

Parameter Type Description
filePath string  

Returns:

Promise<string>