UNPKG

ffmpeg-progress-wrapper

Version:

A simple wrapper that helps with determinng the progress of the ffmpeg conversion

14 lines (13 loc) 493 B
import { Status } from "pidusage"; export declare function humanTimeToMS(text: string): number; export declare function pidToResourceUsage(pid: number): Promise<Status>; export declare namespace Parse { function getDuration(text: string): null | number; function getStart(text: string): number; function getRes(text: string): { width: number; height: number; }; function getFPS(text: string): number; function getBitrate(text: string): number | null; }