Stream video from youtube

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EvilMax
:warning: Old Version Published before Godot 3 was released.

There is any way, to play a video directly from online source, like through youtube link?

:bust_in_silhouette: Reply From: Calinou

Godot currently supports Ogg Theora playback (that is, .ogg or .ogv videos) only. It does not support H.264 (for patent reasons) or VP8/VP9 playback (it could be done, perhaps, but keep in mind VP9 is very heavy on mobile), so playing back videos from YouTube is not possible without conversion.

Not to mention you’d need to write a C++ module to support video streaming (right now, the videos have to be stored somewhere to be played).

Lately, I’ve noticed this new feature in the godot engine Github Source Code:

“Merge pull request #6490 from zaps166/webm-pr”

Apparently, support for vp8 and vp9 is now starting to get support. If implemented in the game engine, wouldn’t this enable the engine to search for youtube videos and stream them by GDscripting?

Corruptinator | 2016-10-31 11:23

Has any advance/change on streaming from URLs been made or does it remain as before?

macxb | 2019-10-09 16:01