Algorithm for video cut detection in MPEG sequences