Attempts to run brew on arch linux.
nathanielcwm opened this issue · 2 comments
nathanielcwm commented
Command: ffmpeg_quality_metrics "vid1" "vid2" -ev
Traceback (most recent call last):
File "/usr/bin/ffmpeg_quality_metrics", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.8/site-packages/ffmpeg_quality_metrics/__main__.py", line 281, in main
model_path = os.path.join(get_brewed_model_path(), "vmaf_v0.6.1.pkl")
File "/usr/lib/python3.8/site-packages/ffmpeg_quality_metrics/__main__.py", line 42, in get_brewed_model_path
stdout, _ = run_command(["brew", "--prefix", "libvmaf"])
File "/usr/lib/python3.8/site-packages/ffmpeg_quality_metrics/__main__.py", line 63, in run_command
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'brew'```
nathanielcwm commented
Specifying the model location lets it run without issues.
slhck commented
I assumed a Homebrew installation of ffmpeg and VMAF per the README. Of course this should have a fallback if the user has a manually installed version. I'll look into that.