Do you have video data or already images?
In the former case, you could have a look at nvvl 188 to load sequences from your video.
In the latter case, you could write your own Dataset and return sequences.
I would need a bit more information about your data and use case, e.g. do you have one label for a whole sequence or does each frame have a label? How are the frames separated etc.