4e140d2ffe
Adds support for texture-based AMD encoding, with both H264, HEVC, and HDR support. Falls back to FFmpeg when texture-based encoding cannot be used for whatever reason. (Jim note: This is based upon obsproject/obs-studio#4538 by AMD/Luxoft with fewer files, FFmpeg fallback for software encoding, and HDR support. I also went to lengths to ensure that FFmpeg command line parameters also works with it) Co-authored-by: Jim <obs.jim@gmail.com>
12 lines
327 B
CMake
12 lines
327 B
CMake
project(obs-amf-test)
|
|
|
|
include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/libobs)
|
|
|
|
add_executable(obs-amf-test)
|
|
target_sources(obs-amf-test PRIVATE obs-amf-test.cpp)
|
|
target_link_libraries(obs-amf-test d3d11 dxgi dxguid)
|
|
|
|
set_target_properties(obs-amf-test PROPERTIES FOLDER "plugins/obs-ffmpeg")
|
|
|
|
setup_binary_target(obs-amf-test)
|