Also with 0.6.4-r1. I described it in https://forums.gentoo.org/viewtopic-t-1111524-highlight-.html There is also my user.patch -> --- a/plugins/VOIP/gui/VideoProcessor.cpp +++ b/plugins/VOIP/gui/VideoProcessor.cpp @@ -453,10 +453,10 @@ encoding_context->rc_max_rate = 0; encoding_context->rc_buffer_size = 0; #endif - if (encoding_codec->capabilities & CODEC_CAP_TRUNCATED) - encoding_context->flags |= CODEC_FLAG_TRUNCATED; - encoding_context->flags |= CODEC_FLAG_PSNR;//Peak signal-to-noise ratio - encoding_context->flags |= CODEC_CAP_PARAM_CHANGE; + if (encoding_codec->capabilities & AV_CODEC_CAP_TRUNCATED) + encoding_context->flags |= AV_CODEC_FLAG_TRUNCATED; + encoding_context->flags |= AV_CODEC_FLAG_PSNR;//Peak signal-to-noise ratio + encoding_context->flags |= AV_CODEC_CAP_PARAM_CHANGE; encoding_context->i_quant_factor = 0.769f; encoding_context->b_quant_factor = 1.4f; encoding_context->time_base.num = 1; @@ -549,10 +549,10 @@ decoding_context->pix_fmt = AV_PIX_FMT_YUV420P; #endif - if(decoding_codec->capabilities & CODEC_CAP_TRUNCATED) - decoding_context->flags |= CODEC_FLAG_TRUNCATED; // we do not send complete frames + if(decoding_codec->capabilities & AV_CODEC_CAP_TRUNCATED) + decoding_context->flags |= AV_CODEC_FLAG_TRUNCATED; // we do not send complete frames //we can receive truncated frames - decoding_context->flags2 |= CODEC_FLAG2_CHUNKS; + decoding_context->flags2 |= AV_CODEC_FLAG2_CHUNKS; AVDictionary* dictionary = NULL; if(avcodec_open2(decoding_context, decoding_codec, &dictionary) < 0)
I may add this is a stable system with media-video/ffmpeg-4.2.2