Training on optimizing the back end of videos