Quantcast Directshow Source Help in Avisynth? Script Error Invalid Arguments? - digitalFAQ.com Forums [Archives]
  #1  
11-15-2003, 04:45 PM
bigggt bigggt is offline
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
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
  #2  
11-15-2003, 05:31 PM
Dialhot Dialhot is offline
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.
Reply With Quote
  #3  
11-15-2003, 06:11 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
thanx Dialhot,working now
Reply With Quote
  #4  
11-26-2003, 03:31 PM
rendalunit rendalunit is offline
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
Reply With Quote
  #5  
11-26-2003, 05:50 PM
bigggt bigggt is offline
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)
Reply With Quote
  #6  
11-02-2006, 04:46 AM
WOWIEGURL WOWIEGURL is offline
Free Member
 
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to WOWIEGURL
'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
Reply With Quote
  #7  
11-02-2006, 05:05 AM
Dialhot Dialhot is offline
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.
Reply With Quote
  #8  
11-02-2006, 06:13 AM
WOWIEGURL WOWIEGURL is offline
Free Member
 
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to WOWIEGURL
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.
Reply With Quote
  #9  
11-02-2006, 06:15 AM
Dialhot Dialhot is offline
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 ?
Reply With Quote
  #10  
11-02-2006, 06:17 AM
WOWIEGURL WOWIEGURL is offline
Free Member
 
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to WOWIEGURL
if I don't invlude the = it can't find the .d2v file
Reply With Quote
  #11  
11-02-2006, 06:19 AM
Dialhot Dialhot is offline
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.
Reply With Quote
  #12  
11-02-2006, 06:21 AM
WOWIEGURL WOWIEGURL is offline
Free Member
 
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to WOWIEGURL
unable to load .d2v file
Reply With Quote
  #13  
11-02-2006, 06:28 AM
Dialhot Dialhot is offline
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.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Optimal script for avi DV source? someguy Avisynth Scripting 5 02-17-2004 04:24 AM
KVCD: invalid pointer operation and error in ntdll.dll kaukasion Video Encoding and Conversion 2 01-17-2004 12:15 PM
KVCD: An error with directshow? mikcek Video Encoding and Conversion 8 12-05-2003 12:50 PM
Avisynth: How do you add MPEG-1 source in avs script? limpby Avisynth Scripting 14 09-10-2003 08:22 AM
BeSweet: invalid command Error CrEsPo Audio Conversion 4 08-19-2003 12:47 PM

Thread Tools



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