fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix to Output format [***] is not available

MarianoFacundoArch opened this issue · comments

I have created a fix for this, but I see that the NPM package has not been updated for a long time.
I don't know if someone has permission to push into the official NPM after a fix.
I created a pull request here:
#1265

It basically fixes the regex expr to be compatible with ffmpeg 7 too

You can also install package from: https://www.npmjs.com/package/fluent-ffmpeg-7 and just change the import to from 'fluent-ffmpeg-7' I did a quick version there till official version gets fixed.

Thanks......!
I second this, any way to push that update to the official package?

commented

It doesnt work for webp

Can you provide a replication case to further investigate ?
Are you sure you installed from fluent-ffmpeg-7 and you are importing from that package ?

commented

Can you provide a replication case to further investigate ? Are you sure you installed from fluent-ffmpeg-7 and you are importing from that package ?

Yes imported from package

Can you provide me with a sample replication code to further debug/fix it?

By the way, are you sure that you have the encoder/decoder in ffmpeg?
Try running
ffmpeg -encoders|grep webp
ffmpeg -decorders|grep webp

@njoyard please? fluent-ffmpeg is broken for current version of ffmpeg without this PR.

commented

Made a patch for this in the PR. Instructions are there

Still doesn't work with ffmpeg 7.0 & fluent-ffmpeg 2.1.3 on MacOS.

Output format mp3 is not available

On my version it works if you have the output format available.

Execute ffmpeg -encoders | grep mp3
And paste here the output please