Netflix / vmaf

Perceptual video quality assessment based on multi-method fusion.
Other
4.65k stars 755 forks source link

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

Open kb1181 opened 2 months ago

kb1181 commented 2 months ago

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 INFO 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 commented 2 months ago

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 commented 3 weeks ago

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 commented 3 weeks ago

@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.