diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-20 18:39:04 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-04-20 18:39:04 -0400 |
commit | 8bdedd53492defd454b357cb55b7e36422e1c47a (patch) | |
tree | c3677c30864753970d01852e2db559ba8989a76b /media-video/ffmpeg/files/vmaf-models-default-path.patch | |
parent | 49d37f735e7d5db1c61087095cdf803c63cc19a3 (diff) | |
download | gentoo-overlay-8bdedd53492defd454b357cb55b7e36422e1c47a.tar.xz gentoo-overlay-8bdedd53492defd454b357cb55b7e36422e1c47a.zip |
media-video/ffmpeg: upgrade to 9999
patchset not compatible with 5.0 anymore
Diffstat (limited to 'media-video/ffmpeg/files/vmaf-models-default-path.patch')
-rw-r--r-- | media-video/ffmpeg/files/vmaf-models-default-path.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/media-video/ffmpeg/files/vmaf-models-default-path.patch b/media-video/ffmpeg/files/vmaf-models-default-path.patch deleted file mode 100644 index a9777e9..0000000 --- a/media-video/ffmpeg/files/vmaf-models-default-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -Put default path of models to /usr/share/vmaf/model - ---- a/libavfilter/vf_libvmaf.c -+++ b/libavfilter/vf_libvmaf.c -@@ -72,7 +72,7 @@ typedef struct LIBVMAFContext { - #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM - - static const AVOption libvmaf_options[] = { -- {"model_path", "Set the model to be used for computing vmaf.", OFFSET(model_path), AV_OPT_TYPE_STRING, {.str="/usr/local/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS}, -+ {"model_path", "Set the model to be used for computing vmaf.", OFFSET(model_path), AV_OPT_TYPE_STRING, {.str="/usr/share/vmaf/model/vmaf_v0.6.1.json"}, 0, 1, FLAGS}, - {"log_path", "Set the file path to be used to store logs.", OFFSET(log_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS}, - {"log_fmt", "Set the format of the log (xml or json).", OFFSET(log_fmt), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS}, - {"enable_transform", "Enables transform for computing vmaf.", OFFSET(enable_transform), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS}, |