PDA

View Full Version : Problems started using avisynth


Shanks|LFC
2nd October 2006, 23:19
Hello everyone, I'm very new to avisynth and have a ton of questions but I'll start with the latest if I may. I created some scripts that worked fine encoding with CCE some days ago, but now when I try to load the script into CCE I keep getting errors. This is the script:

DirectShowSource("H:\05.ogm",fps=29.970)
LanczosResize(720,480)
cl1=trim(3234,21245)
cl2=trim(21690,40649).Reverse.fadeout0(30).Reverse.fadeout0(30)
UnalignedSplice(cl1,cl2)
Tweak(cont=1.1,sat=1.2,bright=1.10)
DeBlock(51)
Convolution3D (1, 8, 16, 8, 8, 2.8, 0) #LowQ
ASharp(T=1.5, D=4.0, B=0.25, hqbf=true)

The CCE error was "Frame size 1324x56 is not supported."!! So I loaded the script into VDubMod and Tweak, Deblock and Conv3D complain about needing YV12. Without those commands ASharp gives a line down the middle of VDubMod's input panel where the left side is really bright and the right side is darker. Adding ConvertToYV12 solves this obviously but if I load a normal .avi script Tweak works fine without the convert.

All these scripts worked fine some days ago without ConvertToYV12. I haven't installed anything new. It is my newb understanding that I shouldn't need to convert. Something has changed and I have no idea what or where to look, nor what to search for to help myself. I would like to 'undo' whatever has changed if I can. I'm using Avisynth 2.56a.

EDIT: oops I somehow posted before I finished writing!!

Skelsgard
3rd October 2006, 03:41
Depending on the filters, u might be forced to or not to convert. Some work with most colorspaces, others with few or only one.
Convolution3D requires YV12 or YUY2 colorspaces.
ASharp, YV12.
But Tweak() can work also on RGB, thatīs why it doesnīt complaint.
The conversion to YUY is gonna happen anyway, wether in the script or in CCE.

Cheers.

Shanks|LFC
3rd October 2006, 13:20
Thanks. Any idea why it worked previously without the convert and now it doesn't?

Shanks|LFC
5th October 2006, 02:27
Ok. Tweak works on YV12 and YUY2 according to the documentation with 2.56a.

Anyway... today... I load the ORIGINAL scripts (ie. without convYV12) into CCE and... no errors. VDMod the same. Everything back the way it was. Don't know what's going on and don't care as long as it's working.