Giter Club home page Giter Club logo

vapoursynth-vmaf's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

perfectsun1990

vapoursynth-vmaf's Issues

vmaf.Metric CIEDE2000 broken with various formats

Linux, R58

VapourSynth Video Processing Library
Copyright (c) 2012-2021 Fredrik Mellbin
Core R58
API R4.0
API R3.6
Options: -
Error: Failed to retrieve frame 1 with error: Metric: Q
libvmaf WARNING problem with feature extractor "ciede" at index 0
libvmaf WARNING problem with feature extractor "ciede" at index 0
libvmaf WARNING problem with feature extractor "ciede" at index 0
libvmaf WARNING problem with feature extractor "ciede" at index 0
tcache_thread_shutdown(): unaligned tcache chunk detected
libvmaf WARNING problem with feature extractor "ciede" at index 0
libvmaf WARNING problem with feature extractor "ciede" at index 0

Broken with:

YUV420P8
YUV420P14
YUV422P8
YUV422P14
All YUV444PX formats

import vapoursynth as vs
from vsutil import scale_value
core = vs.core

fmts420 = [
    vs.YUV420P8,
    vs.YUV420P9,
    vs.YUV420P10,
    vs.YUV420P12,
    vs.YUV420P14,
    vs.YUV420P16
]

fmts422 = [
    vs.YUV422P8,
    vs.YUV422P9,
    vs.YUV422P10,
    vs.YUV422P12,
    vs.YUV422P14,
    vs.YUV422P16
]

fmts444 = [
    vs.YUV444P8,
    vs.YUV444P9,
    vs.YUV444P10,
    vs.YUV444P12,
    vs.YUV444P14,
    vs.YUV444P16
]

ref = [core.std.BlankClip(format=fmt, length=10) for fmt in fmts420]
distort = [core.std.BlankClip(
    clip, color=[scale_value(130, 8, clip.format.bits_per_sample)]*3, length=10) for clip in ref
]

for clip in range(len(distort)):
    core.vmaf.Metric(
        reference=ref[clip], distorted=distort[clip],
        feature=4
    ).set_output(clip)

vmaf.Metric PSNR broken YUV4XXP8 and YUV4XXP14

Example script in #5
Linux, R58

libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
libvmaf WARNING problem with feature extractor "psnr" at index 0
Error: Failed to retrieve frame 2 with error: Metric: Q@

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.