Master Shot Boundary Reference Shot Boundary Detection by Christian Petersohn, Fraunhofer Institute for Telecommunications, Heinrich-Hertz-Institut I have included three files for every mpg file: .ssb - includes all sub shots .msb - includes all master shots .sb - includes sub and master shots The method for defining master shots is rather simple and would be worth to be improved I guess. Anyway starting at the beginning sub shots are aggregated to have at least 60 frames (2 sec) to define a master shot. Then the aggragation starts over again. If you have the time a better way would be to merge a sub shot with the neighbor (before or after the small sub shot) which is more similar based on some measure than the other neighbor. This would eliminate a lot of false positives in the shot detection. The files are simple text files with begin frame number and end frame number for each shot in the first and second row respectively. In the sb-file there is a third and fourth row with begin and end frame number, respectively, for master shots. Examples: Sub shot boundaries (ssb): 0 164 165 181 182 191 192 332 333 348 349 430 Master shot boundaries (msb): 0 164 165 332 333 430 Shot boundaries, sub and master shots (sb): 0 164 0 164 165 181 182 191 192 332 165 332 333 348 349 430 333 430