Log in

View Full Version : Resizing doesn't work with TMPGEnc (AVS2.51)


Boulder
16th March 2003, 18:52
I've been trying to encode a DivX clip to MPEG-1 with TMPGEnc. However, I can't get the script working, TMPGEnc just won't accept it but it works fine with VirtualDubMod. If I comment out the resizing, the script does work with TMPGEnc too. I've tried Bilinear and Lanczos as well with no luck. If I use AVS2.08, the script does work (with necessary plugin changes, of course). The error message in TMPGEnc is "Runtime error 216 at 00002A3C" followed with "can not open or unsupported".


LoadPlugin("c:\avs25\temporalcleaner.dll")
LoadPlugin("c:\avs25\dctfilter.dll")
LoadPlugin("c:\avs25\vsfilter.dll")
LoadPlugin("c:\avs25\undot.dll")
AVISource("c:\temp\st_cd1.avi",false) ++ AVISource("c:\temp\st_cd2.avi",false)
AssumeFPS(25.000)
Trim(384,143378)
TextSub("c:\temp\st.sub",25)
BicubicResize(496,304,0,0.6)
UnDot()
TemporalCleaner()
MergeChroma(Blur(1.58))
MergeLuma(Blur(0.2))
AddBorders(24,136,24,136)
DCTFilter(1,1,1,1,1,0.5,0.5,0)
Limiter()


Any ideas? I could switch to AVS2.08 while encoding this clip but if it's a bug, it should be fixed;) I've done several DivX -> MPEG-1 conversions with a similar script but this is the first time I've seen such a hiccup.

sh0dan
16th March 2003, 20:26
Try ending the script with converttorgb24() - TMPGEnc only support RGB24.

Try prioritizing the AVI2 (OpenDML) File Reader in TMPG Env. Settings

Boulder
16th March 2003, 21:04
No, didn't fix it. I've never needed to use the colorspace conversion, I guess the codec used to decode the content does that already.

I'm beginning to suspect that the clip is to blame, all the other DivX3 content I've got don't have this problem. Still it's strange that I can get the script opened when AVS2.08 is installed. I also tried AVS2.50beta but it didn't work either.