fluent-ffmpeg / node-fluent-ffmpeg

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

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

Closed MarianoFacundoArch closed 1 month ago

MarianoFacundoArch commented 2 months ago

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: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/pull/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.

romain130492 commented 2 months ago

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

DGXeon commented 1 month ago

It doesnt work for webp

MarianoFacundoArch commented 1 month ago

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 ?

DGXeon commented 1 month ago

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

MarianoFacundoArch commented 1 month ago

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

MarianoFacundoArch commented 1 month ago

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

klesun commented 1 month ago

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

totallytavi commented 1 month ago

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

komninoschatzipapas commented 1 month ago

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

Output format mp3 is not available
MarianoFacundoArch commented 1 month ago

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

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