Shot (or scene) detection finds the cuts in a video, the points where one continuous shot ends and the next begins, so each shot can be encoded and measured on its own. It rests on a simple assumption: frames within a single shot share spatio-temporal characteristics, similar motion and detail, which makes a shot the natural unit to optimize. In a per-shot encoding pipeline, detection supplies the boundaries the optimizer needs to build a convex hull per shot and choose the best resolution and quality setting for each. It also serves measurement directly: scoring per shot exposes the worst stretches that a single mean VMAF over a whole title quietly absorbs, the same reason teams read a low percentile rather than the average. The catch is that detection is imperfect, missed or false cuts misalign the units, and on a full-reference metric a shot boundary that does not match between source and encode can corrupt the comparison, so the cuts must be consistent on both sides.

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

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

Shot detection turns a long video into units that can each get their own encoding settings, which is the basis of per-shot encoding. Among our seven handbook volumes on the video stack, start with Volume 1 for shot detection, covering per-title and per-shot encoding, convex-hull ladders and quality metrics, then Volume 6 for computer vision. Written by Nikolay Sapunov, CEO at Fora Soft.

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

Building per-shot encoding and need reliable shot detection first?

We will assess shot detection on your catalog and outline a per-shot encoding pipeline with expected bitrate savings. 250+ video products shipped since 2005.

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