re-align video and pic frames