videotexture size limit

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By j2l

I’m successfully requesting a webm movie (

But as soon as I update the VideoPlayer I get error
E 0:00:01.336 to_int: Cannot represent 3498222237 as integer, provided value is too big. <C++ Error> Condition "overflow" is true. Returned: sign == 1 ? (2147483647) : (-2147483647-1) <C++ Source> core/ustring.cpp:1880 @ to_int()
I guess it’s about its size :slight_smile:

So I searched but didn’t find a size limit for video, or how to increase it.
And since it’s stream, it should buffer right?
Any idea? Thanks!

:bust_in_silhouette: Reply From: yrtv

It’s not VideoPlayer size limit. 32-bit integer got overflown with number of pixels. Are you using 32-bit Godot?

Thanks for your reply. No, it’s 64 bits.

j2l | 2021-10-06 08:07