BD-rate calculator (BD-rate + BD-quality)

A dependency-free (pure standard-library) Python tool that computes BD-rate AND BD-quality from two sets of (bitrate, quality) points, the way the research recommends: SHAPE-PRESERVING monotone PCHIP interpolation (no overshoot), integration in the LOG10-bitrate domain, integration ONLY over the overlapping quality range (IoU reported, thin-overlap warning), and the recommended -10*log10(1-q/qmax) VMAF/SSIM log transform. Point it at your own CSV (bitrate_kbps,quality), or run --dataset on the b

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 BD-rate calculator returns BD-rate and BD-quality from two rate-quality curves, integrating only over the overlap and using the log transform for VMAF. Our seven-volume handbook covers the full video stack; start with Volume 1 for rate control and quality metrics, then Volume 3 for ABR ladders and Volume 6. Written by Nikolay Sapunov, CEO at Fora Soft.

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

Comparing two encoders and need an honest BD-rate number?

Send us your rate-quality points, and we will check the BD-rate math and tell you whether the gain is real. 250+ video products shipped since 2005.

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