Skip to content

ActingBadly/ABI_Video_Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABI_Video_Player

Play videos using libVLC 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 via ABI_PhysFS_Loader.

Usage

#include <ABI_Video_Player.h>

ABI_Video_Play(const char* filename, HWND AttachWindow = nullptr, IDirect3DDevice9* externalDevice = nullptr);

Build instructions

AUTOMATED INSTALL (CMAKE)

include(FetchContent)

# If you have `ABI_Video_Player` cloned locally, set `""` to its location to avoid fetching it from GitHub.
set(ABI_Video_Player_LOCAL_PATH "" CACHE PATH "CACHE_ABI_Video_Player" FORCE)

if(ABI_Video_Player_LOCAL_PATH)
  FetchContent_Declare(
    ABI_Video_Player
    SOURCE_DIR ${ABI_Video_Player_LOCAL_PATH}
  )
else()
  FetchContent_Declare(
    ABI_Video_Player
    GIT_REPOSITORY https://github.com/ActingBadly/ABI_Video_Player.git
    GIT_TAG        main
  )
endif()
FetchContent_MakeAvailable(ABI_Video_Player)

target_include_directories(ABI_Video_Player PUBLIC ${ABI_Video_Player_SOURCE_DIR})

target_link_libraries(APP_NAME PRIVATE
    ABI_Video_Player
)

About

A simple vlc video player that can render to a fullscreen window or pass to a dx9 window and render directly in an already existing dx9 window.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors