Quantcast Avisynth: Loading Script to TMPGEnc, Run into Problems... - digitalFAQ.com Forums [Archives]
  #1  
11-12-2004, 11:11 PM
cheung31 cheung31 is offline
Free Member
 
Join Date: Jan 2004
Location: Calgary, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cheung31
Code:
AviSource("C:\Infernal Affairs\vid.avi",false)
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, overscan=1, source_anamorphic=false) 
GripSize(resizer="LanczosResize") 
Undot() 
TemporalSoften(2,7,7,3,2) 
DCTFilter(1,1,1,1,1,1,0.5,0) 
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623) 
GripBorders()
AddBorders(0,0,22,15)
TextSub("C:\Infernal Affairs\srt.srt")
well there is my code for now (most of which i took from the kwags optimized script), my problems occur right near the start, TMPGenc gives an error of:

"Script Error: there is no such function named BlindPP"
and then it says the blockbuster line requires a YUY2 or YV12 source?! so i added ConvertToYV12() like it says at avisynth.org, and i get this error:
"Invalid arguments to function "ConvertToYV12"

please could someone help me
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-13-2004, 12:37 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

The blindPP filter is in the mpeg2dec3.dll file. Just make sure you have these file in the avisynth plugin directory..
For the convert Error, try that:
AviSource(...).ConvertToYV12()

If it don't work, what version of avisynth are you using?

Salu2
Fabrice
  #3  
11-13-2004, 12:03 PM
cheung31 cheung31 is offline
Free Member
 
Join Date: Jan 2004
Location: Calgary, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cheung31
ok i will give that a shot and report back, thx for your help fabrice
  #4  
11-13-2004, 12:41 PM
cheung31 cheung31 is offline
Free Member
 
Join Date: Jan 2004
Location: Calgary, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cheung31
nope

it didn't work. i have tmpgenc v. 2.521

i still get the ConvertToYV12 error
  #5  
11-13-2004, 07:34 PM
cheung31 cheung31 is offline
Free Member
 
Join Date: Jan 2004
Location: Calgary, Canada
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cheung31
ok i forgot the LoadPlugin lines prior to it, but now my only problem is that TMPGenc keeps telling me that my source needs to be in YUY2 or YV12 color format.

the problem is that i have already added a line of ConvertToYV12, and it still gives me that error. im sorry if im a real pain in the ass for all of you, but please could you help me here, i dont know if i do not have a certain plugin to convert or whatnot but please someone, i really would like to add subtitles to my kvcd and this is the only way

thx again
  #6  
11-14-2004, 12:16 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

Tmpgenc telling you that?! Tmpgenc gives you an error, or you see the error as text in the video...

If you open the avisynth file in virtualdub, do you have the error?

It don't make any sense as convertToYV12 is an avisynth filter!"
What version of avisynth are you using?

Salu2
Fabrice
  #7  
11-14-2004, 05:01 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Thread closed.
I do not even try to explain why.
Closed Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualDub: Problem loading AVS Script Shiryu_Kido Video Encoding and Conversion 10 08-04-2004 12:18 PM
VirtualDub: trouble when loading script.avs in VDub HC_Pensador Video Encoding and Conversion 8 05-26-2004 08:07 AM
TMPGEnc: Avs script not loading in tmpgenc big Video Encoding and Conversion 11 11-14-2003 10:18 AM
Avisynth: AVS 2.5x Script, Motion Adaptive Filtering problems? Bchteam Avisynth Scripting 15 05-31-2003 12:38 PM
Avisynth: Loading the AVS file into tmpgenc? deltaboy Avisynth Scripting 0 05-21-2002 07:50 PM

Thread Tools



 
All times are GMT -5. The time now is 07:56 AM  —  vBulletin © Jelsoft Enterprises Ltd