The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

I'm successfully requesting a webm movie (https://upload.wikimedia.org/wikipedia/commons/f/f1/Sintel_movie_4K.webm).

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 :)

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!

Godot version 3.3.4
in Engine by (66 points)

1 Answer

0 votes

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

by (887 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.