vmafx
Health Uyari
- License — License: EUPL-1.2
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Basarisiz
- rm -rf — Recursive force deletion command in .claude/settings.json
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
VMAFx: perceptual video quality assessment (VMAF), GPU-accelerated and SIMD-tuned. CUDA, SYCL, HIP and Metal backends checked against the CPU scores, AVX2/AVX-512/NEON, tiny-AI models, an MCP server, Kubernetes/Helm deployment. Fork of Netflix/vmaf; fork code EUPL-1.2, Netflix code BSD-2-Clause-Patent.
Perceptual video quality assessment — GPU-accelerated, SIMD-tuned, numerically exact
A fork of Netflix/vmaf that keeps the reference scores byte-for-byte
VMAFx is a perceptual video quality assessment (VMAF) library and vmaf
command-line tool. It adds CUDA, SYCL, HIP and Metal backends and AVX2,
AVX-512, NEON and SVE2 SIMD paths, each checked against the CPU scores, and
keeps Netflix's reference scores as a required CI gate. It also ships ONNX
tiny models, an MCP server and FFmpeg filters.
📖 Full documentation · Documentation source
🎯 Why VMAFx
VMAFx keeps upstream's numbers and adds the parts a production pipeline needs. The
three Netflix reference pairs are a required CI gate, so every change below is
measured against scores that never move.
Upstream libvmaf |
VMAFx | |
|---|---|---|
| GPU backends | CUDA | CUDA · SYCL · HIP · Metal, selected at runtime |
| SIMD | AVX2, AVX-512 | AVX2 · AVX-512 · NEON · SVE2, held to feature-specific parity tolerances |
| Output precision | %.6f |
%.6f by default, --precision=max for IEEE-754 round-trip |
| Model surface | .json / .pkl |
plus ONNX tiny models with a signed registry |
| Integrations | FFmpeg filter | FFmpeg, an MCP server, a Kubernetes operator, Go and Rust bindings |
| Numerical contract | — | cross-backend parity is a gate, not a promise |
🚀 Get started
Follow the installation and source-build guide
for your platform. For a container workflow, see Docker.
From a clone of the repository, score the tracked 576x324 clip pair:
vmaf --reference testdata/ref_576x324_48f.yuv \
--distorted testdata/dis_576x324_48f.yuv \
--width 576 --height 324 --pixel_format 420 --bitdepth 8 \
--backend cpu --json --output scores.json
The terminal ends with the pooled score of the default model, and scores.json
holds all 48 frames:
vmaf_v1.0.16_3d0h: 95.938229
For your own files, compare a matching reference and distorted Y4M pair:
vmaf --reference reference.y4m --distorted distorted.y4m --json --output scores.json
Raw YUV needs its geometry spelled out, and a GPU backend is one flag:
vmaf --reference ref.yuv --distorted dis.yuv \
--width 1920 --height 1080 --pixel_format 420 --bitdepth 8 \
--backend cuda --feature cambi --json --output scores.json
See the CLI reference for model selection, backend selection
and output options. For compressed inputs such as MP4, use
FFmpeg integration.
🧩 Backends at a glance
Every GPU-backed feature extractor has at least one device twin, and each twin
is held to the CPU reference by the cross-backend parity gate. The coverage
matrix below distinguishes those extractors from CPU-only metrics.
| Backend | Selected with | Notes |
|---|---|---|
| CPU | --backend cpu |
scalar reference; SIMD paths dispatch automatically |
| CUDA | --backend cuda |
NVIDIA, CUDA 13.4 |
| SYCL | --backend sycl |
Intel oneAPI; fp64-free device contract |
| HIP | --backend hip |
AMD ROCm 10.1 |
| Metal | --backend metal |
Apple Silicon, Apple Family 7 and later |
See GPU and SIMD backends for feature coverage per
backend and the tolerances the gate enforces.
%%{init: {"theme": "base", "themeVariables": {"fontSize": "15px", "primaryColor": "#111a35", "primaryTextColor": "#e2e8f0", "primaryBorderColor": "#3b82f6", "lineColor": "#3b82f6", "edgeLabelBackground": "#111a35"}}}%%
flowchart TD
opts["Options<br/>--backend · --model · --feature"]:::input
feats["Features to compute<br/>named by the model or the CLI"]:::step
reg["Extractor registry<br/>feature name + backend flag"]:::step
twin{"Device twin for this<br/>feature and frame size?"}:::decide
gpu["GPU twin<br/>CUDA · SYCL · HIP · Metal"]:::gpu
cpu["CPU extractor<br/>AVX-512 · AVX2 · NEON · SVE2 · C"]:::cpu
opts --> feats --> reg --> twin
twin -- yes --> gpu
twin -- no --> cpu
classDef input fill:#0b1020,stroke:#06b6d4,stroke-width:2px,color:#e2e8f0
classDef step fill:#111a35,stroke:#3b82f6,stroke-width:2px,color:#e2e8f0
classDef decide fill:#111a35,stroke:#8b5cf6,stroke-width:2px,color:#e2e8f0
classDef gpu fill:#06b6d4,stroke:#0b1020,stroke-width:2px,color:#0b1020
classDef cpu fill:#8b5cf6,stroke:#0b1020,stroke-width:2px,color:#f8fafc
Backends you disable (--no_cuda and the like) leave the candidate list first.
With --backend NAME, a missing or failing backend is an error, never a silent
fallback to the CPU.
📚 Guides and reference
| Task | Documentation |
|---|---|
| Score videos and choose output formats | CLI reference |
| Use VMAFx in FFmpeg | FFmpeg guide |
| Select hardware and check feature coverage | GPU and SIMD backends |
| Choose metrics and extractor options | Feature reference |
| Choose a scoring model | Models |
| Embed VMAFx in an application | VMAFx C API; existing libvmaf.h callers: compatibility API |
| Train and run ONNX quality models | Tiny AI |
| Connect scoring tools through MCP | MCP servers |
Build requirements, backend limitations and model defaults live in these
guides so they can be maintained alongside their implementations.
🤝 Contribute
Start with CONTRIBUTING.md for setup, required checks and
pull-request expectations. The engineering principles
cover coding and numerical-correctness standards; the
repository guide explains the source layout.
- Report a bug or request a feature
- Good first issues
for a first contribution - Help wanted
for issues open to anyone - Ask a question or read
how to get support - Code of conduct
- Accessibility
- Security reporting policy
- Support development
💖 Support VMAFx
Why it matters. VMAFx is a fork of Netflix/vmaf that keeps Netflix's
reference scores and checks every GPU backend (CUDA, SYCL, HIP, Metal) and SIMD
path against the CPU scores, so a score means the same on every device.
What support funds.
- CI time, the largest running cost: build matrix, numerical-exactness gates,
sanitizer jobs. - Cloud GPU test time on hardware the project does not own.
- Next, an AI workstation for training and evaluating the tiny models.
Sponsor on GitHub Sponsors (USD), any
amount; no support or priority is sold. Also on
Ko-fi or
Patreon (EUR). Open Collective: pending.
Sponsors are thanked in SPONSORS.md;
Support VMAFx explains what it pays for.
📈 Roadmap and releases
Upstream and license
VMAFx builds on Netflix/vmaf.
See upstream releases for Netflix's
release history.
Each file's SPDX-License-Identifier header says which licence applies to it
(ADR-1250). The files at the repository
root hold the texts (ADR-1699):
| Code | Licence | Text |
|---|---|---|
| Written by the fork | EUPL-1.2, a reciprocal licence | LICENSE |
| Inherited, ported or translated from Netflix/vmaf | BSD-2-Clause-Patent, with Netflix's copyright notice | NOTICE |
| Carried from libjxl, Xiph, IQA and other projects | that project's licence, with its notice in the file | LICENSES/ |
What that means in practice: the shipped libvmaf links both together.
Distributing it, modified or not, obliges you to provide its source or point to
a repository that has it (EUPL-1.2, Article 5). A modified library is
distributed under EUPL-1.2. If you need permissive terms, use
Netflix/vmaf upstream, which is unaffected.
The per-file tags are authoritative; this section is a summary, not legal
advice. Licensing lists what each published package
carries, and Embedding VMAFx in another product
goes through linking, modification and network use. Credits
names every third-party project, model, dataset, paper and tool VMAFx builds on.
Standards & Governance
This repository conforms to High-Integrity Systems Standards (HISS-21)
and modernized NASA JPL Power-of-10 rules.
Praetor manages this repository's declared governance policy. This managed
block records adoption state; it is not a verification certificate.
Verification: make verify-all runs the repository's configured
verification cascade.
HISS Audit: praetorctl audit enforces policy, generated-surface
integrity, and the debt ratchet.
Context Sync: praetorctl compile-context --verify verifies every
generated agent context against AGENTS.md.
Documentation: make docs-lint enforces locked Markdown style and the
private scratch-link policy.
Debt Baseline: .standards-baseline.json anchors the debt ratchet at
0 recorded infractions; audit forbids growth.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi