PDA

View Full Version : tempgaussmc and avs2yuv crash


martinfrombern
9th October 2009, 02:04
The problem I have is that whenever I use tempgaussmc, avs2yuv crashes after minute or two. I use avs2yuv because of 64-bit x264. I've done probably hundreds of encodes using x264-64, and I've never seen this problem occur, except each time I try to use tempgaussmc. So if someone knows what could cause the problem, here is try with my latest source...avs2yuv encode.avs -raw - | "D:\encoding\x264.exe" --crf 20 --level 3.1 --ref 11 --mixed-refs --no-fast-pskip --bframes 9 --b-adapt 2 --b-pyramid --weightb --direct auto --deblock -1:-1 --subme 10
--trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 32 --threads 6 --aq-strength 1.0 --psy-rd 1.0:0.15 --no-mbtree --thread-input --sar 64/45 --no-dct-decimate --frames 4425 --fps 25 --output "test1x.h264" - 712x572
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\NNEDI2\nnedi2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MaskTools\mt_masktools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Deblock\deblock.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DctFilter\DctFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrain\Repair.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrain\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MVTools\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\LoadDll\LoadDll.dll")
LoadDll("C:\Program Files (x86)\AviSynth 2.5\dll\FFTW3.dll")

Import("C:\Program Files (x86)\AviSynth 2.5\plugins\TempGaussMC_beta1mod\TempGaussMC_beta1mod.avsi")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\Deblock_QED\Deblock_QED.avsi")

MPEG2Source("00.d2v")

AssumeTFF()
TempGaussMC_beta1mod(EdiMode="NNEDI2").SelectEven()
Deblock_QED()

crop(4,2,-4,-2)

selectrangeevery(1500,75).trim(0,4424)
Please be aware that script works perfectly well in avsp and does what it should (deinterlacing+deblocking). However, when I start encoding process, I always get the message "avs2yuv has stopped working" on 2.2%.
I'm sure this is some kind of noobish question/problem, but I've spent quite some time trying to figure out what foolish mistake I'm making, but no success :(

EDIT: tried using x264 32-bit and thus avoiding avs2yuv. The final encode is excellent for the first 1-2%, after that there are only black frames with red message at the top - "CAVIStreamSynth: System Exception - Access Violation at (...), reading from (...)"

martinfrombern
9th October 2009, 15:46
solved. seems like it was not that trivial, as i suspected it is ;) the problem was in mvtools, updating it to 2.5.6 solved the problem. more details can be find in the mvtools topic (http://forum.doom9.org/showthread.php?t=84770&page=64)