wip
This commit is contained in:
parent
f88592f72b
commit
5a8c4f3ad3
@ -28,8 +28,10 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Driv
|
|||||||
);
|
);
|
||||||
|
|
||||||
const ffmpegconv = async ({ target: { files } }) => {
|
const ffmpegconv = async ({ target: { files } }) => {
|
||||||
|
os.toast('Start const ffmpegconv');
|
||||||
var infilename = files[0].name;
|
var infilename = files[0].name;
|
||||||
var outfilename = infilename.replace(/\.[^/.]+$/, '') + '.mp4';
|
var outfilename = infilename.replace(/\.[^/.]+$/, '') + '.mp4';
|
||||||
|
os.toast('Start await beffile');
|
||||||
const befFile = new Uint8Array(await readFromBlobOrFile(files[0]));
|
const befFile = new Uint8Array(await readFromBlobOrFile(files[0]));
|
||||||
os.toast('Loading FFmpeg.wasm')
|
os.toast('Loading FFmpeg.wasm')
|
||||||
if (!ffmpeg.isLoaded()) {
|
if (!ffmpeg.isLoaded()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user