digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Loading script to TMPGenc, run into problems... (http://www.digitalfaq.com/archives/avisynth/12885-avisynth-loading-script.html)

cheung31 11-12-2004 11:11 PM

Avisynth: Loading script to TMPGenc, run into problems...
 
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

fabrice 11-13-2004 12:37 AM

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

cheung31 11-13-2004 12:03 PM

ok i will give that a shot and report back, thx for your help fabrice

cheung31 11-13-2004 12:41 PM

nope :x

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

i still get the ConvertToYV12 error

cheung31 11-13-2004 07:34 PM

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 :cry:

thx again

fabrice 11-14-2004 12:16 AM

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

Dialhot 11-14-2004 05:01 PM

Thread closed.
I do not even try to explain why.


All times are GMT -5. The time now is 06:19 AM  —  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.