Skip to content

Elly2018/GameEngine-FFmpeg-Plugin

Repository files navigation

elly-videoplayer

A general video player for godot 4.x, unity, unreal to play video, this is a wrapper of ffmpeg for decode

Below example use godot engine import gdextension for video player

Wiki Plan

v8

v5 v6 v7

The above demo use URL are all in the godot 2D example project player file link
And apply to VR sphere mesh and a viewport texture in front of player

Repository structure:

  • build/ - All the build scripts in here.
    • Godot/ - the godot project build scripts
    • Unity/ - the unity project build scripts
    • Unreal/ - the unreal engine project build scripts
  • src/ - Source code of this extension.
    • ffmpeg/ - FFmpeg library.
    • src/ - Wrapper source code.
  • mobile/ - Mobile source code projects for Android, IOS
  • example/ - The video player implementation
    • Godot/ - the godot video player project
    • Unity/ - the unity video player project
    • Unreal/ - the unreal engine video player project

Dependencise structure:

  • godot-cpp/ - Submodule needed for GDExtension compilation.

known issues

  • HLS will stuck at buffering sometimes
  • hardware acceleration not include

Supported engine

  • Godot 4.1+
  • Unity
  • Unreal
  • Native

Supported platfrom

Platform Video Audio XR Support
Windows O O
MacOS X X X
Linux O O
Android X X X
IOS X X X
Web File X X X