Quantcast Avisynth: Parse Error - String Missing Closing Quotation Mark - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
10-14-2003, 01:51 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
THANKS! You guys Rock!...

Well that fixed that problem

Thanks for all your help again it looks great
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
  #22  
10-14-2003, 03:28 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
hey guys i found a diff prob now

i can play the video and watch it no prob but at the bottom in grey writing "Script Error: there is no fuction called unfilter" flashes every now and then,

whats wrong with my code now?

Code:
AviSource("E:\KVCD\Work\niagara.avi",false)
ConvertToYV12()
FlipVertical()
undot() 
asharp(1, 4) 
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(8, 32, 0, 0 ) 
MergeChroma(blur(1.50)) 
MergeLuma(blur(0.1))


SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 
ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=SwitchThreshold?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(fmin(round(2/nf),6),round(1/nf),round(3/nf),1,1)") 
GripBorders() 


function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 }
Reply With Quote
  #23  
10-14-2003, 04:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The message is cristalin : you are missing the plugin Unfilter.dll !
DL it and put it with all other plugin.
Reply With Quote
  #24  
10-14-2003, 07:05 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
thats the thing i got "UnFilter.ddl" in my plugin's directory i just doubled checked then.
Reply With Quote
  #25  
10-14-2003, 07:21 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You have Unfilter.dll or Unfilter.ddl in your directory ?

Double check also the spelling. The message is clear : avisynth doesn't find the dll, so there must be a problem there.
Reply With Quote
  #26  
10-14-2003, 07:32 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry its .dll but its UnFilter.dll, could it be the caps?
Reply With Quote
  #27  
10-14-2003, 07:39 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Not at all. Avs does not relies on the name of the plugin (else it will never find GripCrop because it is included in GrifitPreview_YV12.dll ! )

It loads everything that is in the plugin directory and llok for the name of the function that are declared in these dll.

You should check if you have DL the correct version of the DLL, if the read permission is set on the file.
Reply With Quote
  #28  
10-14-2003, 07:48 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
YES DIALHOT I COMPLETLY UNDERSTAND YOU

All i know is that i downloaded the 2.5 version from this site...

http://www.trbarry.com/UnFilter.zip

and i put all the files in the 2.5 Alpha Folder inside the zip into my avisynth 2.5 plugins directory
Reply With Quote
  #29  
10-14-2003, 08:07 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Did you extract the paths too? IIRC, the UnFilter dll is in a specific folder in the zip file. If you extract the file with "Use folder names" checked, the dll file ends up in a wrong place, such as c:\program files\avisynth 2.5\plugins\2.5 alpha\ whereas it should be c:\program files\avisynth 2.5\plugins\ .
Reply With Quote
  #30  
10-15-2003, 02:40 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
No the dll is in the plugins folder for avisynth
Reply With Quote
  #31  
10-15-2003, 03:02 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Do a simple test with this script :
Code:
Avisource("the name of your avi")
Undot()
If it works, You definitely have a type mismatch somewhere in you're script. That's the only explanation.
Else, the filter isn't in the right directory.
Reply With Quote
  #32  
10-15-2003, 03:35 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by KunGFu-L33t
and i put all the files in the 2.5 Alpha Folder inside the zip into my avisynth 2.5 plugins directory
You should only have DLLs and .AVSI files (if any) in the plugin folder! Other files may cause you problems, at least it was this way some time ago.
Reply With Quote
  #33  
10-15-2003, 03:52 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Like this,

LoadPlugin("E:\-=[ KVCD ]=-\Filters\Mpeg2dec.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\LegalClip.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\UnFilter.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\GripFit_preview.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\STMedianFilter.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\DustV5.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\DctFilter_YUY2.dll")
LoadPlugin("E:\-=[ KVCD ]=-\Filters\Convolution3D.dll")


Mpeg2Source("D:\DVDtoKVCD\vts_03.d2v")

LegalClip()

unfilter(50,50)
GripCrop(704, 576, overscan=3)
#TextSub("D:\DVDtoKVCD\vts_01.srt")
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
#SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
#Convolution3D(preset="animeBQ")
GripBorders()

LegalClip()
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #34  
10-15-2003, 04:07 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
You should only have DLLs and .AVSI files (if any) in the plugin folder! Other files may cause you problems, at least it was this way some time ago.
I use to have all .dll and associated documentation (.txt or .htm) in the plugin directory and there is no problem with this.
Reply With Quote
  #35  
10-15-2003, 04:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by CheronAph
unfilter(50,50)
GripCrop(704, 576, overscan=3)
#TextSub("D:\DVDtoKVCD\vts_01.srt")
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
#SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
#Convolution3D(preset="animeBQ")
GripBorders()

LegalClip()
Never use "Textsub" in the middle of the script else the subtitle will be blured but the following filters and hard to read. It must be the last line before "GripBorders" (or just after if you want the subtitles in the black border and not on the image )
Reply With Quote
  #36  
10-15-2003, 04:39 AM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Dialhot i used your simple script you posted and it WORKED! .......

Here is my code again... whats rong with it...

Code:
AviSource("E:\Videos\KVCD\Work\niagara.avi",false)
ConvertToYV12()
FlipVertical()
undot() 
asharp(1, 4) 
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(8, 32, 0, 0 ) 
MergeChroma(blur(1.50)) 
MergeLuma(blur(0.1))


SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 
ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=SwitchThreshold?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(fmin(round(2/nf),6),round(1/nf),round(3/nf),1,1)") 
GripBorders() 


function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 }
What i dont get is that i can watch the movie just it flashes the unfilter error in grey upside down, this has never occured to me within my whole KVCD encoding life (Which is about a week)
Reply With Quote
  #37  
10-15-2003, 05:07 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by KunGFu-L33t
Dialhot i used your simple script you posted and it WORKED! .......
Lol. Welcome in the wonderful world of computing science

Quote:
ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=S witchThreshold?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(fmin(round (2/nf),6),round(1/nf),round(3/nf),1,1)")
GripBorders()
I know we told you the opposite last time but try to add some spaces :
Code:
ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=SwitchThreshold ? unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))) : TemporalSoften(fmin(round(2/nf),6),round(1/nf),round(3/nf),1,1)")
We will find the solution !

Quote:
What i dont get is that i can watch the movie just it flashes the unfilter error in grey upside down, this has never occured to me within my whole KVCD encoding life (Which is about a week)
That's normal ! It's the meaning of "Motion Adaptative" ; The script adapts itself to the motion in the movie. In static scenes, it does a TemporalSoften. In quickly moving scenes, it does the unfilter (that is all the purpose of this weird "scriptclip" line).
That is why the error message flashes and is not constant : your movie has more static scenes than moving one, so the unfilter is rarely done.
Reply With Quote
  #38  
10-15-2003, 06:08 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Phil,

could you post your MA script that CheronAph asked for? I'd also be interested in checking it out.

Also, can you figure out how to use the MA script with interlaced sources? It's easily done with spatial-only filters but with temporal ones it's a bit more tricky.
Reply With Quote
  #39  
10-15-2003, 06:08 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by CheronAph
unfilter(50,50)
GripCrop(704, 576, overscan=3)
#TextSub("D:\DVDtoKVCD\vts_01.srt")
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
#SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
#Convolution3D(preset="animeBQ")
GripBorders()

LegalClip()
Never use "Textsub" in the middle of the script else the subtitle will be blured but the following filters and hard to read. It must be the last line before "GripBorders" (or just after if you want the subtitles in the black border and not on the image )
Ok, thanks!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #40  
10-15-2003, 06:39 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
could you post your MA script that CheronAph asked for? I'd also be interested in checking it out.
You mean the MA script that I use personnaly ? I'll try to think about it this evening.

Quote:
Also, can you figure out how to use the MA script with interlaced sources? It's easily done with spatial-only filters but with temporal ones it's a bit more tricky.
I only have one source interlaced, so I'm not really the guy you need. I always do my test on it using fileddeinterlace, that's all.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: filters descriptions missing mabhz Avisynth Scripting 4 08-10-2004 03:14 AM
Avisynth 2.0 Gripfit.dll is missing? Blubear Avisynth Scripting 2 07-22-2004 03:09 AM
Mencoder: cannot parse cmdline error tickey Video Encoding and Conversion 3 03-20-2004 08:02 PM
AVISynth 252 error when closing VirtualDub? TLTw Avisynth Scripting 0 10-17-2003 08:29 PM
Avisynth: Missing vsub23.dll? J-Wo Avisynth Scripting 6 04-29-2003 01:29 PM

Thread Tools



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