Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!