Add FFmpeg's AAC enoder

This just adds FFmpeg's default AAC encoder as an audio encoder.  Going
to try to start getting things going with the RTMP output library next.
This commit is contained in:
jp9000
2014-04-05 01:13:11 -07:00
parent 8c74db9ffc
commit cabe98cb4e
6 changed files with 296 additions and 12 deletions

View File

@@ -20,11 +20,15 @@ find_package(Libswresample REQUIRED)
include_directories(${Libswresample_INCLUDE_DIR})
add_definitions(${Libswresample_DEFINITIONS})
set(obs-ffmpeg_HEADERS
obs-ffmpeg-formats.h)
set(obs-ffmpeg_SOURCES
obs-ffmpeg.c
obs-ffmpeg-aac.c
obs-ffmpeg-output.c)
add_library(obs-ffmpeg MODULE
${obs-ffmpeg_HEADERS}
${obs-ffmpeg_SOURCES})
target_link_libraries(obs-ffmpeg
libobs