This commit is contained in:
sim1222 2022-01-28 00:08:55 +09:00
parent f88592f72b
commit 5a8c4f3ad3

View File

@ -28,8 +28,10 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Driv
);
const ffmpegconv = async ({ target: { files } }) => {
os.toast('Start const ffmpegconv');
var infilename = files[0].name;
var outfilename = infilename.replace(/\.[^/.]+$/, '') + '.mp4';
os.toast('Start await beffile');
const befFile = new Uint8Array(await readFromBlobOrFile(files[0]));
os.toast('Loading FFmpeg.wasm')
if (!ffmpeg.isLoaded()) {