11-15-2003, 04:45 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi i have a few files in .wmv and can't figure out what to do and everytime i try to use directShowSource i never can get it to work,do you need to get a plugin for it or is it built in Avisynth 2.52.
Here is my script
Code:
DirectShowSource("C:\My movie\item 3.wmv",false)
ConvertToYV12()
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823)
Deen()
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.5,seed=5623)
GripBorders()
the message i get is
Code:
Script error Invalid arguments to function "directshowsource"
Any help will be greatly appreciated
Thanx
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
11-15-2003, 05:31 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Read the doc provided with avisynth (under the "docs" directory). You will see that directshowsource do not have the same syntax than avisource and so, the ",false" on the line isn't correct at this place.
|
11-15-2003, 06:11 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanx Dialhot,working now
|
11-26-2003, 03:31 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
bigggt,
How are you extracting the audio from the WMV files? I'm using goldwave and it's really slooooooow
Thnx,
ren
|
11-26-2003, 05:50 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi ren
I actually gave up on them because i finally got them to load but then tempgenc would just freeze so i found a program that converted them to mpg.(not with great quality like we are used to but it worked)
|
11-02-2006, 04:46 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
'm having the same probelms with the invalid arguments.. but the filters are installed in the avisynth plugins folder. It will say invalid arguments to function leakkerneldeint.dll & any other .dlls I'm using.
Please help
|
11-02-2006, 05:05 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have doubt your question has anything to do with a mistake in Directshowsource as mentionned originally in this tread.
You should have a syntax error somewhere; Post your entire, not modified script. The problem can also be in any ".avsi" file that you can have in the plugin directory of avisynth, as they are all loaded by avisynth before the first line of your avs script.
|
11-02-2006, 06:13 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Mpeg2Source=("G:\beauty 1\ep 1.d2v")
leakKernelDeint()
undot()
asharp(1, 4)
GripCrop(352,240,overscan=1,source_anamorphic=fals e)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#
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) ")
#
#
#
ColorMatrix(mode="rec.709->rec.601")
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
I wasn't haivng problems with the direct show source - only the invalid arguments part.
|
11-02-2006, 06:15 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Did you ever see a "=" on the mpeg2source line in any of the scripts we post here ?
|
11-02-2006, 06:17 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
if I don't invlude the = it can't find the .d2v file
|
11-02-2006, 06:19 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So why didn't you start with that first ?
The error message is "Can't open the d2v" file or "Can't find the d2v file" ? The meaning is not the same.
|
11-02-2006, 06:21 AM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
unable to load .d2v file
|
11-02-2006, 06:28 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok. The version of DGDecode.dll is not correct.
You have to use the one corresponding to the DGIndex that you use. Update it in the plugin directory of avisynth if it is not the correct one.
If you are still using dvd2avi, then I suggest you to stop using it, remove Mpeg2Dec3.dll from your avisynth directory, use DGIndex inteed and put the DGDecode.dll that is delivered with DGIndex into the avisynth plugin directory.
I suggest also to change "Mpeg2Source" into "DGDecode_Mpeg2source" to be sure about what plugin is used.
|
All times are GMT -5. The time now is 11:36 AM — vBulletin © Jelsoft Enterprises Ltd
|