From Recognition to Prediction: Analysis of Human Action and Trajectory Prediction in Video