Playing a video on Android - mission impossible?

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

I tried to play a video file on Android, and failed miserably.

  • webm - either video doesn’t show at all, or it freezes. Tried both VP8 and VP9, with or without audio track
  • ogv - stutters, apparently uses too much CPU, even if bitrate/fps/resolution are low
  • OS.native-video-play() - no documentation, no error dump, and didn’t play the video file
  • VideoStreamGDNative/godot-videodecoder - couldn’t get from the documentation how to use it nor what it is capable of doing.

Anyone ever succeeded in playing a video on Android, and can share what their success story?

Sorry, but it looks like this tape will self destruct in 5 seconds.

There was a pull request for playing videos natively made last year, but they’re still working on it. Someone on the Godot subreddit has had a similar issue.

From the looks of it, video currently can’t be played on Android.

Ertain | 2021-04-23 18:54

:bust_in_silhouette: Reply From: wdaza


I’m having exactly the same problem. When I run the game in pc everything is ok but on android is a disaster :frowning:

Exactly same problem!
for me every thing is fine in godot but on android export it didnt work at all!

did you find any solution?

AlirezaBaneshi | 2022-03-07 23:22