Separating photos from videos to ease merge