Caption generation problem in my app

In my app that can create captions for any kind of images and videos. so when the user in uplodaing 2GB size videos the app can’t geerate captions for that videos though I have updated the app, so that it can take upto 2GB size videos and can generate captions but still it shows an error in ai that i can’t not generate caption for that size videos.