We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d4fbc3 + 20c7700 commit 233e2f1Copy full SHA for 233e2f1
README.md
@@ -66,7 +66,7 @@ const ffmpeg = createFFmpeg({ log: true });
66
await ffmpeg.load();
67
ffmpeg.FS('writeFile', 'test.avi', await fetchFile('./test.avi'));
68
await ffmpeg.run('-i', 'test.avi', 'test.mp4');
69
- fs.writeFileSync('./test.mp4', ffmpeg.FS('readFile', 'test.mp4'));
+ await fs.promises.writeFile('./test.mp4', ffmpeg.FS('readFile', 'test.mp4'));
70
process.exit(0);
71
})();
72
```
0 commit comments