-
Notifications
You must be signed in to change notification settings - Fork 45
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
problem loading model file: /usr/local/share/model/vmaf_float_v0.6.1.pkl #24
Comments
I seem to be having the same issue
|
Due to lack of response, I tried using FFMPEG with libvmaf compiled in, actually got a similar error "Invalid argument" when invoking libvmaf. Ended up needing to massage the command string feeding to libvmaf as it is very sensitive to quote, double-quote, escaping, etc. After a lot of trial an error, I finally got it to work, so its probably something with the command that is invoking libvmaf is not formatted/escaped correctly. |
Glad to hear you got it to work. Can you share what the final command string that worked is? |
when using ffmpeg, the command for libvmaf was: libvmaf="model_path=c:\:/ffmpeg-4.2.1/bin/vmaf_v0.6.1.pkl":log_path=VMAF_results.txt -report -f null - This was on a Windows box with ffmpeg installed under C:. No docker was used, so not 100% sure how to translate this into this project. |
Please see #27 |
It seems like that fixed the issue but I am still having trouble getting the analysis to complete. The Docker file does appear to build and run without issues. When I look at the log from the docker container while the analysis is running it appears to work but I am still getting this at the end edit: I also do not have vmaf_float_v0.6.1.pkl in /usr/local/share/model/ but I do have vmaf_v0.6.1.pkl and vmaf_4k_v0.6.1.pkl
|
The issue is clearly stated in the output : This means that you did not do all the changes. Did you check-out my fork or did you do the changes manually? |
Sorry, didn't notice that you created a fork. Deleted everything and I downloaded your repo this time and it appears to be working. Thanks for the help! |
This fixed it for me, but please know that there are still a few things that need to be changed in order to run this under Windows, as noted here: Not saying you need to fix this in code, but adding it to the ReadMe would be helpful. |
I have tried running this on Linux, MacOS, and Windows, with various different source files, but all of them end with the following error after analyzing the files:
problem loading model file: /usr/local/share/model/vmaf_float_v0.6.1.pkl
[Parsed_libvmaf_4 @ 0x56271c705080] libvmaf encountered an error, check log for details
Error while filtering: Invalid argument
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #1:0
Conversion failed!
The text was updated successfully, but these errors were encountered: