Binds libVLC 4 as a video player for openFrameworks, inspired by ofxVLCVideoPlayer.
README

Inspired by ofxVLCVideoPlayer.
ofxVlc4Player binds libVLC 4 for openFrameworks.Installing libVLC
The addon ships with helper scripts that download libVLC into the addon-local
libs/libvlc layout.Windows
Run:
scripts\install-libvlc.ps1Or:
powershell -ExecutionPolicy Bypass -File scripts\install-libvlc.ps1What it does:
- Downloads the latest VLC nightly runtime from VideoLAN.
- Downloads public libVLC headers from the VLC
masterbranch. - Installs headers into
libs/libvlc/include. - Installs
libvlc.libintolibs/libvlc/lib/vs. - Copies
libvlc.dll,libvlccore.dll,plugins, andluainto each examplebinfolder.
Linux / WSL
Run:
bash scripts/install-libvlc.shThis wrapper calls the same PowerShell installer, so it is mainly useful from WSL or Git Bash on Windows.
Native Linux (Ubuntu)
Install VLC 4 and libVLC development files:
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc libvlc-devThe addon links against
libvlc through pkg-config on Linux.Linux with Nvidia GPU
You may also need the Nvidia VA-API driver:
Example environment setup:
export LIBVA_DRIVER_NAME=nvidiaExample dependencies
The example app also depends on:
- ofxProjectM
- ofxImGui, and it must be checked out on the
developbranch
git clone --branch develop https://github.com/jvcleave/ofxImGui.gitRecommended projectM assets
For the
ofxProjectM-powered parts of the example, these packs are recommended:Place them like this:
- Presets from
presets-cream-of-the-cropgo in thepresetsfolder. - Textures from
presets-milkdrop-texture-packgo in thetexturesfolder.
ofxAddons