Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

147
Vistas
JS Create a queue for fluent-ffmpeg with max 5 convertions

I've I've using fluent ffmpeg in order to convert my songs from webm to mp3 but ffmpeg uses so many resources and I really need to make a FIFO queue that will be converting max 5 songs at the same time and make all the other wait.

I am using nodejs. Could anyone help me with that fifo queue and how would fluent ffmpeg work?

I've seen some other questions here on stackoverflow about a queue for ffmpeg but they were asking in other languages, not javascript and they were using the ffmepg cli tool while I use fluent ffmepg

My code:

ffmpeg(stream)
              .format("mp3")
              .audioBitrate(req.query.quality ? req.query.quality : 256)
              .on("end", () => {
                  console.log("finished:)
              })
              .pipe(res, { end: true });
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda