View Single Post
Old 13th August 2008, 20:14   #1  |  Link
Perscitus
Registered User
 
Join Date: Jan 2007
Posts: 6
Getting terrible results encoding anime.

It has been almost 2 years since I was encoding video and I'm trying to make a backup of an anime. I have spent a good amount of time scouring the forums for info and I'm getting awful results. So I'm looking for any suggestions of what I'm doing wrong. My goal is to create a high quality x264 encode of an anime with vfr and I'm trying to fit it to a 175MB(or 233MB) file size.

What I'm using: MeGui 0.3.0.1020, AviSynth 2.57, x264 (928 Jarod's patched build), DGIndex 1.5.0.0, nnedi 1.3.0.0, TIVTC 1.0.5.0, TDeint 1.1.0.0, TFM 1.0.4, MKVMerge 2.2.0

......1st Pass:
AviSynth
Code:
LoadPlugin("C:\Apps\Encoding Tools\AviSynth 2.5\plugins\TIVTC.dll")

d2vpath = "C:\DVD\Working\test01.d2v"

DGDecode_mpeg2source(d2vpath,info=3)
tfm(d2v=d2vpath,output="c:\DVD\Working\test01-tfm.txt")
tdecimate(mode=4,output="c:\DVD\Working\test01-tdec.txt")


crop( 8, 8, -8, 0)
nnedi(field=1,dh=true).TurnRight().nnedi(field=1,dh=true).TurnLeft()
Lanczos4Resize(640,352)
x264
Code:
program --pass 1 --bitrate 905 --stats "C:\DVD\Working\test01.stats" --bframes 5 --b-pyramid --direct auto --filter 1,1 --subme 1 --partitions none --me dia --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "input" --psy-rd 0
......2nd Pass:
Avisynth
Code:
LoadPlugin("C:\Apps\Encoding Tools\AviSynth 2.5\plugins\TIVTC.dll")

d2vpath = "C:\DVD\Working\test01.d2v"

DGDecode_mpeg2source(d2vpath,info=3)
tfm(d2v=d2vpath,input="C:\DVD\Working\test01-tfm.txt")
tdecimate(mode=5,hybrid=2,vfrDec=0,input="C:\DVD\Working\test01-tdec.txt",tfmIn="C:\DVD\Working\test01-tfm.txt",mkvOut="C:\DVD\Working\test01-timecodes.txt",batch=true)

crop( 8, 8, -8, 0)
nnedi(field=1,dh=true).TurnRight().nnedi(field=1,dh=true).TurnLeft()
Lanczos4Resize(640,352)
x264
Code:
program --pass 2 --bitrate 905 --stats "C:\DVD\Working\test01.stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 5 --b-pyramid --b-rdo --bime --direct auto --filter 1,1 --subme 6 --trellis 2 --partitions none --me umh --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "output" "input" --psy-rd 0
My Result: download here
My Source: I'm not sure if it violates rules to link the VOB of the source, I will link it(or not) as soon as I find this out.
__________________
One must be a fox in order to recognize traps, and a lion to frighten off wolves.
- Niccolò Machiavelli
Perscitus is offline   Reply With Quote