zoukankan      html  css  js  c++  java
  • ffmpeg 增加视频流媒体质量评估滤镜 (Video Multimethod Assessment Fusion, VMAF)

    URL: https://github.com/Netflix/vmaf
    
    libvmaf
    
    Obtain the VMAF (Video Multi-Method Assessment Fusion) score between two input videos.
    
    The obtained VMAF score is printed through the logging system.
    
    It requires Netflix’s vmaf library (libvmaf) as a pre-requisite. After installing the library it can be enabled using: ./configure --enable-libvmaf. If no model path is specified it uses the default model: vmaf_v0.6.1.pkl.
    
    The filter has following options:
    
    ‘model_path’
    Set the model path which is to be used for SVM. Default value: "vmaf_v0.6.1.pkl"
    
    ‘log_path’
    Set the file path to be used to store logs.
    
    ‘log_fmt’
    Set the format of the log file (xml or json).
    
    ‘enable_transform’
    Enables transform for computing vmaf.
    
    ‘phone_model’
    Invokes the phone model which will generate VMAF scores higher than in the regular model, which is more suitable for laptop, TV, etc. viewing conditions.
    
    ‘psnr’
    Enables computing psnr along with vmaf.
    
    ‘ssim’
    Enables computing ssim along with vmaf.
    
    ‘ms_ssim’
    Enables computing ms_ssim along with vmaf.
    
    ‘pool’
    Set the pool method (mean, min or harmonic mean) to be used for computing vmaf.
    
    This filter also supports the framesync options.
    
    On the below examples the input file ‘main.mpg’ being processed is compared with the reference file ‘ref.mpg’.
    
     	
    ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf -f null -
    Example with options:
    
     	
    ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf="psnr=1:enable-transform=1" -f null -
    
    
    vmafmotion
    Obtain the average vmaf motion score of a video. It is one of the component filters of VMAF.
    
    The obtained average motion score is printed through the logging system.
    
    In the below example the input file ‘ref.mpg’ is being processed and score is computed.
    
     	
    ffmpeg -i ref.mpg -lavfi vmafmotion -f null -
    
    
  • 相关阅读:
    剑指 Offer 46. 把数字翻译成字符串
    剑指 Offer 45. 把数组排成最小的数
    1319.连通网络的操作次数-并查集
    数字序列中某一位的数字
    989.数组形式的整数加法
    java多线程
    剑指offer 48 -最长不含重复字符的子字符串 动态规划
    springboot 使用 lombok插件中的@data 注解
    netty 转发服务
    在静态方法中获取properties /yml 配置文件中的信息
  • 原文地址:https://www.cnblogs.com/nlsoft/p/7943929.html
Copyright © 2011-2022 走看看