分页: 6 / 13

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-27 21:47
-o-o-304-o-o-
longhuizhu 写了:First pass command line: "D:\Program Files\x26410\x264_10.exe" --threads auto --thread-input --sar 1:1 --ref 7 --aq-strength 1.5 --weightb --mixed-refs --no-fast-pskip --deblock 1:1 --pass 1 --slow-firstpass --stats "888.mp4.x264_stats" --direct auto --trellis 0 --no-8x8dct --me hex --subme 6 --partitions none --b-adapt 2 --output NUL --input-depth 10 --level 4.1 --bframes 7 --vbv-bufsize 50000 --vbv-maxrate 50000 --crf 20 "l.avs"

avs [warning]: converting input clip to YV12
avs [info]: avisynth 16bit hack enabled
avs [info]: 352x528p 1:1 @ 30000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High 10, level 4.1, 4:2:0 10-bit

x264 [info]: frame I:48 Avg QP:28.49 size: 26270
x264 [info]: frame P:2404 Avg QP:31.20 size: 7025
x264 [info]: frame B:7344 Avg QP:32.78 size: 1272
x264 [info]: consecutive B-frames: 1.3% 2.8% 13.6% 40.7% 24.5% 14.2% 2.1% 0.9%
x264 [info]: mb I I16..4: 18.8% 0.0% 81.2%
x264 [info]: mb P I16..4: 5.1% 0.0% 0.0% P16..4: 89.0% 0.0% 0.0% 0.0% 0.0% skip: 5.9%
x264 [info]: mb B I16..4: 3.7% 0.0% 0.0% B16..8: 23.1% 0.0% 0.0% direct:13.8% skip:59.3% L0:34.6% L1:48.8% BI:16.5%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 42.7% 79.5% 49.3% inter: 14.7% 27.4% 4.1%
x264 [info]: i16 v,h,dc,p: 43% 16% 29% 13%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 11% 14% 7% 6% 10% 4% 10% 5%
x264 [info]: i8c dc,h,v,p: 60% 12% 24% 5%
x264 [info]: Weighted P-Frames: Y:17.8% UV:11.4%
x264 [info]: ref P L0: 59.1% 20.2% 8.9% 4.3% 3.1% 3.4% 1.0% 0.0%
x264 [info]: ref B L0: 67.5% 14.6% 8.7% 4.8% 2.7% 1.6%
x264 [info]: ref B L1: 92.7% 7.3%
x264 [info]: kb/s:672.81
--input-depth 10
问题应该是这个参数吧
您这avs默认输出的应该是8bit,如果使用lumaDBL+C16,O16或者f3kdb高precision_mode输出的话应该是“伪”16bit,您这给10bit input肯定有问题
错的太离谱了,道个歉…………full range和limited range说反了orz……
根据您的avs改一下这个,如果是伪16bit的话输入分辨率也需要手工指定

又口胡了orz

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-27 22:46
longhuizhu
LoadPlugin("D:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\1\1.d2v", info=3)
LoadPlugin("D:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("D:\Program Files\megui\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate(hybrid=3)
crop(10,0,698,476)

LanczosResize(704,528) # Lanczos (Sharp)

这个AVS有什么问题.还有你说手动指定,在命令行如何做

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-27 23:13
-o-o-304-o-o-
longhuizhu 写了:LoadPlugin("D:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\1\1.d2v", info=3)
LoadPlugin("D:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("D:\Program Files\megui\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate(hybrid=3)
crop(10,0,698,476)

LanczosResize(704,528) # Lanczos (Sharp)

这个AVS有什么问题.还有你说手动指定,在命令行如何做
这样的avs就是8bit输出嘛,input depth 8就行(nl版没用过不知道,几个菊苣的patch版可以不写的)

手工指定就是给input res呗,具体描述看fullhelp,手基码字所以偷懒了,不好意思……

另外,limited range(TVrange)下直接8bit输入x264压10bit range处理有问题(具体看10bit综合讨论贴),所以要么AVS里面YC伸张一下x264里用fullrange压,要么avs做"伪16bit"(看之前提到的几个虑镜的介绍,论坛里都有)
正确答案看taro大回复……鉴于这两天连续口胡是不是考虑应该闭嘴2天来着orz

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-27 23:25
longhuizhu
input depth 8 这个是在命令行中加,还是? 越搞越糊涂了,看看资料. 谢谢

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-27 23:56
-o-o-304-o-o-
longhuizhu 写了:input depth 8 这个是在命令行中加,还是? 越搞越糊涂了,看看资料. 谢谢
直接改啊,你贴的命令行上不是写着input depth 10么,改成8就应该能压了(不过range未必对,详细同前)

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-28 1:16
longhuizhu
我在皮神的脚本中改成了8的确能压了,不过不明白为什么改成8就能正确找到AVS中的分辨率,用10却成了352*528P这样的分辨率呢? 还有改成8对压制的效果有没有影响

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-28 1:20
longhuizhu
还有你说要处理一下YC伸张,那么这个
Dither_convert_8_to_16()
Dither_resize16(704,528)
Dither_convey_yuv4xxp16_on_yvxx()
这样处理行吗

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-28 3:57
06_taro
limited range用patch版的x264沒有問題,full range才有問題……

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-28 18:54
longhuizhu
弱弱的问一下,何为10BIT,16BIT,8BIT的AVS,最好能举例说明一下,谢谢

Re: [置顶] SAP的EPx264压制脚本(8/19更新)

发表于 : 2011-11-28 19:08
06_taro
10bit
AviSource("8bit.avi").O16(10)

8bit
AviSource("8bit.avi")

16bit
AviSource("8bit.avi").O16()