https://github.com/buresu/godot-hap
Godot HAP Addon via GDExtension
https://github.com/buresu/godot-hap
gdextension godot godot-4 hap video-streaming
Last synced: 11 days ago
JSON representation
Godot HAP Addon via GDExtension
- Host: GitHub
- URL: https://github.com/buresu/godot-hap
- Owner: buresu
- License: mit
- Created: 2024-11-02T07:45:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-05-31T15:09:07.000Z (about 1 month ago)
- Last Synced: 2026-05-31T15:09:10.034Z (about 1 month ago)
- Topics: gdextension, godot, godot-4, hap, video-streaming
- Language: C++
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# godot-hap
Godot HAP Addon via GDExtension
## HAP Q
If you are using HAP Q, you will need to decode YCoCg.
Please set the ycocg.gdshader included with the add-on as the material for your VideoStreamPlayer.
## Convert HAP with FFmpeg
FFmpeg is a convenient tool for converting videos to HAP format.
```
ffmpeg -i input.mp4 -vcodec hap -format [hap_alpha|hap_q] output.mov
```
## Build
```
git clone --recursive https://github.com/buresu/godot-hap.git
cd godot-hap
mkdir build && cd build
[Windows]
cmake -G "Visual Studio 18 2026" ..
cmake --build . --config [Debug|Release] --target install
[Mac, Linux]
cmake -DCMAKE_BUILD_TYPE=[Debug|Release] ..
cmake --build . --target install
```
## License
MIT License