Skip to content
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

libvmaf=model_path=model/vmaf_v0.6.1.json could not open file: (null) #1388

Open
kb1181 opened this issue Sep 20, 2024 · 3 comments
Open

libvmaf=model_path=model/vmaf_v0.6.1.json could not open file: (null) #1388

kb1181 opened this issue Sep 20, 2024 · 3 comments

Comments

@kb1181
Copy link

kb1181 commented Sep 20, 2024

I use command "ffmpeg -i main.mp4 -i main2.mp4 -filter_complex "[0:v]scale=1000:450:flags=bicubic[main];[main][1:v]libvmaf=model_path=model/vmaf_v0.6.1.json:log_fmt=json" -f null -"
report
maf�[0m �[32mINFO�[0m compute_vmaf() is deprecated and will be removed in a future libvmaf version
frame= 394 fps= 47 q=-0.0 Lsize=N/A time=00:00:13.14 bitrate=N/A speed=1.58x
video:172kB audio:2464kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
could not open file: (null)

@nilfm99
Copy link
Collaborator

nilfm99 commented Sep 20, 2024

Hi @kb1181, could you give some more information about the ffmpeg and libvmaf version you're using, and how you built them or otherwise obtained them? This syntax with model_path is old and I see you're also using compute_vmaf, which was deprecated some time ago. Depending on the versions it may still work, but if you have the option to, I would recommend using a more recent ffmpeg build.

@CrypticSignal
Copy link
Contributor

How do you check what version of the libvmaf filter your build of FFmpeg has? In the JSON file with the per-frame VMAF scores, I can see "version": "d95b69e" at the top but I don't know which version of libvmaf this is. I want to check if I have the latest version which is v3. I downloaded a pre-built binary of FFmpeg.

@nilfm99
Copy link
Collaborator

nilfm99 commented Oct 30, 2024

@CrypticSignal The version you see is a commit hash on this repo, and d95b69e corresponds to this commit which was merged August 14th 2024. Tag v3.0.0 was released in December 2023 so you got a more recent version than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants