-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg support for v2.0 API and Homebrew #753
Comments
The current libvmaf ffmpeg works as-is still since the old api call Packaging libvmaf now should hopefully be a lot less painful now. We are not providing default model files as part of the installation anymore, since built-in models are available. This should solve problems like this: #324 (comment). |
Thanks for the heads-up! I didn't see that there was support for the old API call. That means we can safely update libvmaf on Homebrew though. I'll check out the failing PR later.
Yeah, I saw that – very nice! Good that the models are JSON now, too. |
To add to this, it seems VMAF changed the build system around and I cannot seem to build a version of FFMPEG with VMAF statically compiled, it keeps trying to load the libvmaf.so.1 when ffmpeg or ffprobe run now. I even tried the new instructions to build the static lib and indeed i get the static lib and shared built, but FFMPEG keeps trying to want the dynamic one. (this is a build for podman)
|
you might want to try to brute force it then and delete the shared library |
This is a bit unrelated to this issue though. Could you open a separate issue please? |
When ffmpeg already support v2.0 API, Will “No Enhancement Gain” mode be available through ffmpeg? |
@gdavila The NEG variant is a model like the others and can be selected freely. |
@kylophone |
Any further update on this? |
This all seems to work now. I am using FFmpeg 5.1 with libvmaf 2.3.1 and I can use all the new model options and features. |
I see that FFmpeg does not support the v2.0 API yet. Are there plans to add support for it, perhaps in a backwards-compatible manner? (That is, switching to the old API if libvmaf is <2.0.)
Only if FFmpeg supports it,
libvmaf
can be bumped in Homebrew. If there's no support, bumping in Homebrew will mean that compiling ffmpeg with--enable-libvmaf
will fail, which would break custom builds.So IMO the steps would be:
The text was updated successfully, but these errors were encountered: