video and photo alignment