added a script to force mplayer to seek to the frame 5 seconds before EOF