Pooling calculator

A dependency-light Python script (standard library only) that reads a file of per-frame quality scores — a plain list, a CSV column, or a libvmaf JSON log — and prints every common pool side by side: arithmetic mean, harmonic mean, median, minimum, the 5th/10th/25th percentiles, and a Minkowski pool. It flags when the arithmetic mean floats more than a set gap above the worst 5% of frames (the signal that the average is hiding a bad stretch), supports an optional pass/fail quality gate on any po

Download free PDF
Book cover: Video Streaming, Volume 3 of the Fora Soft Video Engineering HandbookBook cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 6 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

This script pools per-frame quality scores with mean, harmonic mean, percentiles and Minkowski pooling, and flags when the average hides a bad stretch. We wrote seven volumes on the video stack; Volume 1 is where quality metrics, compression artifacts and encoder tuning are covered in depth, with Volume 3 on QoE and Volume 6 on AI models. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Need a quality gate that catches bad stretches your average VMAF hides?

Share your encoding pipeline and current QC, and we will set pooling rules and pass/fail thresholds that fit your content. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →