Quantcast Avisynth: Parse Error - String Missing Closing Quotation Mark - Page 3 - digitalFAQ.com Forums [Archives]
  #41  
10-15-2003, 07:00 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 Dialhot
You mean the MA script that I use personnaly ? I'll try to think about it this evening.
Yep, that's the one.

Quote:
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.
Hmm, I seem to have it working OK.

Code:
nf=0
mpeg2source("path\clip.d2v")
separatefields()
even=selecteven().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),0,2)")
odd=selectodd().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),0,2)")
interleave(even,odd)
weave()
function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 }
Looks funny here because of the word wrap, but it's just even=SelectEven() followed with the MA portion written on the same line in the script. The same goes to odd=SelectOdd().

Seems to work fine, when I disabled it from the other field, it was noticably sharper than the other one. Can you give any hints on how to compensate the half resolution in the MA script ( 720x576 + SeparateFields() = 720x288 ) ? I think that the default values are too strong since they're meant for a full height frame.
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
  #42  
10-15-2003, 07:14 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
Can you give any hints on how to compensate the half resolution in the MA script ( 720x576 + SeparateFields() = 720x288 ) ? I think that the default values are too strong since they're meant for a full height frame.
You should open a new thread on this point and let Kwag (or others) answer to this. Deinterlacing seems to be a very common problem and your way is original.
BTW, the scripts works on VCD resolution so I don't think the height is a problem.
Reply With Quote
  #43  
10-15-2003, 07:41 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
Yes, I think I'll do that.

I didn't think about the VCD resolution, I stand corrected I only tried that script on a noisy analog capture, it's probably a lot more gentle with a DVD source.
Reply With Quote
  #44  
10-16-2003, 01:24 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 spaces in that part of the code it says "I dont know what "SwitchThreshold" means...
Reply With Quote
  #45  
10-16-2003, 02:12 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
so i added this line...


SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2

on top of all of it then it came up with the unfilter error....
Reply With Quote
  #46  
10-16-2003, 04:05 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Man, restart from the begining : go to the optimal script thread, pick up the latest MA script, copy/paste it and change the name or the source and save it.

This script works everywhere. Unfilter works alone on your PC. So the script must works also with you.
Reply With Quote
  #47  
10-16-2003, 05:21 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
i copied and pasted the MA script from the thread put in my gripfit parameters cept i still get the damn Unfilter error...


Reply With Quote
  #48  
10-16-2003, 05:32 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Please post your complete script.
A dumb question maybe, but your unfilter.dll is in your avisynths-plugin folder, right Then make sure you haven't any LoadPlugins defined.

You may also test to delete all .avs-files in your plugins-folder.
Reply With Quote
  #49  
10-16-2003, 06:13 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
Quote:
A dumb question maybe, but your unfilter.dll is in your avisynths-plugin folder, right Then make sure you haven't any LoadPlugins defined.
Nah its in the plugins folder... heres the code...
Code:
MaxTreshold = 1.50 
nf =  0 # Current frame. 

AviSource("E:\Videos\KVCD\work\niagara.avi",false)

ConvertToYV12()  
FlipVertical()
undot() 
Limiter() 
asharp(1, 4) 
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize") 
STMedianFilter(8, 32, 0, 0 ) 
MergeChroma(blur(MaxTreshold)) 
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() 
Limiter() 

function fmin( int f1, int f2) { 
  return ( f1<f2 ) ? f1 : f2 
}
Reply With Quote
  #50  
10-16-2003, 06:36 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
You've edited your post. You've written something about not an avisynth plugin. Can you verify that your using the right undot dll
Or try again with the newest one: http://www.trbarry.com/UnDot.zip

Are there any avs-files in your plugin folder.
Reply With Quote
  #51  
10-16-2003, 07:35 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
Ye i edited, but i put the old unfilter dll for testing, but i still get the error with the 2.5 one its really anoyyin...


Oh ye theres no avs in the plugins folder
Reply With Quote
  #52  
10-16-2003, 07:37 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
Ive tried just about everything its still bluddy there........
Reply With Quote
  #53  
10-16-2003, 07:42 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
Try reinstalling Avisynth 2.5.2.
Reply With Quote
  #54  
10-16-2003, 07:45 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Can you please list the content of your avisynth plugin folder please (with date and size of the files, please) ?
I want to be sure !
Reply With Quote
  #55  
10-16-2003, 04:15 PM
KunGFu-L33t KunGFu-L33t is offline
Free Member
 
Join Date: Oct 2003
Location: Australia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Reinstall dont help just tried

im too lazy to type tje contents of my plugins direrectory so can i attach a screen shot somehow?
Reply With Quote
  #56  
10-16-2003, 04:23 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

i can't believe my friend KunGFu!

you're a ,never be lazy!

the great team here:

is trying to help you,doing the hard part!

c´mom, go to the your avisynth plugin folder
and post here the list of all dlls !

Reply With Quote
  #57  
10-16-2003, 05:08 PM
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
Reinstall dont help just tried

im too lazy to type tje contents of my plugins direrectory so can i attach a screen shot somehow?
You can do a copy/paste from a DOS (command prompt) session.

For instance, this is mine :
Code:
C:\Program Files\AviSynth 2.5\plugins>dir
 Le volume dans le lecteur C s'appelle SYSTEM
 Le numéro de série du volume est 7C6A-7029

 Répertoire de C:\Program Files\AviSynth 2.5\plugins

11/10/2003  20:28    <REP>          .
11/10/2003  20:28    <REP>          ..
18/01/2003  19:02            32 768 asharp.dll
27/11/2002  21:25             4 117 asharp.html
18/01/2003  18:57            24 576 atc.dll
09/03/2003  19:18            86 016 AutoCrop.dll
12/03/2003  00:09             4 060 AutoCrop.txt
18/01/2003  18:56            28 672 BicublinResize.dll
18/01/2003  20:35               911 Bicublin_readme.txt
29/12/2002  16:11            61 440 Blockbuster-2.5.dll
04/02/2003  23:00           131 072 blockbuster.dll
05/02/2003  15:24            28 672 Cnr2.dll
15/12/2002  19:40             4 114 Cnr2.html
19/10/2002  15:01             7 530 Convolution3d.txt
29/03/2003  10:22            57 344 Convolution3DYV12.dll
29/03/2003  10:23             2 541 Convolution3DYV12.txt
21/02/2003  10:37            90 112 DctFilter.dll
27/03/2003  06:01           118 784 Decomb.dll
19/02/2003  08:14            40 505 DecombHelp.html
19/01/2003  19:22           106 496 Deen.dll
19/01/2003  19:23             1 296 Deen_readme.txt
25/02/2003  21:36            45 056 Dup.dll
25/02/2003  21:37             7 610 DupHelp.html
08/01/2003  18:01            61 440 FluxSmooth-2.5.dll
16/02/2003  14:22            94 208 GripFit_YV12.dll
19/01/2003  19:12               704 lisezmoi.txt
07/01/2003  16:04           188 416 MPEG2DEC.dll
17/11/2002  13:36               132 MPEG2Dec3.def
28/07/2003  10:27           254 028 MPEG2Dec3.dll
28/07/2003  10:28            12 575 MPEG2Dec3.html
08/12/2002  19:21           106 496 MPEG2Dec3_094.dll
16/02/2003  22:13           184 320 MPEGDecoder.dll
17/02/2003  14:43             4 672 MPEGDecoder_YV12.htm
17/02/2003  14:43             4 672 MPEGDecoder_YV12.html
08/04/2003  17:53            28 672 MSharpen.dll
08/04/2003  17:55             4 896 MSharpen.html
22/01/2003  13:15             5 416 Readme_STMedianFilter.txt
18/01/2003  19:09             2 640 Readme_UnDot.txt
18/01/2003  18:01             4 372 Readme_UnFilter.txt
22/12/2002  17:28            53 248 Sampler-2.5.dll
22/12/2002  16:30             3 581 Sampler.html
22/01/2003  23:22            53 248 STMedianFilter.dll
14/04/2003  23:31             1 549 TemporalCleaner YV12.txt
13/01/2003  08:29            57 344 TemporalCleaner.dll
13/01/2003  08:32             2 280 TemporalCleaner.txt
18/01/2003  19:05            53 248 UnDot.dll
16/01/2003  22:07            77 824 UnFilter.dll
28/09/2003  18:14            43 520 VagueDenoiser.dll
28/09/2003  18:17             9 012 VagueDenoiser.html
08/03/2003  21:40           267 776 VSFilter.dll
              48 fichier(s)        2 463 981 octets
               2 Rép(s)   5 161 405 952 octets libres

C:\Program Files\AviSynth 2.5\plugins>
You can see that I have an unfilter.dll of 77.827 bytes, dated from 16/01/2003;

Can we see your plugins plesase ?
Reply With Quote
  #58  
10-17-2003, 07:04 AM
Pikku-Kalle Pikku-Kalle is offline
Free Member
 
Join Date: Jul 2003
Location: Finland
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Hi.
I had the same problem earlier. Solved it by
installing a newer version of AviSynth.
Are you sure you have the newest version
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 08:17 PM  —  vBulletin © Jelsoft Enterprises Ltd