digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Problem with lastest optimal scripts (http://www.digitalfaq.com/archives/avisynth/6764-avisynth-problem-lastest.html)

Big2hd 11-18-2003 01:00 PM

Avisynth: Problem with lastest optimal scripts
 
I keeping getting this script error when using dvd2svcd in conjunction with dvd2kvcd:

Script error, there is no function named "is Y12"

C:/DVD2SVCD/movie/Avisynth_script_file.avs, line 12

C:/DVD2SVCD//movie/Avisynth_script_file.avs, line 3

Any Suggestions :?: , Here is the whole thing:

LoadPlugin("C:\DVD2SVCD\Avisynth2.5 Plugins\Mpeg2dec\MPEG2DEC.dll")
AVISource("C:\DOCUME~1\Big2HD\MYDOCU~1\MYVIDE~1\Xt ras\WDBC.avi",False)
ConvertToYUY2()
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 240+0+0, overscan=1, source_anamorphic=false, dest_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }

Jellygoose 11-18-2003 02:45 PM

Make sure to use the latest version of MPEG2DEC3.dll

www.avisynth.org/~warpenterprises

:wink:

Big2hd 11-19-2003 08:38 PM

Thank You SOOOOO very much YOU DA MAN Jellygoose!!!

:ole:

sh0dan 11-20-2003 09:34 AM

function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }

What's the purpose of this part of the Script??

Dialhot 11-20-2003 10:15 AM

That is due to the usage of DVD2SVCD : when the source is an avi, it always try to convert it in YUY2 by adding the "ConvertToYUY2()" line that you can see after the "avisource" command.

That is not in the original script, it's really DVD2SVCD that adds it.
So I had to find a trick in order to avoid the useless conversion and be sure to work in YV12 because blindPP needs it !

Thats it the two purposes of the line you pointed : override the original ConvertToYUY2 and do a ConvertToYV12 if the original clip wasn't in this colorspace.

sh0dan 11-21-2003 04:20 AM

OK - I see - it just seems kinda strange on first view :)


All times are GMT -5. The time now is 10:26 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.