Skip to content

A Haxe/OpenFL library for @:native video playback using libVLC.

License

Notifications You must be signed in to change notification settings

MAJigsaw77/hxvlc

Repository files navigation

hxvlc

A Haxe/OpenFL library for @:native video playback using libVLC.

Supported Platforms

  • Windows (x86_64 only)
  • MacOS (x86_64 and arm64 only)
  • Linux
  • Android (arm64, armv7a, x86, and x86_64 only)
  • iOS (arm64 and simulator only)

Caution

These platforms need to be compiled using Lime targeting cpp to work.

Instructions

  1. Install the library:

    • Via Haxelib:
      haxelib install hxvlc
    • Via Git for the latest updates:
      haxelib git hxvlc https://github.com/MAJigsaw77/hxvlc.git
  2. Add this code in the project.xml file:

    <section if="cpp">
    	<haxelib name="hxvlc" if="desktop || mobile" />
    </section>

Dependencies

On Linux you need to install vlc from your distro's package manager.

  • Debian based distributions:
    sudo apt-get install libvlc-dev libvlccore-dev vlc-bin vlc
  • Arch based distributions:
    sudo pacman -S vlc
  • Gentoo based distributions:
    sudo emerge media-video/vlc

Usage Examples

  • Check out the Samples Folder for examples on how to use this library.

Licensing

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.