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

177
Vistas
How can I know the filesize of output that will be downloaded using ffmpeg?

Look I want to know the filesize of the output file that will be downloaded into my system even before its downloaded

I'm trimming some random url files and downloading them But I want to know how much gb,mb,kb, I need to download even before the download is completed.

I'm using ffmpeg in node js so It doesn't actually shows me anything other then when the process is done,

My code

exec(`ffmpeg -ss ${start} -to ${end} -i "${url}" -c copy -avoid_negative_ts make_zero "${filename}"`, (error, stdout, stderr) => {
if (error) {
        return;
      } else {
        res.send({ "url": filename });
      }
 })

Please tell me a solution how can I know how much is the output filesize that needs to be downloaded intotal so that I can tell the user that this is the total trimmed filesize while he would be waiting till the file will be downloaded on my server then I'll let user download the file from my server to his pc or mobile :)

Help :)

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