Hi,
Please apply the patch to 15_multivideo_encode and try again:
@@ -653,6 +667,11 @@ encode_proc(void *p_ctx)
ret = ctx.enc->setFrameRate (ctx.fps_n, ctx.fps_d);
TEST_ERROR (ret < 0, "Could not set framerate", cleanup);
+ /* Set hardware preset value for encoder */
+ cout << "Set preset level V4L2_ENC_HW_PRESET_ULTRAFAST " << endl;
+ ret = ctx.enc->setHWPresetType(V4L2_ENC_HW_PRESET_ULTRAFAST);
+ TEST_ERROR(ret < 0, "Could not set encoder HW Preset Type", cleanup);
+
if (ctx.num_reference_frames)
{
/* Set number of reference frame configuration value for encoder */
Need to set to ultrafast preset in multi-instance encoding.