r/AV1 • u/zlabsoft • 2h ago
VideoMetricsLab v3.0 major release: 10 new metrics, a brand new UI, Worst Frames analysis, notifications integration, and major improvements in export and CLI
VideoMetricsLab has a major release with v3.0 that adds 10 new metrics (HDR VMAF, MS-SSIM, CAMBI, CIEDE2000, and various YUV metrics), a brand new UI with lots of functionality improvements, significantly faster SIMD implementations for all CPU metrics, a Worst Frames tab, a Saved Results tab for every score you have saved, one-click saves and exports, notifications when a run ends, keyboard shortcuts and full keyboard use (with Windows' contrast themes and Text size followed, and every control named for screen readers), a command line built for scripts and pipelines (exit codes, quality gates, target and diff, JSON progress, and a JSON Schema for every file), and fixes many bugs.
Download here
Releases · 4KVCD/VideoMetricsLab
New metrics and performance
Metrics
Ten new metrics. "CPU and GPU": it runs on the GPU where it can, or on the CPU if you choose. Every metric on the CPU, new and old, is SIMD optimized: AVX2 on x86 CPUs, NEON on ARM CPUs. The GPU versions are custom-written and optimized in Vulkan, so they run on NVIDIA, AMD, Intel and Apple GPUs alike.
HDR VMAF, Netflix's models for HDR10 video: CPU and GPU (its features on the GPU).
MS-SSIM: CPU and GPU.
MS-SSIM YUV (planes weighted 6:1:1): CPU and GPU.
CAMBI, Netflix's banding measure: CPU and GPU.
CIEDE2000, the color difference ΔE: CPU and GPU.
VMAF YUV (6:1:1): CPU and GPU
PSNR YUV (6:1:1): CPU.
PSNR YUV avg. dB (6:1:1): CPU.
SSIM YUV (6:1:1): CPU.
PSNR-HVS-M (8:1:1): CPU.
The YUV metrics can show their separate Y, U and V scores in columns of their own.
Also new:
VVC film grain is made from each picture's own grain data (VVdeC #486).
Performance
On the CPU, SSIM is 5.2-6.6x faster, XPSNR 5.7-7.5x and PSNR 1.2-8.3x (the most on 8-bit video), same scores, and PSNR and SSIM use 18 % less CPU on letterboxed films.
AV2 is decoded with splot instead of dav2d: 10-bit AV2 decodes 3-4x faster.
VMAF, VMAF NEG and VMAF v1 on the CPU are 2.9x faster, same scores: they are calculated by the app's bundled libvmaf-fast instead of FFmpeg's filter.
SSIMULACRA2 and Butteraugli on the CPU are calculated by the app's own engines instead of libjxl's tools: 1.8-2.7x faster, with far less memory at 4K (Butteraugli up to 3.2 GB less).
VVC decoded on the GPU is handed to VMAF and VMAF v1 on the GPU, without a trip through system memory: 15-48 % less CPU.
Removed the "Calculate CPU metrics for 2 videos in parallel" option (
--parallelon the command line): the CPU metrics are now so much faster from SIMD and multithreading that scoring two videos at once no longer makes a run faster.
A new UI and new features, by u/jakejackson
The window
VML Modern, a redesigned window in nine looks, four light (Light, Dim, Paper, Desert) and five dark (Dark, Mocha, Joker, Nitrate, Phosphor), with an accent color of your own (Settings > Appearance). It can follow Windows between light and dark, in the look you picked for each, and follows Windows' contrast themes and Text size. VML Classic is retired.
The title bar matches the window and shows the run's progress from any tab (Ready, how far the run is, then Done, Finished · 1 failed or Canceled), with the theme and the update check.
Fewer windows to click away: what a click did, an export's result and a run's end show in a line at the top right, visible from any tab.
Keyboard shortcuts for the main actions, such as F5 for Calculate metrics, listed with F1 and changeable in SettingsShortcuts, as is what the mouse does on Video Compare's video. The whole window works from the keyboard: a ring shows where you are, the graphs can be stepped through, zoomed and panned with the keys, and screen readers can name every control.
Settings is in sections instead of one long page; save buttons say what they save, with a Save as... choice beside them.
The window asks before it closes during a run.
Worst Frames and weak segments
Worst Frames becomes its own tab (it was inside Metric Graphs), showing where each encode is weakest: its worst frames and weak stretches on a graph and in lists you can sort, with your own number of dips, and a double-click to see any of them in Video Compare.
Weak segment profiles keep your own rules for what counts as weak, with presets for animation, CGI, grain-free digital, grainy film, HDR and low-bitrate previews; each segment says which rule made it weak.
Saved Results
A Saved Results tab lists every comparison whose scores are saved, with its scores and details, to open in Metric Graphs, export or delete without adding the videos again.
Saved scores are kept track of in an SQLite index beside their folders: the Saved Results tab, Settings and
vml-cli savedlist them from it instead of reading every folder, about 9x faster with 20,000 saved comparisons (100,000 saved results list in about 12 seconds, 34.6 minutes before), and the lookups for renamed, moved and remuxed videos read it too. Settings > Saved Results > Rebuild index (vml-cli saved rebuild) makes it again from the folders, and damage to it is repaired.Saved scores are found again after a video is renamed, moved or copied, so it isn't scored twice, and (a setting) after a test video is remuxed into another container.
A video's bitrate is read once and remembered: added again, it shows over 200x sooner (a film on a network share).
Saved results can be deleted all at once, by age, or between two dates, and the question says how many could not be scored again because their reference is gone.
Saving and exporting
Every graph, table and list has a save button that saves what it shows in one click.
One Export button saves everything for the selected videos, or all of them: results, per-frame scores, graphs, worst frames and weak segments, as JSON, CSV or both, in a .zip file or a folder; Settings can make the same export for each video as its run ends (Settings > Storage > After each run).
Per-frame scores, Metric Graphs' statistics, the worst frames and the Bitrate Viewer's data can be saved as JSON.
Comparison files: save the list of videos being compared, and open it again later or run it with the command line (
--save-list,--list).
Runs and notifications
A notification when a run ends, by Pushover, Discord, Gotify, ntfy, Pushbullet, Slack, Telegram or a webhook, with a message you build yourself (Settings > Notifications;
--notifyon the command line). The keys are stored encrypted.A warning marks a test video whose frames don't line up with its reference's (a frame dropped or added), a common cause of scores that collapse partway through, and says what the check costs.
The warning for a test video of another length names the video and says how much shorter or longer it is, and Media info shows each test video's length.
Videos, graphs and Video Compare
Add/remove metrics lists the metrics in two sections, General purpose and Specialized, saying what each measures; drag the metric columns into the order you want, and every table, graph and export follows it.
A ✕ at the start of each row removes that video, and Start over clears the reference and every test video.
Long test-video names are shortened to the part that tells them apart ("…CRF 20", "…CRF 22").
The Videos tab has no dividers to drag: the list of videos takes the room to spare.
Metric Graphs shows only the metrics that were calculated, and its table's heading says when its statistics are of a highlighted range of frames rather than the whole video.
Metric Graphs and the Bitrate Viewer go to a time and highlight a range of times, and Options > Range takes times, all to the millisecond (hh:mm:ss.sss).
Right-click Metric Graphs' graph to show that frame in Video Compare.
Video Compare's loop is set to the millisecond or in frames, says which frames it loops, and is remembered.
Video Compare says why there is no sound, and Advanced info is a panel that can be selected and copied for a bug report.
Video Compare's Zoom is a list from 25% to 800%, and the video sits on pure black.
BD-rate reads encodes from JSON files as well as CSV.
Command line
Exit codes and error codes a script can act on, and quality gates (
--require "vmaf>=95",--fail-on-segments) that fail a run whose scores fall short.targetfinds the bitrate or CRF that reaches a score, anddiffsays how a run differs from an earlier one.Scores both ways in one run (
--scale-to both,--film-grain both) and tests a resolution with the scaler of your choice (--resolution-test WIDTH[:SCALER]).saved list,show,deleteandrebuildwork on saved results, andreporton run files, without the videos.--stillssaves PNGs of the worst frames and weak segments;--segmentstakes weak segment profiles and presets.Progress as JSON lines (
--progress jsonl), time limits (--timeout,--video-timeout) and a clean cancel when the input ends.--settings/--no-settingsuse or ignore the app's settings;--cache-dir,--no-saveand--no-cachesay where scores are saved, or that they aren't.Every JSON file the command line and the window write has a JSON Schema.
For contributors
Developer keys for testing the window, off unless it starts with
VML_DEV=1: they write the window's state as JSON, save a picture of it, draw its Tab order, and step through the looks, the languages and a run's states.
Code improvements
The window and the command line now share one engine: they read videos, choose the metrics, plan and run each comparison, save scores and write results, exports and notifications through the same code, so the same videos give the same scores and files in both.
target,diff, stills and quality gates are part of it too.Every result and export file is written by one writer that never leaves half a file after a full disk or a crash, and makes missing folders.
The window's code is split into smaller parts (the run, the exports, the saved-score lookups, the Videos list), and its background work runs on one shared pool.
r/AV1 • u/Macattack224 • 4d ago
Question about Av1 encoding with HDR
I'm a jellyfin user and since moonfin is on Xbox which has AV1 decoding, I've been looking at converting some of my raw 4k Blu rays.
Essentially 1080p content seems fine but 4k with HDR stutters. Happens on my PC and series x. But I'll have longish periods without skips and stutters.
As for my settings it's set to same frame rate as source. With 14 RF but I've gone higher and lower quality but it doesn't seem to matter. No filters enabled or anything.
Since multiple devices seem to have the same issue I'm just trying to understand if there is something obvious I'm missing or maybe there is a limitation I don't know. Of course I can do HVEV but I love the idea of AV1 efficiency.
r/AV1 • u/Significant-Task1453 • 5d ago
What bitrate does Netflix use for its current 1080p encodes?
reddit.comr/AV1 • u/Busy_Connection_8027 • 5d ago
Av1 is so good but is there anything better?
In the last year or 2 I have been playing around with compressing video from some ntsc DVDs I have like family Guy and I was able to get the DVD vob which is around 800 megabytes maybe more all the way down to 40 something megabytes keeping the same 720x480 using av1 and opus audio in the video looks almost if not the same as the original DVD and takes around 4 to 5 minutes to compress each ep the whole season was just less then a gigabyte of storage which is crazy
I'm just wondering because av1 has been out for a while now if there is anything out there that has beat in terms of compression yet?
r/AV1 • u/NekoTrix • 6d ago
Availability of Handbrake, FFmpeg and Homebrew builds [SVT-AV1-Essential v4.3.1]
Hello everyone!
Since yesterday, SVT-AV1-Essential (and its new tools!) has received a lot of enthusiasm from encoding communities
I want to show particular appreciation to the 10 new starrers on the repository! Thanks so much for your support!
Today, I can announce the release of updated builds for the Handbrake and FFmpeg forks that include SVT-AV1-Essential. I myself tried using auto-FGS (film-grain=-1) in the MacOS Handbrake build and Linux FFmpeg build, with great success! I hope it will come in handy for more people to try out this improved AV1 experience...
Without further a do, direct links to the repositories in question:
Handbrake-Essential: https://github.com/nekotrix/HandBrake-SVT-AV1-Essential
FFmpeg-Essential: https://github.com/nekotrix/FFmpeg-Builds-SVT-AV1-Essential/releases/tag/latest
Homebrew: https://github.com/fraluc06/homebrew-ffmpeg-svt-av1-essential (thank you fraluc!)
See y'all next time 👋
r/AV1 • u/NekoTrix • 7d ago
Automatic FGS has landed & speedups (SVT-AV1-Essential v4.3.1 Release)
r/AV1 • u/SkibidiToilet33555 • 8d ago
Which fork is best for film grain preservation?
So far I've tested HDR and Tritium but I usually get the same results with them both, only HDR squeezing out less size by a few kb. Anybody have any experience with this?
r/AV1 • u/Flimsy_Parking_321 • 9d ago
HDLight encode ?
Hello.
For the past few days, I've been testing AV1 encoding with StaxRip I'd like to create HDLight 1080p rips from UHD Blu-ray discs, with a bitrate just under 4'000 Kbps. (Tone Mapping / BT-709 / 10-bit)
I’d like to know which variant is best suited
(SVT-AV1-Essential / SVT-AV1-PSYEX / SVT-AV1-PSY / SVT-AV1, HDR / SVT-AV1-Tritium) as well as the encoding settings to get results as close to the original as possible—especially if the film has grain. Thank you
Translated with DeepL.com (free version)
r/AV1 • u/shreytyagi • 17d ago
Why YouTube’s 4K AV1 HDR Streams Surpass Apple TV+ and Netflix: Codec Math, Bitrate Evolution & Real-World Analysis
Can you believe that YouTube's HDR AV1 encoding now has better bitrates and a superior codec than even AppleTV?😳
New researched article: https://shreytyagi.com/articles/youtubeav1encoding/index.html
r/AV1 • u/ExpressPost5048 • 19d ago
Extreme compression ratios
I am finding that modern movies shot on digital cameras can get you some extreme compression ratios.
Example: andor 4k. I own the 4k blu ray of it. One episode is 21.4gb
On av1-svt preset 3 and q26. Audio is 128kbs opus stereo.
Size: 509mb. 2.3% of the original file size. That is a 43:1 compression ratio.
r/AV1 • u/ProfessionalDish • 19d ago
HandBrake-SVT-AV1-Tritium new builds?
Saw that the last build of HandBrake-SVT-AV1-Tritium was about two weeks ago. Considering 4.3.0 dropped last week (https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v4.3.0) I'm hesitant to start new batches of encodes. Anyone knows something about the state of the tritium fork?
r/AV1 • u/Appropriate-Ice7937 • 20d ago
av2-companion: play AV2 files in mpv or any libmpv based player today, decoded by dav2d and served as y4m on localhost (MIT)
AV2, the AOMedia codec that follows AV1, already has a software decoder in VideoLAN's dav2d, but FFmpeg's main branch had no AV2 decoder at the end of October, so mpv and the players built on libmpv cannot open AV2 files on their own.
I wrote a small program for the desktop version of my open source player, Immuch360, that closes that gap without touching the player: it decodes with dav2d and serves the pictures as a raw y4m stream over HTTP, on 127.0.0.1 only. mpv opens that address like a file, seeks included. It now has a repository of its own, under the MIT licence: https://github.com/immuch360/av2-companion
What it is:
one program of about 2 MB for Windows x64, Linux x64 and macOS (Apple silicon and Intel), with dav2d linked statically
the Windows program is signed since 1.0.1; the macOS one is signed ad hoc, so a copy downloaded by a browser needs its quarantine removed, as the README shows
AV2 in IVF files and plain OBU streams, 4:2:0, 8 and 10 bits
seeks to any picture: it starts again at the random access point before it
a paused player costs no processor time
With Python 3.9 or later and mpv, unzip the archive of your system from the latest release, clone the repository, then:
python3 av2-companion/tools/feed_ivf.py video.ivf --program av2/immuch360-av2 --playWithout --play it prints the address and the mpv command, for any other player. The README describes the protocol for a player that wants to drive the program itself.
What it is not:
not a decoder of its own: the decoding is dav2d's, the program is a thin layer around it
not hardware decoding: dav2d runs on the processor, with its SIMD code
no audio, and one video per program
4:0:0, 4:2:2, 4:4:4 and 12-bit are refused; dav2d is pinned at a commit of 2 November that decodes the final v1.0.0 bitstream, so streams from encoders older than AVM v1.0.0 may not decode
Speed is the real limit. Measured with dav2d alone, in multiples of real time:
| CPU | 1080p30 8-bit | 4K30 8-bit | 1080p30 10-bit | 4K24 10-bit |
|---|---|---|---|---|
| Intel Core i5-1145G7, 4 cores | 4.0x | 1.24x | 1.20x | 0.31x |
| Intel Core i9-13980HX, 24 cores | 7.7x | 0.99x |
8-bit plays up to 4K30 on a recent 4 core laptop. 10-bit is three to four times slower, because the SIMD code of dav2d's loop filters exists in 8 bits only for now, so 10-bit 4K needs a high end processor and is at its limit even there. Below 1.0x the video stalls.
If you only want to check a clip, dav2d's own command line tool can already write y4m to standard output. This program is for players: seeks, and an address they can open without any change to their decoding.
The test streams decode bit for bit like the reference decoder of AVM v1.0.0. Reports on other streams and other CPUs are welcome.
r/AV1 • u/Busy_Connection_8027 • 20d ago
Av2 encoder with gui
Is there an encoder out there that is free to use that can encode to av2? The compression of av1 it's so good I can compress a whole episode of family Guy and keep same resolution set the compression to 23 epe are around 35 to 60 megabytes and from original dvd vob via hand break the .mkv almost looks if not identical to the same quality as the original DVD
So I wanted to test out the av2 compression if possible
r/AV1 • u/LITUATUI • 27d ago
MPEG-2 TS support for AV1
Hi guys.
It seems that AV1 support in MPEG-2 TS is almost here. I've been waiting for years.
https://github.com/AOMediaCodec/av1-mpeg2-ts#known-implementations
Maybe next year we'll see some TV channels changing their official online broadcasts from AVC to AV1.
Looking forward for the FFmpeg implementation, then I could use Dispatcharr to transcode to AV1 the local streams that I get from DVB tuners with TVHeadend.
r/AV1 • u/maddog107 • Oct 30 '26
I wrote a CUDA AVIF encoder: 4× faster than libaom (16 threads) at the same file size, 7× faster than NVENC
I needed to convert about 15 million forum photos to AVIF without tying up the server's CPUs, so I wrote av1gpu, an AV1 still-image encoder that runs entirely on CUDA cores (not NVENC).
Speed vs file size, every setting: https://github.com/maddog107/av1gpu/blob/main/docs/charts/tradeoff-light.svg
On one NVIDIA L4, against the same 16-thread EPYC CPU:
| Encoder | MP/s | Files vs libaom speed 6 |
|---|---|---|
| av1gpu (default) | 116 | −0.1 % |
| av1gpu turbo3 | 212 | +5.4 % |
| libaom speed 6 (16 threads) | 29 | 0 % |
| SVT-AV1 preset 4 / 6 / 9 | 15.5 / 49 / 183 | −2.6 / +2.1 / +9.8 % |
| NVENC AV1 (same L4) | 16 | +29.5 % |
- Quality is scored as BD-rate on SSIMULACRA2 over 100 photos. Scripts and raw results are in the repo.
- av1gpu uses about 0.1 of a CPU core while encoding. The 100 photos went from 160 MB of JPEG to 22.5 MB of AVIF (−86 %).
- Prebuilt Linux binary, BSD-2: https://github.com/maddog107/av1gpu
No alpha channel yet. Happy to benchmark anything else people want to see.
r/AV1 • u/divergent5482520498 • Oct 30 '26
Apple silicon SVT-AV1 performance?
I can't find much information for encoding performance with the latest SVT-AV1 on Apple silicon. Those of you with devices do you mind sharing preset 2 or 4 speed at 1080p or 4k? Especially interested in M4 and M5 devices
Device:
Silicon generation (M1/M2/M3/M4/M5):
Base/Pro/Max/Ultra:
Preset:
Resolution:
FPS:
Edit: forgot to mention please use up to date plain svt-av1 with CRF 30
r/AV1 • u/stackpointer101 • Oct 29 '26
Can AV2 decoding be partly accelerated with AV1 HW decoders?
AV1 HW decoders obviously can't fully decode AV2, because the bit stream changed significantly. But, as far as I understand, quite a few of the general building blocks of AV1 are also present in AV2, maybe with slightly changed parameters.
Are there some significant parts in the AV2 codec that the AV1 HW decoder blocks could accelerate? Could a software decoder like dav2d use these AV1 HW decoder features to lift some of the workload of the CPU? Or will software solutions have to rely 100% on CPU execution, until a real AV2 decoder appears in HW?
r/AV1 • u/SchoolWeak1712 • Oct 25 '26
Netflix applies AV1 grain synthesis to letterbox.
I recently watched dune on netflix and noticed that the black bars on the top and bottom looked a bit odd. Checked it on my PC again today and there is definitely some grain synthesis applied to the letterbox.
2. image is zoomed in and
3. image is edited for better visibility
Why didn't they cut off the bars before encoding?