Tensorflow model training using video

I have some custom videos that I’m trying to use to train a model for action recognition. Unfortunately by knowledge of TF is still at the beginner level.

My question is how to i convert those videos to TF dataset that I can then use for training.