Is there an off-the-shelf video data loader to use?

you can copy over this file and modify the image loading to video loading: