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

Error applying option 'model_path' to filter 'libvmaf': Option not found #856

Open
allrobot opened this issue Jun 22, 2024 · 1 comment · May be fixed by #869
Open

Error applying option 'model_path' to filter 'libvmaf': Option not found #856

allrobot opened this issue Jun 22, 2024 · 1 comment · May be fixed by #869

Comments

@allrobot
Copy link

F:\>av1an -i input.mp4 --encoder svt-av1 --target-quality 95 --temp "F:/BaiduNetdiskDownload/test/新建文件夹 (2)/av1an" --probes 6 --min-q 18 --max-q 55 --video-params=" --rc 0 --preset 4 --input-depth 10 --tune 0 --film-grain 4 --film-grain-denoise 0 --keyint 10s"  --vmaf-path "C:/ProgramData/anaconda3/envs/python312/vmaf/model/vmaf_float_v0.6.1.pkl"
INFO [av1an_core::context] Input: 1920x1080 @ 60.000 fps, YUV420P, SDR
Scene detection
INFO [av1an_core::context] scenecut: found 1 scene(s) [with extra_splits (600 frames): 13 scene(s)]
00:00:24 ▐█████████████████████████████████████████████████████████████████████████▌ 100% 7200/7200 (293.69 fps, eta 0s)thread 'main' panicked at av1an-core\src\context.rs:1090:12:
called `Result::unwrap()` on an `Err` value: encoder crashed: exit code: 0xabafb008
stdout:

stderr:
        Error applying option 'model_path' to filter 'libvmaf': Option not found
        Failed to set value '[0:v]scale=1920x1080:flags=bicubic:force_original_aspect_ratio=decrease,setpts=PTS-STARTPTS,setsar=1[distorted];[1:v]scale=1920x1080:flags=bicubic:force_original_aspect_ratio=decrease,setpts=PTS-STARTPTS,setsar=1[ref];[distorted][ref]libvmaf=log_fmt='json':eof_action=endall:log_path=//?/F\\:/BaiduNetdiskDownload/test/新建文件夹 (2)/av1an/split/0.json:model_path=//?/C\\:/ProgramData/anaconda3/envs/python312/vmaf/model/vmaf_float_v0.6.1.pkl:n_threads=16' for option 'filter_complex': Option not found
        Error parsing global options: Option not found

source pipe stderr:


Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: BaseThreadInitThunk
  13: RtlUserThreadStart
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

C:/ProgramData/anaconda3/envs/python312/vmaf/model/vmaf_float_v0.6.1.pkl or C:/ProgramData/anaconda3/envs/python312/vmaf/model/vmaf_v0.6.1.json cannot work.

I git clone https://github.com/Netflix/vmaf, how to solve it?

image
image

If vmaf-path is not used, it prompts 'xxx' not found.

F:\>av1an -i input.mp4 --encoder svt-av1 --target-quality 95 --temp "F:/av1an" --probes 6 --min-q 18 --max-q 55 --video-params=" --rc 0 --preset 4 --input-depth 10 --tune 0 --film-grain 4 --film-grain-denoise 0 --keyint 10s"
INFO [av1an_core::context] Input: 1920x1080 @ 60.000 fps, YUV420P, SDR
Scene detection
INFO [av1an_core::context] scenecut: found 1 scene(s) [with extra_splits (600 frames): 13 scene(s)]
00:00:24 ▐█████████████████████████████████████████████████████████████████████████▌ 100% 7200/7200 (295.61 fps, eta 0s)thread 'main' panicked at av1an-core\src\vmaf.rs:263:48:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "The specified file cannot be found." }
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
@FreezyLemon
Copy link
Contributor

FreezyLemon commented Aug 18, 2024

model_path has been deprecated for a while (relevant commit, early 2022)

use model='path=...'.

Guess this needs to be changed

EDIT: Already reported in #821.

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

Successfully merging a pull request may close this issue.

2 participants