ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Can't reuse ffmpeg
- Langage dominant
- C
- Étoiles
- 17.8k
- Forks
- 1.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Describe the bug**
GIVEN I load ffmpeg
AND I run any command
AND I run another command
THEN an error is thrown
```
[info] run ffmpeg command: -L
Uncaught (in promise)
{
"name": "ExitStatus",
"message": "Program terminated with exit(0)",
"status": 0
}
```
**To Reproduce**
```
const fs = require('fs');
const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg');
const ffmpeg = createFFmpeg({ log: true });
(async () => {
await ffmpeg.load();
await ffmpeg.run('-L');
await ffmpeg.run('-L');
})();
```
**Expected behavior**
It should run both commands
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.