Given n selected frames, the next challenge is arranging them into a rectangular mosaic of dimensions R × C (rows × columns). The goal is to maximise visual coherence while respecting display constraints (aspect ratio, resolution). This can be formalised as a problem:
: When searching for or accessing video content online: