Merge pull request #1 from caugner/patch-1

Thanks!
This commit is contained in:
jeromewu
2019-10-31 09:32:04 +08:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ const worker = createWorker();
(async () => {
await worker.load();
const { data } = await worker.transcode('./test.avi', 'mp4');
fs.wrieFileSync('./test.mp4', data);
fs.writeFileSync('./test.mp4', data);
})();
```