更换掉落的车架 [英] Replace dropped frame

查看:103
本文介绍了更换掉落的车架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一种不错"的云游戏解决方案.

I'm doing a Cloud Gaming solution that works kind of "good".

目前,我们的服务器运行游戏,使用VCE(AMD硬件编码)对视频进行编码,对视频帧进行分块,然后以UDP的形式发送给播放器.播放器接收数据包,重新建立数据并解码.因此,如果没有数据包丢失,我们就没有问题.

At the moment our servers runs a game, encode the video using VCE (AMD hardware encoding), chunk the video frames and send it in UDP to the player. The player receives the packets, rebuid the data and decode it. So we have no problems if there is no packet loss.

在有线连接的情况下,一切都很顺利,但是人们喜欢使用Wifi(5 GHz,我们无法处理2 GHz).即使您的Wifi不错,也可能会遇到丢包的情况.我们有一个行之有效"的冗余计划,但是它将占用过多的网络.

In the case of a wired connexion everything is smooth, but people like to use Wifi (5ghz, we can't handle 2Ghz). Even if you have a good Wifi, you may experience packet loss. We have a redundancy plan that works "okish" but it will take too much network.

这里有个小解释:

原始编码(仅P帧):

F1-F2-F3-F4-F5

F1 - F2 - F3 - F4 - F5

如果我们输掉F2,我们现在该怎么做:

What we do at the moment if we lose F2:

F1-空-F3(丑)-F4(丑)-F5(丑)

F1 - empty - F3(ugly) - F4(ugly) - F5(ugly)

我们要做的是,替换F2:

What we want to do, replace F2:

F1-F1'-F3-F4-F5

F1 - F1' - F3 - F4 - F5

如果第三帧指向F1'(认为它是F2)是否可以工作?至少我认为这总比什么都不做要好.有没有办法更改F3的引用(因此它引用的是F1而不是F2),或者使用F2的标头"创建F1'?

Would it work if the third frame refers to F1' (thinking it is F2)? At least I think it better than doing nothing. Is there a way to change the reference of F3 (so it refers to F1 and not F2), or creating F1' with the "header" of F2?

推荐答案

您的解决方案在很大程度上无效.您应该在自己的空间中采用与其他解决方案相同的解决方案.这是周期性的帧内刷新,参考帧无效和FEC.

Your solution would be largely ineffective. You should adopt the same solution as the others in your space. That being periodic intra refresh, reference frame invalidation and FEC.

这篇关于更换掉落的车架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆