@lzwme/m3u8-dl
Version:
Batch download of m3u8 files and convert to mp4
12 lines (11 loc) • 354 B
TypeScript
import type { M3u8Crypto, TsItemInfo } from '../types/m3u8';
export declare function parseM3U8(content: string, url?: string, cacheDir?: string): Promise<{
manifest: any;
/** ts 文件数量 */
tsCount: number;
/** 总时长 */
durationSecond: number;
data: TsItemInfo[];
/** 加密相关信息 */
crypto: M3u8Crypto;
}>;