Skip to content

ActingBadly/Audio_Player_Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio_Player_Windows

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

Usage

#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

Build instructions

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.

About

A simple audio player for use with Windows OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors