benitogf / godot-video-reference

Reference plugin/interface to support Video Codecs in Godot 4.0 using GDExtension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot VideoStream Reference plugin

This is a reference plugin to use as a base to implement Video codecs for Godot 4 and later.

This is a Work In Progress. Currently tested with godot#15a97a2 On linux (debian) and Windows.

Building this plugin

The instructions build for target=editor and output binaries into the test folder.

Compile godot-cpp:

cd godot-cpp
scons target=editor generate_bindings=yes
cd ..

After this compile the plugin:

scons target=debug test=true

Test flag puts the build binaries into the install location in the test/ project Remove this flag to export to bin/

Visual Studio

Adding vsproj=yes will generate a Visual Studio solution .sln for the file.

In case of errors

If godot headers are outdated you may need to update the extension api before compiling godot-cpp

cd ./godot-cpp/godot-headers/
godot --dump-extension-api --dump-gdextension-interface
cd ../..

About

Reference plugin/interface to support Video Codecs in Godot 4.0 using GDExtension

License:MIT License


Languages

Language:C++ 60.2%Language:Python 31.8%Language:C 8.0%