You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have error both on Win and Linux when I make new or open "test" project from git. Maybe I'm doing something wrong :)
But most important, I can't play any video, usually I have no errors
Compiled with docker.
E 0:00:01.055 get_as_ratio: Cannot get ratio when minimum and maximum value are equal.
<C++ Error> Condition "Math::is_equal_approx(get_max(), get_min())" is true. Returned: 0.0
<C++ Source> scene/gui/range.cpp:174 @ get_as_ratio()
Also if I try to play webm video from test project I have error:
W 0:00:00.545 godot_videodecoder_open_file(): Videodecoder vp8 (On2 VP8) not found.
<C++ Source> src/gdnative_videodecoder.c:572 @ godot_videodecoder_open_file()()
World.gd:9 @ _ready()
The text was updated successfully, but these errors were encountered:
I had this too. This "Cannot get ratio" happens because the min and max of the ProgressBar are set to equal values (both 0). This happens if the plugin failed to open the video. And that is happening because the VP8 codec is not supported by the plugin, as you can see from the second error. (Note that none of the example videos in the test project are actually in a supported format...)
A combination that works for me is to use the .webm extension, WebM container format, VP9 video, Vorbis audio. Using the newer Opus for audio should also work, considering what the plugin reports at startup:
ffmpeg_videoplayer: Supported video codecs:
decode vp9
decode vorbis
codec: libvorbis
decode opus
codec: libopus
I have error both on Win and Linux when I make new or open "test" project from git. Maybe I'm doing something wrong :)
But most important, I can't play any video, usually I have no errors
Compiled with docker.
E 0:00:01.055 get_as_ratio: Cannot get ratio when minimum and maximum value are equal.
<C++ Error> Condition "Math::is_equal_approx(get_max(), get_min())" is true. Returned: 0.0
<C++ Source> scene/gui/range.cpp:174 @ get_as_ratio()
Also if I try to play webm video from test project I have error:
W 0:00:00.545 godot_videodecoder_open_file(): Videodecoder vp8 (On2 VP8) not found.
<C++ Source> src/gdnative_videodecoder.c:572 @ godot_videodecoder_open_file()()
World.gd:9 @ _ready()
The text was updated successfully, but these errors were encountered: