From c278b8dfe902ea65dbb7793ca420fbf9a164ac21 Mon Sep 17 00:00:00 2001 From: Jerome Wu Date: Fri, 30 Sep 2022 17:24:23 +0800 Subject: [PATCH] Fix node-ts --- apps/node-ts/ffmpeg/help.ts | 2 +- apps/node-ts/ffmpeg/transcode-audio.ts | 2 +- apps/node-ts/ffmpeg/transcode-video.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/node-ts/ffmpeg/help.ts b/apps/node-ts/ffmpeg/help.ts index 9347292..195e3cc 100644 --- a/apps/node-ts/ffmpeg/help.ts +++ b/apps/node-ts/ffmpeg/help.ts @@ -1,4 +1,4 @@ -import createFFmpeg from "@ffmpeg/ffmpeg"; +import createFFmpeg from "@ffmpeg/core"; void (async () => { const ffmpeg = await createFFmpeg(); diff --git a/apps/node-ts/ffmpeg/transcode-audio.ts b/apps/node-ts/ffmpeg/transcode-audio.ts index fde55c8..85c5fad 100644 --- a/apps/node-ts/ffmpeg/transcode-audio.ts +++ b/apps/node-ts/ffmpeg/transcode-audio.ts @@ -1,6 +1,6 @@ import fs from "node:fs"; import path from "node:path"; -import createFFmpeg from "@ffmpeg/ffmpeg"; +import createFFmpeg from "@ffmpeg/core"; void (async () => { const wav = Uint8Array.from( diff --git a/apps/node-ts/ffmpeg/transcode-video.ts b/apps/node-ts/ffmpeg/transcode-video.ts index db80724..fb02f0a 100644 --- a/apps/node-ts/ffmpeg/transcode-video.ts +++ b/apps/node-ts/ffmpeg/transcode-video.ts @@ -1,6 +1,6 @@ import fs from "node:fs"; import path from "node:path"; -import createFFmpeg from "@ffmpeg/ffmpeg"; +import createFFmpeg from "@ffmpeg/core"; void (async () => { const avi = Uint8Array.from(