You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had similar issue (Next.js 14 with TS, @ffmpeg/ffmpeg ^0.12.15) but turns out FFFSType is already exported and this worked for me:
import{FFFSType}from"@ffmpeg/ffmpeg";awaitffmpeg.mount(FFFSType.WORKERFS,{files: [videoFile]},inputDir);// I was using this before and the type check would failawaitffmpeg.mount("WORKERFS",{files: [videoFile]},inputDir);
can't import that type, can't use
mount
properly without insane workaround in a next.js ts project#723
The text was updated successfully, but these errors were encountered: