|
|
||
|---|---|---|
| .. | ||
| bin | ||
| gozen.gdextension | ||
| gozen.gdextension.uid | ||
| icon.svg | ||
| icon.svg.import | ||
| icon.webp | ||
| icon.webp.import | ||
| LICENSE | ||
| plugin.cfg | ||
| plugin.gd | ||
| plugin.gd.uid | ||
| README.md | ||
| video_playback.gd | ||
| video_playback.gd.uid | ||
| yuv_to_rgb.gdshader | ||
| yuv_to_rgb.gdshader.uid | ||
GDE GoZen
Adding the addon to your project
Put this folder, gde_gozen, inside of a folder called addons inside of your Godot project and re-open your project. After reloading you will have access to a new node, VideoPlayback. This node has a lot of documentation comments so by pressing F1 inside Godot and search for the node VideoPlayback, you'll find it's documentation and more notes on how to use it.
Videos in the file tree
To see video files in your projects file tree, you need to add mp4 and any other video extensions you might use to your Editor settings in docks/filesystem/other_file_extensions.
Exporting your project
- When exporting, you'll have your executable and the GDE GoZen library file, these do need to be both shared for the application to work.
- Also, you will have to add
*.mp4and other extension names of your video files to the resources which need to get exported for each platform you want to export for, otherwise your video files will not be included in your final export.
Android (SAF)
Due to the way SAF works (Godot 4.6+), accessing files through the browser might give invalid paths. You need to be certain you get the absolute path instead. Inside of the test_room you can find an example of how this is done for Android, by basically copying the videos to a temporary folder which will give an absolute path. Only thing to be careful of is to also remove the data afterwards out of the temporary folder.
Help needed?
You can go to the GitHub repo to report problems, or visit out Discord server for help/advice.
This software uses libraries from the FFmpeg project under the LGPLv2.1