angering
6th May 2010, 18:41
here's a problem seems exactly the same with this one:
http://forum.doom9.org/archive/index.php/t-129920.html
thx first of all ,i am a new man in compressing videos ,
the problem is : i have a m2ts video clip ,the video source consists of the first interlaced anime part and the second interview part with a cast ,
so i used aad() in the first part to do the ivtc and i got a 24p mkv run at 30fps(i use the assumefps) clip that aad() had drop 1 frame out of five in the origin source ,
in the second part i use fft3dgpu just to reduce the noise so i may have a better compression,
and when encode finished , i appended them with mmg, and the problem comes : the latter part can't play correctly that it goes with the last frame from the first part with some blocks and cracks and i try swap the order of the two video ,it goes the same as the the previous way . when i google it ,i found the thread post above
i follow the steps provided in that thread but i didn't get a good solution in my case ,i can make sure that two clips were encoded with the same x264 settings as i just copy the first clip settings and pasted it in the second ,
the only difference is that i used the aad() in the first clip
the second with the fft3dgpu() , with a trim in two avs file(if i do the trim it in one avs file ,x264 runs wrong when encoding the middle part of the anime part,so i use two avs file to do the encode and i wanted to append them into one but failed),
hope to get a good and not too complex solution , thx
the avs scripts (i copy it some where and only do some change :p)
LoadPlugin("C:\Program Files\direct264_20100304_v2\dgavcdec109\DGAVCDecode.dll")
#Load_Stdcall_Plugin("c:\Program Files\AviSynth 2.5\plugins\yadif.dll")
LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\a60224.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\nnedi2.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TDeint.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TMM.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\vinverse.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\AAD_v0.1.5a\AAD_015a.avs")
video=avcsource("C:\Documents and Settings\Administrator\9.dga")
#v2=video.trim(0,1643).aad().AssumeFPS(30000,1001)
v3=video.trim(1644,0).fft3dgpu().AssumeFPS(30000,1001)
v4=v3.LanczosResize(864,480)
return v4
x264 settings
x264 -o "g:\head.mkv" -p2 --tune animation --psy-rd 0.0:0.0 --preset slow --ref=5 --deblock=1:1 --me=umh --subme=10 --merange=32 --trellis=2 --partitions all --no-fast-pskip --mixed-ref --chroma-qp-offset=-1 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 -B 600 --qcomp=0.60 --weightp 2 --aq-mode=2 --deldup 13 --versioninfo "c:\1.avs"
x264 -o "g:\end.mkv" -p2 --tune film --psy-rd 0.0:0.0 --preset slow --ref=5 --deblock=-0:1 --me=umh --subme=10 --merange=32 --trellis=2 --partitions all --no-fast-pskip --mixed-ref --chroma-qp-offset=-1 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 -B 500 --qcomp=0.60 --weightp 2 --aq-mode=2 --versioninfo "c:\2.avs"
the first pass is the same:
x264 -o NUL -p1 --tune animation --ref=1 --deblock=1:1 --me=dia --subme=1 --merange=1 --trellis=2 --partitions p8x8 --no-fast-pskip --mixed-ref --chroma-qp-offset=0 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 --crf=20 --qcomp=0.60 --weightp 2 --aq-mode=2 --direct auto --versioninfo "c:\1.avs"
http://forum.doom9.org/archive/index.php/t-129920.html
thx first of all ,i am a new man in compressing videos ,
the problem is : i have a m2ts video clip ,the video source consists of the first interlaced anime part and the second interview part with a cast ,
so i used aad() in the first part to do the ivtc and i got a 24p mkv run at 30fps(i use the assumefps) clip that aad() had drop 1 frame out of five in the origin source ,
in the second part i use fft3dgpu just to reduce the noise so i may have a better compression,
and when encode finished , i appended them with mmg, and the problem comes : the latter part can't play correctly that it goes with the last frame from the first part with some blocks and cracks and i try swap the order of the two video ,it goes the same as the the previous way . when i google it ,i found the thread post above
i follow the steps provided in that thread but i didn't get a good solution in my case ,i can make sure that two clips were encoded with the same x264 settings as i just copy the first clip settings and pasted it in the second ,
the only difference is that i used the aad() in the first clip
the second with the fft3dgpu() , with a trim in two avs file(if i do the trim it in one avs file ,x264 runs wrong when encoding the middle part of the anime part,so i use two avs file to do the encode and i wanted to append them into one but failed),
hope to get a good and not too complex solution , thx
the avs scripts (i copy it some where and only do some change :p)
LoadPlugin("C:\Program Files\direct264_20100304_v2\dgavcdec109\DGAVCDecode.dll")
#Load_Stdcall_Plugin("c:\Program Files\AviSynth 2.5\plugins\yadif.dll")
LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("c:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\a60224.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\nnedi2.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TDeint.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TMM.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\vinverse.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\AAD_v0.1.5a\AAD_015a.avs")
video=avcsource("C:\Documents and Settings\Administrator\9.dga")
#v2=video.trim(0,1643).aad().AssumeFPS(30000,1001)
v3=video.trim(1644,0).fft3dgpu().AssumeFPS(30000,1001)
v4=v3.LanczosResize(864,480)
return v4
x264 settings
x264 -o "g:\head.mkv" -p2 --tune animation --psy-rd 0.0:0.0 --preset slow --ref=5 --deblock=1:1 --me=umh --subme=10 --merange=32 --trellis=2 --partitions all --no-fast-pskip --mixed-ref --chroma-qp-offset=-1 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 -B 600 --qcomp=0.60 --weightp 2 --aq-mode=2 --deldup 13 --versioninfo "c:\1.avs"
x264 -o "g:\end.mkv" -p2 --tune film --psy-rd 0.0:0.0 --preset slow --ref=5 --deblock=-0:1 --me=umh --subme=10 --merange=32 --trellis=2 --partitions all --no-fast-pskip --mixed-ref --chroma-qp-offset=-1 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 -B 500 --qcomp=0.60 --weightp 2 --aq-mode=2 --versioninfo "c:\2.avs"
the first pass is the same:
x264 -o NUL -p1 --tune animation --ref=1 --deblock=1:1 --me=dia --subme=1 --merange=1 --trellis=2 --partitions p8x8 --no-fast-pskip --mixed-ref --chroma-qp-offset=0 --no-dct-decimate --min-keyint 24 --b-pyramid normal --b-adapt=2 --aq-strength 0.3 --b-bias=0 --crf=20 --qcomp=0.60 --weightp 2 --aq-mode=2 --direct auto --versioninfo "c:\1.avs"