digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: My new script problem (http://www.digitalfaq.com/archives/avisynth/4240-avisynth-script-problem.html)

bigggt 06-29-2003 01:28 PM

My new script problem
 
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

audi2honda 06-29-2003 01:32 PM

i got that today also with the new script. I uninstalled AVS 2.52 and re-installed it and everything is fine now.

andybno1 06-29-2003 02:04 PM

try poting your script for ppl to see and maybe someone will spot something in it.

vhelp 06-29-2003 02:42 PM

@ 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 :wink:

If that help at all.. good luck.
-vhelp

bigggt 06-29-2003 03:43 PM

Thanx Guys,tried uninstalling and reinstalling but didn't work :cry:

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 :D )

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 :oops: )

Thanx agian

Tom

vhelp 06-29-2003 03:57 PM

@ 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

bigggt 06-29-2003 04:30 PM

@ 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 :D

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

vhelp 06-29-2003 04:39 PM

@ 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 :screwy: hehe..

Well, have a remaining good weekend in any event.
-vhelp

vhelp 06-29-2003 04:59 PM

@ 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 :screwy:

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

bigggt 06-29-2003 05:19 PM

@ 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.

vhelp 06-29-2003 05:23 PM

@ 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

audioslave 06-29-2003 06:10 PM

@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! :wink:

bigggt 06-30-2003 04:14 PM

Thanx Audioslave that worked but now it says my encode is going to take 28 hours 8O

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 8O

edit

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


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

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.