ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Can't reuse ffmpeg
Abierto
- Lenguaje dominante
- C
- Estrellas
- 17.8k
- Forks
- 1.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.