1. A method comprising: obtaining a plurality of images, wherein at least two of the images contain at least one object over a background; analyzing at least some of the images to detect objects; extracting geometrical meta-data of at least some of the detected objects; calculating an inter-object relationships score for at least some of the detected objects; determining a spatio-temporal arrangement of at least some of the objects and image portions based at least partially on the inter-object relationships score and the geometrical meta-data of at least some of the detected objects; and producing a clip based on the determined spatio-temporal arrangement.