Log in

View Full Version : My avisynth's script or TMPGenc


tempetai
13th May 2003, 03:20
I've been succesfully encoding an AVI to MPG all this while. Just recently, I decided to frameserve from avisynth to TMPGenc for faster processing speed. I'm deinterlacing, filtering and resizing using avisynth and feed the result to TMPGenc for encoding. The speed is very encouraging where I save more than 50% of the time. However, it is not always a success. It's really depend on luck. Sometimes I got an error message saying that TMPGenc unable to read a certain address, but when I re-encode again, I get a same error message but on a different address. Sometimes, with the same AVI and same script, I can succesfully encode the whole clip... Does anyone know why I got this intermittent error.

By the way, here is my AVS script.
---------------------------------------
Avisource("Project 1 Final.avi")
SeparateFields()
ConvertToYuy2()
Weave()
Telecide()
FieldDeinterlace(full=false)
Convolution3D(preset="movieLQ")
saturation = 0.8
cu = - (1-saturation)*256
ColorYUV(off_y=0, gain_y=64, cont_u=cu, cont_v = cu)
LanczosResize(352,288)

Can anyone let me know what is the problem with my script? Or is there any specific setup on TMPGenc that I have missed?
Avisynth version : 2.5.1
TMPGenc version : 2.511.51.160 (2.511)

Rgrds

Wilbert
13th May 2003, 14:43
Try this:

Avisource("Project 1 Final.avi")
ConvertToYUY2(interlaced=true)
Telecide()
Convolution3D(preset="movieLQ")
saturation = 0.8
cu = - (1-saturation)*256
ColorYUV(off_y=0, gain_y=64, cont_u=cu, cont_v = cu)
LanczosResize(352, 288)
ConvertToRGB24()

Is your machine overclocked ?

tempetai
16th May 2003, 02:15
Wilbert, thanks for the reply.

I'm not overclocking. I've reinstalled the older version of tmpgenc (2.510) and it works fine. I'm not sure whether it is due to bug on tmpgenc or because of the newer tmpgenc will only accept RGB24. I'm going to try again new tmpgenc with RGB24 this weekend. By the way, here is the script that I have came out yesterday and I got an excellent result. Thanks to the filter's programmers that have make this happen.

Avisource("Project 1 Final.avi")
ConvertToYUY2(interlaced=true)
TomsMoComp()
_2DCleanYUY2(0,6,2,3)
unfilter(-5,-5)
saturation = 0.9
cu = - (1-saturation)*256
ColorYUV(off_y=0, gain_y=64, cont_u=cu, cont_v = cu)
LanczosResize(352, 288)