哪个更快:解码 H264 1920x1080 并将其显示在屏幕上 1920x1080 或解码 H264 1280x720 并显示 1920x1080?
所以我们正在创建一些视频服务器。我们向 Flash 客户端广播 flv。我们的提供商可以为我们提供 1920x1080 和 1280x720 视频尺寸的 h254 视频。但该视频将从相同的 1280x720 源以相同的比特率生成。因此,
1280x720 h264 with bitRateA
and
1920x1080 with bitRateA
我们假设我们可以以相同的速度传输视频。
对于客户来说,哪个更快:解码 H264 1920x1080 并将其显示在屏幕上 1920x1080 或解码 H264 1280x720 并显示 1920x1080?
So we are creating some video server. We broadcast flv's to our flash clients. our providers can provide us with h254 videos of 1920x1080 and 1280x720 video sizes. But that videos vill be generated from same source of 1280x720 with same bitrate. so ve will have
1280x720 h264 with bitRateA
and
1920x1080 with bitRateA
we asume we can deliver videos with same speed.
What will be faster for clients: decode H264 1920x1080 and display it on screen 1920x1080 or decode H264 1280x720 and display 1920x1080?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我怀疑升级较低分辨率会比解码较高分辨率更快。升级是一个简单而快速的操作,而 h264 解码则非常复杂(是的,这是一个实际的技术表达:-))。
此外,如果您在两个流上具有相同的比特率,则通过提高分辨率将无法获得更好的图像质量,如果您使用相同的较低分辨率流作为源(因为没有更高的额外信息)分辨率流可以使用)。更有可能的是,通过引入额外的抖动和量化误差,重新编码可能会产生比原始低分辨率流更差的图像质量。
I suspect that lower resolution upscaled will be faster than decoding higher resolution. Upscaling is a simple and fast operation, while h264 decoding is hella-complex (yep, that's an actual technical expression :-)).
Besides, if you're having the same bitrate on both streams you'll get no greater picture quality by increasing resolution, doubly so if you're using the same lower-res stream as a source (since there is no extra information that higher resolution stream can use). More likely, re-encoding will probably produce worse picture quality than the original lower-res stream by introducing additional dithering and quantization errors.