An Optimized Dynamic Scene Change Detection Algorithm for H.264/AVC Encoded Video Sequences