A Haxe library which adds native video playback on HaxeFlixel and OpenFL.
hxCodec
is powered by libVLC.
Click here to check the roadmap
-
Install the latest stable version of
hxCodec
by running the following haxelib command.haxelib install hxCodec
You can also install it through
Git
to get the latest changes.haxelib git hxCodec https://github.com/polybiusproxy/hxCodec
-
Add this code in the project.xml file.
<haxelib name="hxCodec" if="desktop || android" />
OPTIONAL: Some defines you can add to your project
<!-- LibVLC Logging for hxCodec --> <haxedef name="HXC_LIBVLC_LOGGING" if="debug" />
In order to build a application with the library on Linux, you have to install libvlc
and libvlccore
from your distro's package manager.
sudo apt-get install libvlc-dev libvlccore-dev
sudo pacman -S vlc
Check out the Samples Folder for examples on how to use this library.
hxCodec is made available under the Mozilla Public License 2.0. Check LICENSE for more information.
Haxelib does not support MPL2 therefore, regardless of what Haxelib reports, this library's license is still MPL2.0.
libVLC is the engine of VLC released under the LGPLv2 License (or later). Check VideoLAN.org for more information.
Avatar | UserName | Involvement |
---|---|---|
polybiusproxy | Creator of hxCodec. | |
datee | Creator of HaxeVLC. | |
MAJigsaw77 | Programmer, Android & Linux support. | |
RapperGF | Rendering Overhaul & Testing. | |
swordcube | Testing Linux Support. | |
Jonnycat | MacOS Support. |