kidrigger / godot-videodecoder

GDNative Video Decoder libraries for Godot Game Engine, using FFmpeg library for codecs. A Google Summer of Code Project, 2018
MIT License
84 stars 22 forks source link

Crashes on VP9 .webm video that works when converted with bare ffmpeg #29

Open iMartyn opened 3 years ago

iMartyn commented 3 years ago

Sample reproduction steps (win10, up to date godot) :

Sample workaround (shouldn't be necessary) :

ffmpeg -i test.webm -c:v libvpx -crf 10 -b:v 1M -c:a copy -y fixed.webm

Note that the VideoStreamWebm also crashes instantly, but that might be a vp9 or opus audio not supported. Neither should crash though, and ffmpeg supports vp9 with opus audio fine as can be seen above, so this file should be playable by VideoStreamGDNative.

also, note that the crash also happens with -cv libvpx-vp9 passed to the convert, so it appears to be a vp9 issue :(

jamie-pate commented 3 years ago

dang, it plays on linux, which is where my debugging stuff is set up :)

iMartyn commented 3 years ago

Is it possible that the latest release of godot doesn't have the latest version of the player?

There's no install instructions so I don't know how to overwrite what's in godot even if I managed to build it.