搜索 社区服务 统计排行 帮助
  • 913阅读
  • 3回复

[新闻]x264 now allows non-mod16 resolutions

楼层直达
级别: 侠客
注册时间:
2004-12-15
在线时间:
0小时
发帖:
339
http://forum.doom9.org/showthread.php?t=101195

As of revision 327 x264 allows non-mod16* resolutions. No more "width % 16 != 0 or height % 16 != 0" error messages

Now we can use:

mod16 - vaild (example 720x432)
mod8 - valid (example 712x424)
mod4 - valid (example 716x428)
width mod4, height mod2 - valid (example 716x430)
width mod2, height mod4 - invalid (example 718x428) -> Avisynth error: YV12 images for output must have a width divisible by 4 (use crop)!

However if either width or height is not divisible by 16, compression will suffer, so if possible always use mod16.

*note: The module (mod) is the remainder produced by dividing two integers. For example if we treat 20 / 6 as an integer divison, the quotient is 3 (rather than 3.333..) and the remainder is 2.



测试了一下vfw版的,的确可以了,解码也正常,cli版的用megui时突然无响应了,诡异......不过应该也是可以的。
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 1楼 发表于: 2005-10-12
However if either width or height is not divisible by 16, compression will suffer, so if possible always use mod16.

:o

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
级别: 工作组
注册时间:
2002-08-11
在线时间:
0小时
发帖:
22146
只看该作者 2楼 发表于: 2005-10-12
怕啥,有人就是喜欢做mod4的东西...

轮回之中...
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 3楼 发表于: 2005-10-13
看了一下原理,好像是将最右边的那部分扩展成一整个block进行压缩。然后播放的时候自动crop掉。

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
快速回复

限150 字节
上一个 下一个