When want to get the text of youtube video using model.generate_content(). it is very limited. if size 6434kb and duration 121 second is success getting the text, but when the size 19664kb (or up) and duration 639 second (or up) is always error getting the text. the messages error is not related with the error.
Hi @miftah_Rangkuti ,
Yes, Gemini has input limits for video size and duration. Try compressing the video or splitting it into shorter segments before using model.generate_content().
Refer- Video understanding | Gemini API | Google AI for Developers
Thanks!