Skip to content

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

Description

@iMartyn

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

  • use youtube-dl to download royalty free video :
youtube-dl -o test.webm https://www.youtube.com/watch?v=x1T6QFpd0J4
  • Load into godot videoplayer element New VideoStreamGDNative test.webm. Set autoplay on.
  • Play scene, boom. No error, just byebye.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions