ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Different loggers for different ffmpeg calls in parallel.

Abierto
#471 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
17.8k
Forks
1.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Is your feature request related to a problem? Please describe.**
The ffmpeg.setLogger() function allows users to listen to the output of an ffmpeg call. This can be useful for pulling metadata for instance. However, when running two ffmpeg commands in parallel, the same logger will be used.
It's possible to create another instance of the ffmpeg wrapper, but this would require loading the bundle again, which is quite large.

**Describe the solution you'd like**
It would be useful to provide an optional logger argument in the ffmpeg.run function, or perhaps return the output of ffmpeg when the call resolves. Something like that.

**Describe alternatives you've considered**
My working solution is to create a request queue which is not ideal.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.