Play videos using lib VLC in a new fullscreen window or pass through to an already existing DX9 window and render directly to that target.
Also supports .zip file packaging using PhysFS
#include <Audio_Player_Windows/VLC_Video_Player.h>
PhysFS_LoadZip("Videos/Videos.zip","/Videos");
VLC_Video_Play("Videos/Video_1.mp4"); // New Window VLC_Video_Play("Videos/Video_2.mp4", _window, _device); // DX9 Linked Window
Clone the repo and put in an "External" folder in your project.
CMAKE, add the following
set(CMAKE_FOLDER External) add_subdirectory(Audio_Player_Windows)
Next add the following to you target link libraries target_link_libraries(Audio_Player_Windows d3d9);
Build you program and it should build your file and a physfs.dll file.
Inside the Audio_Player_Windows/build/libvlc_bin folder there will be all the vlc components. Grab libvlc.dll, libvlccore.dll & the plugins folder and copy those to your root build directory where your file lives.
That's it.