IMSdroid视频马赛克问题

IMSdroid网络环境比较差的情况下,马赛克非常严重,观察看到一个选项Zero Video Artifacts,顾名思义:零伪影,即没有伪装的影像,专业说法应该就是一种软件补偿成像的算法吧。设置后马赛克确实减少很多,但是网络差还是卡顿,试了下QQ也是一样的。原理看看这个:

n a video processing system where motion vectors are estimated for a subset of the blocks of data forming a video frame, and motion vectors are interpolated for the remainder of the blocks of the frame, a method includes determining, for at least at least one block of the current frame for which a motion vector is not estimated ( 204 ), whether a block to the left or right has an estimated zero motion vector ( 206 ), determining whether the at least one block had an estimated zero motion vector in a previous frame ( 206 ), and if both determinations are affirmative ( 208 ), providing a predetermined motion vector for the at least one block. The predetermined motion vector may be a zero motion vector ( 208 ).

(PS:我是看的晕晕的)

https://groups.google.com/forum/#!topic/doubango/TpDL3qEH7yQ

 

关于此设置选项的一些问题:

This setting is (still?) hardcoded in tinyMEDIA/src/tmedia_defaults.c of the Doubango source. To enable it change
static tsk_bool_t __video_zeroartifacts_enabled = tsk_false; // Requires from remote parties to support AVPF (RTCP-FIR/NACK/PLI)

to:
static tsk_bool_t __video_zeroartifacts_enabled = tsk_true; // Requires from remote parties to support AVPF (RTCP-FIR/NACK/PLI)

And recompile Doubango and webrtc2sip.

 

There is a public API function to enable/disable this feature but it's not recommended to enable it on webrtc2sip as it's a relay and not a producer.

This feature should only be enabled on the clients or any endpoint acting as video producer (in opposite to video relay).

 

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
视频马赛克是一种技术处理手段,用于消除视频中的马赛克效果。马赛克通常是为了保护个人隐私或敏感信息而在视频中添加的一种像素化效果。 要对视频进行去马赛克处理,首先需要了解马赛克的特征和形成原理。马赛克通常由一系列相同大小的像素块组成,这些像素块代替原始图像的一部分区域。 去马赛克的主要思路是通过图像处理算法识别并还原被马赛克覆盖的区域。常见的去马赛克方法有图像插值、边缘修复和纹理重建等。 图像插值是一种还原像素信息的方法。它通过分析马赛克边缘和周围已知像素的特征,推断出被马赛克遮盖的像素点的大致信息,并进行像素点的填充。这种方法适用于马赛克边缘比较明显、周围已知像素丰富的情况。 边缘修复是一种通过分析马赛克区域和边缘信息,计算并还原被马赛克遮盖的像素值的方法。该方法适用于马赛克区域较大、马赛克边缘模糊的情况。 纹理重建是一种从周围已知纹理信息推断被马赛克遮盖区域纹理并进行还原的方法。通过分析马赛克区域周围已知纹理特征,结合图像纹理生成算法,还原被马赛克遮盖的区域。 依靠这些方法,我们可以实现视频马赛克处理。首先,对视频进行帧提取,然后对每一帧进行去马赛克处理,最后将处理后的帧重新组合成去马赛克视频。 总之,视频马赛克是一种通过图像处理算法识别并还原被马赛克遮盖的区域的技术手段。通过图像插值、边缘修复和纹理重建等方法,我们可以有效地实现视频马赛克

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值