POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 3885|回复: 13
打印 上一主题 下一主题

“两个星期”才完成 10 秒高清视频压缩,h.264 换代编码-HEVC的初尝

[复制链接]
跳转到指定楼层
1#
发表于 2011-5-20 01:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
http://x264dev.multimedia.cx/archives/360

Simply beyond ridiculous
Filed under: H.265,speed ::

For the past few years, various improvements on H.264 have been periodically proposed, ranging from larger transforms to better intra prediction.  These finally came together in the JCT-VC meeting this past April, where over two dozen proposals were made for a next-generation video coding standard.  Of course, all of these were in very rough-draft form; it will likely take years to filter it down into a usable standard.  In the process, they’ll pick the most useful features (hopefully) from each proposal and combine them into something a bit more sane.  But, of course, it all has to start somewhere.

A number of features were common: larger block sizes, larger transform sizes, fancier interpolation filters, improved intra prediction schemes, improved motion vector prediction, increased internal bit depth, new entropy coding schemes, and so forth.  A lot of these are potentially quite promising and resolve a lot of complaints I’ve had about H.264, so I decided to try out the proposal that appeared the most interesting: the Samsung+BBC proposal (A124), which claims compression improvements of around 40%.

The proposal combines a bouillabaisse of new features, ranging from a 12-tap interpolation filter to 12thpel motion compensation and transforms as large as 64×64.  Overall, I would say it’s a good proposal and I don’t doubt their results given the sheer volume of useful features they’ve dumped into it.  I was a bit worried about complexity, however, as 12-tap interpolation filters don’t exactly scream “fast”.

I prepared myself for the slowness of an unoptimized encoder implementation, compiled their tool, and started a test encode with their recommended settings.

I waited.  The first frame, an I-frame, completed.

I took a nap.

I waited. The second frame, a P-frame, was done.

I played a game of Settlers.

I waited. The third frame, a B-frame, was done.

I worked on a term paper.

I waited. The fourth frame, a B-frame, was done.

After a full 6 hours, 8 frames had encoded.  Yes, at this rate, it would take a full two weeks to encode 10 seconds of HD video.  On a Core i7.  This is not merely slow; this is over 1000 times slower than x264 on “placebo” mode.  This is so slow that it is not merely impractical; it is impossible to even test.  This encoder is apparently designed for some sort of hypothetical future computer from space.  And word from other developers is that the Intel proposal is even slower.

This has led me to suspect that there is a great deal of cheating going on in the H.265 proposals.  The goal of the proposals, of course, is to pick the best feature set for the next generation video compression standard.  But there is an extra motivation: organizations whose features get accepted get patents on the resulting standard, and thus income.  With such large sums of money in the picture, dishonesty becomes all the more profitable.

There is a set of rules, of course, to limit how the proposals can optimize their encoders.  If different encoders use different optimization techniques, the results will no longer be comparable — remember, they are trying to compare compression features, not methods of optimizing encoder-side decisions.  Thus all encoders are required to use a constant quantizer, specified frame types, and so forth.  But there are no limits on how slow an encoder can be or what algorithms it can use.

It would be one thing if the proposed encoder was a mere 10 times slower than the current reference; that would be reasonable, given the low level of optimization and higher complexity of the new standard.  But this is beyond ridiculous.  With the prize given to whoever can eke out the most PSNR at a given quantizer at the lowest bitrate (with no limits on speed), we’re just going to get an arms race of slow encoders, with every company trying to use the most ridiculous optimizations possible, even if they involve encoding the frame 100,000 times over to choose the optimal parameters.  And the end result will be as I encountered here: encoders so slow that they are simply impossible to even test.

Such an arms race certainly does little good in optimizing for reality where we don’t have 30 years to encode an HD movie: a feature that gives great compression improvements is useless if it’s impossible to optimize for in a reasonable amount of time.  Certainly once the standard is finalized practical encoders will be written — but it makes no sense to optimize the standard for a use-case that doesn’t exist.  And even attempting to “optimize” anything is difficult when encoding a few seconds of video takes weeks.

Update: The people involved have contacted me and insist that there was in fact no cheating going on.  This is probably correct; the problem appears to be that the rules that were set out were simply not strict enough, making many changes that I would intuitively consider “cheating” to be perfectly allowed, and thus everyone can do it.

I would like to apologize if I implied that the results weren’t valid; they are — the Samsung-BBC proposal is definitely one of the best, which is why I picked it to test with.  It’s just that I think any situation in which it’s impossible to test your own software is unreasonable, and thus the entire situation is an inherently broken one, given the lax rules, slow baseline encoder, and no restrictions on compute time.

不过他不久后就已经将时间缩短到 1/10。
javascript:;{lol:]
2#
发表于 2011-5-20 08:33 | 只看该作者
回复 Edison 的帖子

不过他不后就已经将时间缩短到 1/10
------------
抓到一只臭虫
已经是多余的
回复 支持 反对

使用道具 举报

3#
发表于 2011-5-20 09:33 | 只看该作者
缩短到百分之一也依然是没看头啊{titter:]
回复 支持 反对

使用道具 举报

头像被屏蔽
4#
发表于 2011-5-20 15:32 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2011-5-20 15:57 | 只看该作者
380 发表于 2011-5-20 15:32
太爽了 哈哈 就等着3840*2160的高清呢

Super Hi-Vision 是 8K*4K,3300 万像素一格画面 :p。
回复 支持 反对

使用道具 举报

6#
发表于 2011-5-20 16:10 | 只看该作者
8k*4k的显示器来了{titter:]
http://news.mydrivers.com/1/194/194137.htm

7680x4320 夏普造全球首块SHV超高清液晶
2011-05-20 14:47:08 2035 人阅读 作者:Skyangeles 编辑:Skyangeles [复制链接] [我要爆料]
日本NHK电视台和夏普公司共同宣布,已经制造出了全球首台支持SHV标准(Super Hi-Vision,即NHK计划的下一代超高清电视)的液晶屏幕,分辨率高达7680x4320,总像素数量是现有FullHD 1080p的16倍。
NHK 1995年即提出了3300万像素,22.2声道音响的SHV计划,目标在2020年于日本正式开播SHV电视。不过以目前技术水平来看,这种7480x4320分辨率,总像素数量超过3300万的标准从摄录到播放都还有许多难关需要攻克。之前,NHK都是使用超大型投影机,甚至双机投影来进行SHV视频展示,今年年初才首次展出了重量50.5kg的“小型”SHV投影机,此次则是首次在直射式平板显示器上实现SHV标准。
夏普推出的这台SHV液晶电视面板尺寸为85寸,宽度约1.9米,高1.05米,像素点距0.245mm。使用夏普招牌的UV2A技术,RGB LED背光,支持10bit色彩广色域,亮度300cd/m2,通过16条HDMI 1.3版信号线输入SHV信号。
当然,这样的产品现阶段还远无法达到量产程度,夏普的下一步工作也应该是要在更小尺寸的面板上实现SHV分辨率,以利于家庭普及。

画面细节

SHV摄像机样机

回复 支持 反对

使用道具 举报

头像被屏蔽
7#
发表于 2011-5-20 17:41 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

8#
发表于 2011-5-20 17:50 | 只看该作者
什么东西要压2个星期?
回复 支持 反对

使用道具 举报

头像被屏蔽
9#
发表于 2011-5-20 19:21 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

10#
发表于 2011-5-20 20:09 | 只看该作者
300ppi以上,才是王道?
回复 支持 反对

使用道具 举报

11#
发表于 2011-5-20 21:06 | 只看该作者
可以**孔里的细菌了
回复 支持 反对

使用道具 举报

12#
发表于 2011-5-20 21:26 | 只看该作者
不知人眼的分辨率是什么水平
{biggrin:]
回复 支持 反对

使用道具 举报

13#
发表于 2011-5-20 23:23 | 只看该作者
至今1080p都没有普及,仅仅少数人看过,8k-4k什么的都是浮云
回复 支持 反对

使用道具 举报

14#
发表于 2011-5-21 01:52 | 只看该作者
就国内那小水管网络...还是放弃吧
没人喜欢为了看一段1MIN不到的视频下一整个星期吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2025-8-27 21:47

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表