my script is not be read
I use dgmpgdec 1.0.12. i create the project .d2v, but when i tried to play the script in the media player, it told me: script error : expected a or. the error message refers to the line 9, the line is: mpeg2source .....
The script is: LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\DGDecode.dll") LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\GripFit_YV12.dll") LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\STMedianFilter.dll") LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\asharp.dll") LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\unfilter.dll") LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\undot.dll") ## Main section and static filters ### Mpeg2Source(C:\DVD\Tenias.d2v) # undot() asharp(1, 4) gripCrop(352, 288, overscan=1, source_anamorphic=false,dest_anamorphic=false) GripSize(resizer="BicubicResize") STMedianFilter(3, 3, 1, 1 ) MergeChroma(blur(1.5)) MergeLuma(blur(0.1)) # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) # This will apply variable temporalsoften and variable blur. # Both filters are active at all times, and work inversely proportional to the # activity, measured from current frame to next frame. ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "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() #LetterBox( Your_Values_Here ) ## Functions ### function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } |
You seems to have your plugins in the default plugin directory of avisynth. That means that :
1/ you do not need to use "loadplugin" lines in your script 2/ any plugin present in the directory is loaded, even if you do not have a "loadplugin" line for it in the script. In other words : check that you don't have an old mpeg2dec3.dll file in this directory, because it can be used insteed of "DgDecode.dll" without your knowledge. |
Okay I dont use loadplugin.
I move the old mpg2dec3.dll to other directory, but without success. should I put any conversion at the end of the script? my project file is: DGIndexProjectFile06 4 19 C:\DVD\VTS_02_1.VOB 19 C:\DVD\VTS_02_2.VOB 19 C:\DVD\VTS_02_3.VOB 19 C:\DVD\VTS_02_4.VOB Stream_Type=1 iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX) YUVRGB_Scale=0 (0:TVScale 1:PCScale) Luminance_Filter=0,0 (Gamma, Offset) Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom) Aspect_Ratio=4:3 Picture_Size=720x576 Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames) Frame_Rate=25000 Location=0,0,3,F8B9 7 0 2048 1 1 12 12 12 12 12 12 12 12 12 12 12 12 .................................................. . ............................................ FINISHED 0.00% FILM |
Quote:
Try Code:
Mpeg2Source("C:\DVD\Tenias.d2v") |
Re: my script is not be read
Quote:
|
Yes, It works now, thank you very much.
I see other problem, when i played the script, it appears a message at the top of the image of the film (the whole film). Script error: synthax error {[script clip], line 2. column 0 |
Quote:
|
Yes it works perfectly, thank you very much for your help.
I have divided the line witch contains scriptclip into 2 lines. Thank you again |
Sorry, one questio.
If I put the old mpg2dec3g.dll in the same directoy as the new dgdecode.dll, and if put the line in the script: LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\DGDecode.dll") my question: I am forcing it to read from Dgdecode.dll or it will read one of them without my knowledge??? |
Quote:
Quote:
If you want to force the usage of a particular function, you can do it with the last 2.55 release of avisynth : Quote:
|
I use avisynth 2.55
I will read the manual again. Thank you for your acalarations. :lol: :wink: |
Well, after I have read this part of the manual, i had to put in the line of mpeg2source:
## Main section and static filters ### DGDecode_Mpeg2Source("C:\DVD\Tenias.d2v") Thank you very much :wink: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.