分页: 7 / 8

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-12 10:28
upyzl
longhuizhu 写了:f3kdb(Y=0,Cb=0,Cr=0,ditherY=20,ditherC=0,keep_tv_range=true,precision_mode=3,input_mode=1,output_depth=10,output_mode=2,output_depth=10)
在AVS中加载,出现没有找到名字 dithery
06_taro 写了:1.5.0开始参数名修改了
ditherY -> grainY
ditherC -> grainC
precision_mode -> dither_algo
{:cat_9}

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 18:19
longhuizhu
用了一下好象不行,很容易崩溃啊.而且压出来的颜色都变了,不知道那里没设置好

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 18:33
SAPikachu
麻烦提供下完整脚本、x264参数、崩溃时输出的信息和颜色错误的截图。

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 19:20
longhuizhu
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\flash3kyuu_deband.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\AddGrainC.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\RemoveGrainS.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\TEdgeMask.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\dither.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\mt_masktools-26.dll")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\GrainFactory3mod_v0.3.avsi")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\dither.avsi")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LumaDB_v0.5.avsi")
# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("D:\Program Files\MeGUI_0.3.5\tools\dgindex\DGDecode.dll")

Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\O16_v1.3.2.avsi")
Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LSharpAAFmod.avsi")
Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LSFmod.avsi")
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)
Load_Stdcall_Plugin("D:\Program Files\megui\tools\yadif\yadif.dll")
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
crop(10,0,698,476)




LanczosResize(704,528)

LumaDB(g1str=1.2,g2str=1.0,g3str=0,g1const=false,g2const=false,temp_avg=40)
f3kdb(Y=0,Cb=0,Cr=0,grainY=0,grainC=0,keep_tv_range=true,dither_algo=3,output_mode=2,output_depth=10)

ConvertToRGB32()
a=last
logo=directshowSource("d:\sxts10.avi",29.97).LanczosResize(200,160)
b=trim(a,0,800)
c=trim(a,800,0)
comp=Layer(b,logo,"add",180,-2,-30)
video=comp+c
x=video.LanczosResize(704,528)
x
#x.textsub("d:\1\08.ass")

#ConvertToYV12()
ConvertToYV12
O16()
trim(19000,20009)

avs4x264mod-laa.exe --x264-binary "C:\x264\x264_32_tMod-10bit-420.exe" --profile high10 --input-depth 10 --pass 1 --bitrate 1700 --stats "C:\x264.stats" --deblock -1:-1 --bframes 8 --ref 4 --qcomp 0.70 --aq-mode 2 --aq-strength 0.5 --merange 32 --me umh --direct auto --subme 10 --partitions all --trellis 2 --psy-rd 0.75:0 --fade-compensate 0.40 --fgo 4 --no-dct-decimate --no-fast-pskip --sar 1:1 --output NUL.H264 "d:\1\3.avs"
avs4x264mod-laa.exe --x264-binary "C:\x264\x264_32_tMod-10bit-420.exe" --profile high10 --input-depth 10 --pass 2 --bitrate 1700 --stats "C:\x264.stats" --deblock -1:-1 --bframes 8 --ref 4 --qcomp 0.70 --aq-mode 2 --aq-strength 0.5 --merange 32 --me umh --direct auto --subme 10 --partitions all --trellis 2 --psy-rd 0.75:0 --fade-compensate 0.40 --fgo 4 --no-dct-decimate --no-fast-pskip --sar 1:1 --output "d:\1\test.mp4" "d:\1\3.avs"
pause

感谢老大指教,不知道我是那里做错了,错误信息就是说avs4x264mod-laa.exe应用程序错误,不可READ这样的一个意思 颜色的截图我没截下来,压出来就是前面一层五颜六色的,只看到有人影在动来动去。好象花屏一样的感觉

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 19:30
SAPikachu
f3kdb( ... output_depth=10)执行后的数据格式大部分滤镜均不支持,所以一定要放在脚本最后,另外使用f3kdb转换位深后就不再需要O16了。

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 19:54
longhuizhu
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\flash3kyuu_deband.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\AddGrainC.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\RemoveGrainS.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\TEdgeMask.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\dither.dll")
loadplugin("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\mt_masktools-26.dll")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\GrainFactory3mod_v0.3.avsi")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\dither.avsi")
import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LumaDB_v0.5.avsi")
# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("D:\Program Files\MeGUI_0.3.5\tools\dgindex\DGDecode.dll")

Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\O16_v1.3.2.avsi")
Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LSharpAAFmod.avsi")
Import("C:\Program Files\Pure Codec\AviSynth 2.5\plugins\LSFmod.avsi")
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)
Load_Stdcall_Plugin("D:\Program Files\megui\tools\yadif\yadif.dll")
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
crop(10,0,698,476)




LanczosResize(704,528)



ConvertToRGB32()
a=last
logo=directshowSource("d:\sxts10.avi",29.97).LanczosResize(200,160)
b=trim(a,0,800)
c=trim(a,800,0)
comp=Layer(b,logo,"add",180,-2,-30)
video=comp+c
x=video.LanczosResize(704,528)
x
#x.textsub("d:\1\08.ass")


ConvertToYV12
LumaDB(g1str=1.2,g2str=1.0,g3str=0,g1const=false,g2const=false,temp_avg=40)
f3kdb(Y=0,Cb=0,Cr=0,grainY=0,grainC=0,keep_tv_range=true,dither_algo=3,output_mode=2,output_depth=10)
trim(19000,20009)
老大的意思是这样吗,那个压制的脚本没有写错吧

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 20:01
SAPikachu
恩,这样应该就可以。命令行参数没发现问题,应该是能用的。另外1pass的output是NUL,不是NUL.h264。

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 20:04
longhuizhu
压制还是出错啊

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 20:08
longhuizhu
另外还有个想法,不知道这样能不能丢进你的那个1 CRF PASS那个脚本

Re: flash3kyuu_deband 1.5.1 x86/x64 [2012-04-07]

发表于 : 2012-04-13 20:30
SAPikachu
把前面一段log也贴一下,光看这段没没法确定问题。如果你需要指定码率压制,用我那个脚本意义不大。一定要用的话,请自行参考encx264_targets.py内的其它target编写你需要你自己的版本。