From 2e8ec44db003e4cfae53b2635392df7338494e44 Mon Sep 17 00:00:00 2001 From: Michael Fabian Dirks Date: Mon, 27 Feb 2017 21:47:34 +0100 Subject: [PATCH 1/2] UI: Update Simple Mode AMD Presets Due to the default value assigned to AMF.H264.VBVBuffer.Strictness and AMF.H264.Version, the config upgrade code ran every time someone tried to use simple mode. That caused the AMF.H264.VBVBuffer.Strictness value to always be stuck at 100, which is wrong for streaming and recording. --- UI/window-basic-main-outputs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UI/window-basic-main-outputs.cpp b/UI/window-basic-main-outputs.cpp index 8d3d7a944..2222fe995 100644 --- a/UI/window-basic-main-outputs.cpp +++ b/UI/window-basic-main-outputs.cpp @@ -575,6 +575,8 @@ void SimpleOutput::UpdateStreamingSettings_amd(obs_data_t *settings, obs_data_set_int(settings, "AMF.H264.Bitrate.Target", bitrate); obs_data_set_int(settings, "bitrate", bitrate); obs_data_set_int(settings, "AMF.H264.FillerData", 1); + obs_data_set_int(settings, "AMF.H264.VBVBuffer", 1); + obs_data_set_int(settings, "AMF.H264.VBVBuffer.Size", bitrate); // Picture Control Properties obs_data_set_double(settings, "AMF.H264.KeyframeInterval", 2.0); @@ -596,6 +598,8 @@ void SimpleOutput::UpdateRecordingSettings_amd_cqp(int cqp) obs_data_set_int(settings, "AMF.H264.QP.IFrame", cqp); obs_data_set_int(settings, "AMF.H264.QP.PFrame", cqp); obs_data_set_int(settings, "AMF.H264.QP.BFrame", cqp); + obs_data_set_int(settings, "AMF.H264.VBVBuffer", 1); + obs_data_set_int(settings, "AMF.H264.VBVBuffer.Size", 50000); // Picture Control Properties obs_data_set_double(settings, "AMF.H264.KeyframeInterval", 2.0); From 0a2f85fc51051a94ddd1cb153bac6a039a6dc266 Mon Sep 17 00:00:00 2001 From: Michael Fabian Dirks Date: Mon, 27 Feb 2017 21:47:49 +0100 Subject: [PATCH 2/2] enc-amf: Update to hotfix 1.4.3.10 --- plugins/enc-amf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/enc-amf b/plugins/enc-amf index 8648badf4..4c2d0d699 160000 --- a/plugins/enc-amf +++ b/plugins/enc-amf @@ -1 +1 @@ -Subproject commit 8648badf4293b75106d018329b61a290fe8bb90b +Subproject commit 4c2d0d6993fe02f8d037118059cd3d698f8e61aa