obs-ffmpeg: Add new ffmpeg-encoded-output

This commit is contained in:
Aaron Boxer
2019-04-19 14:57:54 -04:00
parent e13dae8299
commit b55b1e9bfd
4 changed files with 986 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ extern struct obs_output_info replay_buffer;
extern struct obs_encoder_info aac_encoder_info;
extern struct obs_encoder_info opus_encoder_info;
extern struct obs_encoder_info nvenc_encoder_info;
extern struct obs_output_info ffmpeg_encoded_output_info;
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(55, 27, 100)
#define LIBAVUTIL_VAAPI_AVAILABLE
@@ -232,6 +233,7 @@ bool obs_module_load(void)
obs_register_output(&replay_buffer);
obs_register_encoder(&aac_encoder_info);
obs_register_encoder(&opus_encoder_info);
obs_register_output(&ffmpeg_encoded_output_info);
#ifndef __APPLE__
if (nvenc_supported()) {
blog(LOG_INFO, "NVENC supported");