The modeling approach put
forward in previous sections assumes that we know the correspondence
between screenplay scenes and movie shots. We obtain this mapping by
automatically aligning the dialogue in screenplays with subtitles
using Dynamic Time Warping (DTW;
[1]}, [2]}).
We first segment the video into scenes based on this mapping, and then
segment each scene into shots using PySceneDetecthttps://github.com/Breakthrough/PySceneDetect. Shots
with less than 100 frames in total are too short for both processing
and displaying as part of the trailer and are therefore discarded.
