Quantcast Avisynth: my New Script Problem - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-29-2003, 01:28 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
HI,just tried the new updated script and got this
Quote:
message Avisynth caught an access violation at 0x025fd6d0,attempting to read from 0x06093cbc
Tried opening in WMP and got the same message but with different numbers and tried the new script on a different avisource and everything was good.Opens up fine in virtual dub with no errors

Whats this message mean and is there any way to fix it,if it can't be fixed do you recommend using 2.08 on this movie instead

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  
06-29-2003, 01:32 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
i got that today also with the new script. I uninstalled AVS 2.52 and re-installed it and everything is fine now.
Reply With Quote
  #3  
06-29-2003, 02:04 PM
andybno1 andybno1 is offline
Free Member
 
Join Date: Jul 2002
Location: Liverpool, UK
Posts: 832
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to andybno1 Send a message via Yahoo to andybno1
try poting your script for ppl to see and maybe someone will spot something in it.
Reply With Quote
  #4  
06-29-2003, 02:42 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt..

I've ben fighting this bug too, and all day. Actually, it was when I tried
Jelly's recommend of the DctFilter(1,1,1,1,1,.5,.5,0) filter.
* DCTFilter a Winner?

When I first started using it at the same SourceRange in TMPG, I would
get this error message. Then, I put the filter at the bottom, as Jelly had
suggested, and so far, I hadn't gotten the error.

My source was "Ice Age", first chapter. And, it didn't matter "where" in
the source I was, it would happen whenever, OR, it would freeze at some
point in the source, THOUGH, the encode would complete w/ remaining
blackness.

So, I would recommned that you try "re-orienting" your filters to see which
one might be causing the issue. It's prob. something that was dormant
and is only now showing up when things start to get better

If that help at all.. good luck.
-vhelp
Reply With Quote
  #5  
06-29-2003, 03:43 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Guys,tried uninstalling and reinstalling but didn't work

The script i used is just the optimal script(after reading my post it makes it look like its my script but i meant it to mean my problem )

Anyway here it is

Quote:
## 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 ###
#
AviSource("C:My Movie.avi")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#

## 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:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2 ? \
unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
TemporalSoften(4, round(2/nf)*2 , round(2/nf)*50 ,1,2) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####
@ Vhelp
when i get a few free minutes i'm going to look into messing aroud with the filters(don't really have a clue what i'm doing )

Thanx agian

Tom
Reply With Quote
  #6  
06-29-2003, 03:57 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt..

I took a wild guess, cause I had some chaotic symtoms w/ this:

Code:
 GripBorders() 
 Limiter()
Based on the above snipplet, try and move the GripBorders() just
under the GripSize().. at least, this solved one issue I had, and it
worked fine again. See below for where to move gripborders().

Code:
  GripCrop(480, 480, overscan=1, source_anamorphic=false) 
  GripSize(resizer="BicubicResize") 
  GripBorders()
I think that might cure it.. maybe.

As for the DctFilter(1,1,1,1,1,.5,.5,0) issue...
I was just trying it out. It had nothing to do w/ my crashes. I wasn't having
any.. until I started using the DctFilter(1,1,1,1,1,.5,.5,0) in the wrong place.
And that is why I was suggesting to you to "re-orient" some functions to
see if they stop your errors.

Sorry if I misslead you.

Hope that works.
-vhelp
Reply With Quote
  #7  
06-29-2003, 04:30 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
@ vhelp

Moving the gripborders gave me the same error but i apprecaite the effort ,the thing that bothers me is when it works on certain sources but not others.I read every day on how people here are having so many problems with certain issues and I am just so glad i haven't had any prolems (until this one)because i really have no idea on how to fix them

On a side note i would like to thank all the people here that have helped me out and continue testing all these new things so people like me can just copy and paste and get great encodes
Reply With Quote
  #8  
06-29-2003, 04:39 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt..

Yes, I'm having simillar issues to, w/ different sources. I was just testing
the Movie "Dogma" and every so often it:
* it stops on an error like yours, or
* encodes some frames, and then the remaining is either black, or
* encodes the whole source, but when I play it in PDVD v3.0, it stops at
...a point.

Mind you, I'm encoding to an .m2v file vs. .mpg file.

So, we're having our share of issues too. But, we're all working to find
the causes and remedies. Well, I'm trying to anyways.. though I'm exhausted from all this.
I need a break. Anyways.. my system is acting sluggish, so I'm about
to reboot in hopes that things just got too hehe..

Well, have a remaining good weekend in any event.
-vhelp
Reply With Quote
  #9  
06-29-2003, 04:59 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt..

I've just finished doing some more testings.

I've REM out all the script code and played only the .d2v source file and
frameserved it to TMPG. Guess what, I'm still frozzen

So, it doesn't look like it's the MA script after all.

some possibilities of what it might be is:
* READAVS.DLL (maybe a version thing)
* AVIsynth v2.52 (finally catching up to us)

Those are the only two things I narrowed it down to. I've never had this
issue (AFAIK) and up till now, I'm having them. So, its gotta be one of
the above.

Do an experiment...
Feed an .d2v file directly into TMPG. If it encodes fine, then its something
to do w/ one of the above.

Take it easy. I'm pooped.
-vhelp
Reply With Quote
  #10  
06-29-2003, 05:19 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
@ vhelp

I know what you mean buddy it can get quite exhausting trying to figure out problems doing encode after encode.

Its best to take a break after a while ,you have a great weekend and let us know if you get it figured out.
Reply With Quote
  #11  
06-29-2003, 05:23 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bigggt..

Thanks pal.

I'm doing one more project for Jellygoose before I finally sign off
for a while. Got some chores to do an dinner and other stuff..

Hay, have you checked out the latest script yet ??
I just noticed a change, and I didn't catch it yet till now. So, I'm running
some quick tests.. before I really conk out.

-vhelp
Reply With Quote
  #12  
06-29-2003, 06:10 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@biggt,
I had the exact same problem as you. What I did was to exchange the GripCrop line to:
Quote:
MPEG2Source("D:\DVD Rips\I Spy\I Spy.d2v")

FieldDeinterlace()

Undot()
Limiter()
ASharp(2, 4)
BicubicResize(528, 430, 0, 0.6, 6, 0, 708, 576)
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(MaxThreshold))
MergeLuma(blur(0.2))

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? \
Unfilter( -(fmin(round((nf/0.5)), 100)), -(fmin(round((nf/0.5)), 100)) ) : \
TemporalSoften(4, round(2.5/nf)*3 , round(2.5/nf)*3 , 15, 2) ")

# BlockBuster(method="noise", detail_min=1, detail_max=10, variance=0.7, seed=5823)

AddBorders(0, 73, 0, 73)
LetterBox(8, 8, 8, 8 )

Limiter()
And now I don't get the error you mentioned. Try it out!
__________________
AudioSlave
Reply With Quote
  #13  
06-30-2003, 04:14 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Audioslave that worked but now it says my encode is going to take 28 hours

I know my system is very slow but with the old 2.08 script the most ever was 13 hours and this movie i'm doing now is only something like 85 minutes.

edit

The above resolution was 528x480 which was going to take 28 hours so i just tried it at 352x480 and it is going to take less then 5 hours with the same script ,whats going on

edit

With the script change(july 1) my 528x480 went from 28 hours to 9
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Script problem, unable to open d2v file khusru Avisynth Scripting 0 02-13-2006 09:48 PM
Avisynth: Problem with script or settings? WOWIEGURL Avisynth Scripting 7 11-10-2005 05:00 AM
Avisynth: Problem with MA script muaddib Avisynth Scripting 3 09-07-2004 02:37 AM
Avisynth: Problem with new script? audi2honda Avisynth Scripting 5 06-18-2003 03:40 PM
Avisynth: Noticed a problem with latest script audioslave Avisynth Scripting 5 06-17-2003 08:44 PM




 
All times are GMT -5. The time now is 05:40 AM  —  vBulletin © Jelsoft Enterprises Ltd