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

280
Views
¿Cómo puedo convertir el siguiente comando FFmpeg a FFmpeg fluido? El comando funciona en la terminal pero no en mi script de nodo.

Tengo el siguiente comando FFmpeg funcionando en la terminal, pero quiero usarlo mediante programación. No puedo entender cómo cubrir el filtro complejo a ffmpeg fluido.
Aquí está el comando: ffmpeg -y -i input1 -i input2 -filter_complex "[0:0][1:0] amix=inputs=2:duration=shortest" -c:a libmp3lame output.mp3 Aquí está mi intento:

 .input("input1.mp3") .input("input2.mp3") .complexFilter([ { filter: "showfreqs", options: { s: "200x100" }, inputs: "0:a", outputs: "[freqs]", }, { filter: "format", options: { pix_fmts: "yuv420p" }, inputs: "[freqs]", outputs: "[vid]", }, ]) .outputOptions(['[0:0][1:0]', 'amix=inputs=2:duration=shortest']) .outputOptions("-c:a libmp3lame") .save('out.mp3') .on('error', function(err, stdout, stderr) { if (err) { console.log(err.message); console.log("stdout:\n" + stdout); console.log("stderr:\n" + stderr); } })```
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!