A Haxe/OpenFL library for @:native video playback using libVLC.
Hashlink or Neko are not supported
- Windows (x86_64 only)
- MacOS (x86_64 and arm64 only)
- Linux
- Android (arm64, armv7a, x86, and x86_64 only)
- iOS (arm64 and simulator only)
To install hxvlc, follow these steps:
- Haxelib Installation
haxelib install hxvlc
- Haxelib Git Installation (for latest updates)
haxelib git hxvlc https://github.com/MAJigsaw77/hxvlc.git
- Project Configuration (Add the following code to your project.xml file)
<section if="cpp"> <haxelib name="hxvlc" if="desktop || mobile" /> </section>
On Linux you need to install vlc from your distro's package manager.
Commands list
Debian based distributions (Debian):
sudo apt-get install vlc libvlc-dev libvlccore-dev vlc-binArch based distributions (Arch):
sudo pacman -S vlcFedora based distributions (Fedora):
sudo dnf install vlcsudo dnf install epel-release
sudo dnf install vlcopenSUSE based distributions (openSUSE):
sudo zypper install vlcGentoo based distributions (Gentoo):
sudo emerge media-video/vlcSlackware based distributions (Slackware):
sudo slackpkg install vlcVoid Linux (Void Linux):
sudo xbps-install -S vlcNixOS (NixOS):
nix-env -iA nixpkgs.vlc-
Explore the Samples Folder for examples of using this library with OpenFL and Flixel.
-
Visit the API Documentation for detailed information on available functionalities.
hxvlc is made available under the MIT License. Check LICENSE for more information.
libVLC is released under the LGPLv2 (or later) License.
For more information, visit VideoLAN.org.