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、付费专栏及课程。

余额充值