Quantcast Avisynth: Problem with Lastest Optimal Scripts - digitalFAQ.com Forums [Archives]
  #1  
11-18-2003, 01:00 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
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) }
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-18-2003, 02:45 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Make sure to use the latest version of MPEG2DEC3.dll

www.avisynth.org/~warpenterprises

__________________
j3llyG0053
Reply With Quote
  #3  
11-19-2003, 08:38 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
Thank You SOOOOO very much YOU DA MAN Jellygoose!!!

Reply With Quote
  #4  
11-20-2003, 09:34 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }

What's the purpose of this part of the Script??
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #5  
11-20-2003, 10:15 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6  
11-21-2003, 04:20 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
OK - I see - it just seems kinda strange on first view
__________________
Regards, sh0dan // VoxPod
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Can you give optimal scripts functions explanations ??? le_barbu Avisynth Scripting 7 10-16-2006 07:20 AM
Avisynth: Optimal scripts - Whats so optimal about them? Zanny Avisynth Scripting 8 05-08-2004 05:56 PM
Avisynth: How do I use optimal scripts? xpronic Avisynth Scripting 6 04-21-2004 02:33 AM
Am I allowed to post KVCD optimal scripts here? Edlund Video Encoding and Conversion 18 10-11-2003 04:32 AM
Avisynth: Lastest revision to the MA script lowered CQ by 5 points audi2honda Avisynth Scripting 3 06-29-2003 04:51 PM

Thread Tools



 
All times are GMT -5. The time now is 09:41 AM  —  vBulletin Jelsoft Enterprises Ltd