Update README.md
This commit is contained in:
parent
05d7bb3bfb
commit
e60713a98a
@ -53,6 +53,7 @@ const worker = createWorker();
|
|||||||
await worker.transcode('test.avi', 'test.mp4');
|
await worker.transcode('test.avi', 'test.mp4');
|
||||||
const { data } = await worker.read('test.mp4');
|
const { data } = await worker.read('test.mp4');
|
||||||
fs.writeFileSync('./test.mp4', data);
|
fs.writeFileSync('./test.mp4', data);
|
||||||
|
await worker.terminate();
|
||||||
})();
|
})();
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -74,6 +75,10 @@ Or, using a script tag in the browser:
|
|||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
- With React: https://github.com/ffmpegjs/react-app
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
- [API](https://github.com/ffmpegjs/ffmpeg.js/blob/master/docs/api.md)
|
- [API](https://github.com/ffmpegjs/ffmpeg.js/blob/master/docs/api.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user