obs-ffmpeg: Add FFMpeg input source

This commit is contained in:
John Bradley
2015-03-04 12:45:50 -06:00
committed by kc5nra
parent 8a32345071
commit 2fc6c4d725
4 changed files with 445 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ if(MSVC)
endif()
find_package(FFMpeg REQUIRED
COMPONENTS avcodec avutil swscale avformat swresample)
COMPONENTS avcodec avfilter avdevice avutil swscale avformat swresample)
include_directories(${FFMPEG_INCLUDE_DIRS})
set(obs-ffmpeg_HEADERS
@@ -16,13 +16,15 @@ set(obs-ffmpeg_HEADERS
set(obs-ffmpeg_SOURCES
obs-ffmpeg.c
obs-ffmpeg-aac.c
obs-ffmpeg-output.c)
obs-ffmpeg-output.c
obs-ffmpeg-source.c)
add_library(obs-ffmpeg MODULE
${obs-ffmpeg_HEADERS}
${obs-ffmpeg_SOURCES})
target_link_libraries(obs-ffmpeg
libobs
libff
${obs-ffmpeg_PLATFORM_DEPS}
${FFMPEG_LIBRARIES})