Skip to content

Commit

Permalink
libvmaf: Use model='path=...' instead of model_path=...
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon authored and shssoichiro committed Sep 24, 2024
1 parent 4cb7935 commit ae7c151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion av1an-core/src/vmaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub fn run_vmaf(

let vmaf = if let Some(model) = model {
format!(
"[distorted][ref]libvmaf=log_fmt='json':eof_action=endall:log_path={}:model_path={}:n_threads={}",
"[distorted][ref]libvmaf=log_fmt='json':eof_action=endall:log_path={}:model='path={}':n_threads={}",
ffmpeg::escape_path_in_filter(stat_file),
ffmpeg::escape_path_in_filter(&model),
threads
Expand Down

0 comments on commit ae7c151

Please sign in to comment.