Quantcast Avisynth: Error Opening the Avisynth File - digitalFAQ.com Forums [Archives]
  #1  
10-21-2003, 06:22 PM
i76276 i76276 is offline
Free Member
 
Join Date: Oct 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
i am trying to open the avisynth file i made with moviestacker in media player and i get this error
MPEG2Source:couldn't open file
(C\WINDOWS\DESKTOP\NEWFOLDER~5\NEWscr~1.avs, line 25)
i tried unistall and reinstall avisynth , try adding ConvertToYV12() and ConvertToYUY2() to the script, but nothing helped.

what could be the problem?
thank's
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  
10-21-2003, 06:29 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts

I'm not sure about this, but try to put your AVS file and your D2V or AVI file in a directory a little simpler than that! This actually might be the problem!
__________________
j3llyG0053
Reply With Quote
  #3  
10-21-2003, 06:35 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Is your source a Mpeg2 source or something else ? (MPEG1 for instance).
And please, post your script

Quote:
Originally Posted by Jellygoose

I'm not sure about this, but try to put your AVS file and your D2V or AVI file in a directory a little simpler than that! This actually might be the problem!
This path is very simple indeed ! It's the same on your PC but you never notice : windows strores long pathnames under short names that have this aspect "filenam~1.ext".

Here the actual name he see on his screen is : C:\Desktop\New Folder(5)\New Script.avs"

Not so complicate.
.
Reply With Quote
  #4  
10-21-2003, 06:42 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Jellygoose

I'm not sure about this, but try to put your AVS file and your D2V or AVI file in a directory a little simpler than that! This actually might be the problem!
This path is very simple indeed ! It's the same on your PC but you never notice : windows strores long pathnames under short names that have this aspect "filenam~1.ext".

Here the actgual name he see on his screen is : C:\Desktop\New Folder(5)\New Script.avs"

Not so complicate.
Damn, you're right! Didn't know that yet!
However I always try to avoid long pathnames since there are programs that seem to have problems with them!
__________________
j3llyG0053
Reply With Quote
  #5  
10-22-2003, 05:37 AM
i76276 i76276 is offline
Free Member
 
Join Date: Oct 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
my source is an avi file.
i use the latest script

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("C:\WINDOWS\Desktop\New Folder (5)\test.avi")
ConvertToYV12()
#
undot()
Limiter()
asharp(1, 4)
GripCrop(320, 228, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

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()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
Reply With Quote
  #6  
10-22-2003, 05:56 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
You can't use MPEG2Source to open AVI files! You'll have to use AVISource.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualDub: Error when opening AVI file simplyliz Video Encoding and Conversion 2 06-30-2004 02:46 PM
Opening an MPEG-1 file with AviSynth? PyRoMaNiA Avisynth Scripting 6 05-08-2004 10:37 AM
Avisynth: opening credits of movie blink? Jimblob Avisynth Scripting 11 05-01-2004 03:28 PM
VirtualDub: Error opening AVI Sandy Feet Video Encoding and Conversion 7 04-12-2004 01:45 PM
Avisynth: Opening MPEG1 Files? gonzopdx Avisynth Scripting 7 01-09-2003 03:26 PM

Thread Tools



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