Quantcast Vsfilter Giving Me a Runtime Error? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
08-03-2003, 06:24 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello:
If you do not mind, I decided to open up a thread so as to not taint the previous thread with my issues:

An update: Vsfilter is the one given me the runtime error. I am going to check all of my filters, and post the results. In addition to it, I also need to check the sampler filter, to ensure that it works w. Avs 2.52

Thanks

Totonho03
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  
08-03-2003, 07:19 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
We can"t survey all the trheads in all the forums there ! So if you want to split a post, please report all informations needed to understand your problem !
Reply With Quote
  #3  
08-03-2003, 07:28 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@totonho03
Use the sampler I indicated in the tutorial, that is the 2.5x version of sampler... Wired, VSFilter is working fine to me, but doesn't matter to you since you plan to use switchable subtitles... Please let's us now how it is going...
Also post the script and the problem here as Dialhot suggested, people don't know what is the thread you're talking about And if they don't understand, they can't help...

Good luck!
[]'s
Vmesquita
Reply With Quote
  #4  
08-03-2003, 09:29 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Dialhort and all:

You folks are correct in stating that I did not defined the problem here, and that I wa splitting threads. Sorry for that. All of my issues will be posted here.
To the best of my understanding, I have resolved my issues. VirtualDubMode is now opening the test script that I was using. It took me a long time to do it, but it is there.
I was getting all kinds of error messages, and by recheking filters and their location I am now able to open the script with no error messagesThe script that I was using is:
Quote:
#==============================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#==============================================#


############## # Parameters # ##############
myanamorphic=true # change to false if on step 6 you had 4:3 instead of 16:9
#subtitle="VTS_01_0.sub" # Add a# in the beginning of this line if you don't need subtitles or change for the
# of the sub file created on step 7.
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but a value too big will
#cause undesirable black borders on your TV.

########## # Script # ##########
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\MPEG2Dec3.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\GripFit_YV12.dll")
#LoadPlugin("F:\DVDProjects\1Programs\Avisynth\Avi Synth 2.52_170703\plugins\VSFilter.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\Sampler-2.5.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\Decomb.dll")

Mpeg2Source("F:\DVDProjects\CQMATIC\dvd2avi176\tea rs.d2v")
telecide()
decimate(5)

#Resize, over scan and borders
GripCrop(720, 480, overscan=myoverscan, source_anamorphic=myanamorphic,dest_anamorphic=fal se)
GripSize(resizer="BicubicResize")
GripBorders()

#Subtitles # ############
#VobSub(subtitle) # Add a # in the beginning of this line if you don't need subtitles.
converttoyuy2()
sampler(15)
Next, I will try the script with the entire film and report of my results.

Thanks to all for the advise given. Please keep tune because I may need help later on........

Totonho03
Reply With Quote
  #5  
08-04-2003, 02:44 AM
new_bee new_bee is offline
Free Member
 
Join Date: Sep 2002
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, now I need help
This thread is called script error, so I'm simply posting it in here

Code:
## DLL Section ## 
# 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\MPEG2Dec3.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\TomsMoComp.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\GripFit_YV12.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\STMedianFilter.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\asharp.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\unfilter.dll") 
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\undot.dll")
LoadPlugin("E:\Rip\Avisynth\Sampler\Sampler-2.5.dll")
# 
#### 

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

## Main section and static filters ### 
# 
Mpeg2Source("E:\2001_A_SPACE_ODYSSEY\odyssey.d2v")
# 
TomsMoComp(1, 15, 1)

undot() 
Limiter() 
asharp(1, 4) 
GripCrop(704, 576, overscan=2) 
GripSize(resizer="BicubicResize") 
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 
} 

#
converttoyuy2()
sampler(length=15)
It works fine when I open it in CCE, but says "Access Violation" when I reopen it (after having changed a line in editor). I have to restart CCE and it's up and going again. Wazzup
Reply With Quote
  #6  
08-04-2003, 03:41 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 totonho03
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\MPEG2Dec3.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\GripFit_YV12.dll")
#LoadPlugin("F:\DVDProjects\1Programs\Avisynth\Avi Synth 2.52_170703\plugins\VSFilter.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\Sampler-2.5.dll")
LoadPlugin("F:\DVDProjects\1Programs\Avisynth\AviS ynth 2.52_170703\plugins\Decomb.dll")
As all plugins are in the "plugin" directory of avs2.52, there's no need of all the "loadplugin" lines : you can remove them all ! Avs will autoload every plugin that is present in the "plugin" directory.

Quote:
converttoyuy2()
No need to convert : sampler works perfectly in YV12 color space.
You will gain a lot of time.
Reply With Quote
  #7  
08-04-2003, 03:43 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 new_bee
It works fine when I open it in CCE, but says "Access Violation" when I reopen it (after having changed a line in editor). I have to restart CCE and it's up and going again. Wazzup
A bugg in CCE that prevent the reopenig of a script without restart ?
Reply With Quote
  #8  
08-04-2003, 07:39 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@new_bee
Did you delete and add the script after deleting the line? CCE keeps the clip lenght so you must do this.

@Dialhot
We need this converttoyuy2 because CCE doesn't accept yv12 input...

@Totonho03
Looking good... Please post your results!

[]'s
Vmesquita
Reply With Quote
  #9  
08-04-2003, 09:41 AM
new_bee new_bee is offline
Free Member
 
Join Date: Sep 2002
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by vmesquita
@new_bee
Did you delete and add the script after deleting the line? CCE keeps the clip lenght so you must do this.
Yes.
I've tried several more times (TomsMoComp doesn't come out that well, I'm using FieldDeinterlace now) and it seems as if CCE interferes with Avisynth in some way. I can encode the sample clip twice (I don't reopen it), even with different Q-Values, but when I do it the third time the .mpv file shows "Access Violation 234908352x238250945" (some strange numbers). The same when I open the AVS-File with MediaPlayer at this moment.
When I close down CCE and load the file again I have two more tries, then the same problem again. Close CCE, reopen, two tries. Strange, isn't it?
Reply With Quote
  #10  
08-04-2003, 04:00 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Very strange, never happened to me...

[]'s
Vmesquita
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime Error que aparece no Diko 0.74 iachel Conversão e Codificação de Vídeo (Português) 6 08-20-2004 09:36 AM
DVD Lab Runtime error! Program compile.aux khusru Authoring VCD, DVD, Blu-ray 6 03-26-2004 04:23 AM
Quality of Subtitles with VSFILTER Paulus Subtitles 11 02-06-2004 09:52 AM
Runtime error! fabiana Conversão e Codificação de Vídeo (Português) 18 01-13-2004 05:57 PM
Error VSFilter Bombai Convertir y Codificar Video (Español) 5 09-04-2003 11:58 AM




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