fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.97k stars 881 forks source link

on progress with AMD Processor not have progress.percent. With intel it's working 100% #1201

Open ahmadsukabul opened 1 year ago

ahmadsukabul commented 1 year ago

Version information

Code to reproduce


ffmpeg(fileToTranscode)
            .addOptions(option)
            .output(fileHls)
            .on('progress', function (progress) {
                console.log(progress)
                console.log(
                    'Processing: ' +
                        parseInt(progress.percent) +
                        '% done, filename: ' +
                        data.filename +
                        ', quality: ' +
                        data.quality
                )
            })
            .on('error', function (err, stdout, stderr) {
            })
            .run()
    } catch (error) {
    }
log progress
{
  frames: 34277,
 currentFps: 37,
  currentKbps: NaN,
 targetSize: NaN,
timemark: '00:23:49.71'
 }
pthieu commented 1 year ago

Can confirm, running in a Lambda function

AlexOgnyanov commented 1 year ago

Can confirm, running on Macbook Air with Apple M1 chip