PDA

View Full Version : Bug: Avisynth access violations...


PowerMacG4
30th March 2003, 04:48
mpeg2source("D:\COWBOY_BEBOP_V1\VIDEO_TS\cowboy_bebop_1.d2v")

telecide(post=false,blend=true).decimate(cycle=5)

crop(8,8,704,464)

eDeen()
awarpsharp()

lanczosresize(448,336)

VobSub("D:\COWBOY_BEBOP_V1\VTS_03_0")


Avisynth version: 2.5.1 beta (newest)
eDeen - Newest from MarcFD's site
aWarpSharp - Newest from MarcFD's site
mpeg2dec3 - 1.00 from MarcFD's site
vsfilter (vobsub) - newest known version to me... no bugs with that, i think



When I pair these plugins together, I get access violations in VirtualDubMod (newest version) after looking through about 4-5 frames and I cannot play the AVS file in any other media player (just skips to the end and does not work).

Originally I thought my problem was my crop values were not mod-16 (caused odd coloration on side of screen). I fixed that, and the problem still remains.

It is not as bad if I crop first, and then apply the filters, but it looks _WAY_ worse. Is there any solution? I am not sure if this is an Avisynth bug or an eDeen/aWarpsharp bug.

Any suggestions?

P.S. Running XP Professional with SP1 and all updates. My computer is stable (AXP 1600+@166x10.5 at 1.85V, A7N8X)

UPDATE: There is corruption. Are my crop values not really good mod-16? Is it eating some of the YV12 data? I will post screen soon.

Error:
Avisynth read error: Avisynth: caught an access violation at 0x77f578a1, attempting to read from 0x07cda728

sh0dan
30th March 2003, 12:19
It's probaly related to awarpsharp or eDeen. Both are beta versions.

Try uncommenting one or both of them.

PowerMacG4
30th March 2003, 23:32
I have successfully used awarpsharp before, so it must be an eDeen problem. However I cannot find any good spatial YV12 cleaners other than eDeen. Suggestions?

EDIT:
Found problem:
if i use both filters before cropping everything works fine, even though the post-crop values are both mod-16. Bug in crop code?

mpeg2source("D:\COWBOY_BEBOP_V1\VIDEO_TS\cowboy_bebop_1.d2v")

telecide(post=false,blend=true).decimate(cycle=5)

eDeen()
awarpsharp()

crop(10,0,700,478)

lanczosresize(448,336)

VobSub("D:\COWBOY_BEBOP_V1\VTS_03_0")

PowerMacG4
3rd April 2003, 06:47
Okay, apparently I did not test enough. I get an Avisynth access violation again, after 2599 frames. edit: to be clear, I mean after accessing 2599 different frames at any point. Is someone causing some nice memory leaks?

mpeg2source("D:\COWBOY_BEBOP_V1\VIDEO_TS\cowboy_bebop_1.d2v")

telecide(post=false,blend=true).decimate(cycle=5)

eDeen()
awarpsharp()

crop(14,2,696,476)

lanczosresize(448,336)

VobSub("D:\COWBOY_BEBOP_V1\VTS_03_0")

Something is very very weird.
If I comment out the awarpsharp, the script fails to load in virtualdubmod, saying there is an unrecognized exception in line 10. which is lanczosresize. If I then comment out eDeen, the script loads fine (havnt checked for exceptions... but i doubt it).

I believe the problems are stemming from eDeen, but it really increases the overall quality. (if i comment out edeen and not awarpsharp, everything goes peachy)

sh0dan
3rd April 2003, 09:05
Convolution3D is very good at YV12, and does mostly the same as eDeen.

Shayne
18th April 2003, 20:25
Definite it is eDeen

So do you think we will see at fix?

sh0dan
18th April 2003, 21:55
Talk to MarcFD - he is the author. He hasn't released any source, so there is noone besides him that can help you. :(

neuron2
18th April 2003, 23:03
>telecide(post=false,blend=true)

Just as an OT aside...

This is like saying don't put ketchup on my hamburger and make it Heinz ketchup. :)

PowerMacG4
20th April 2003, 05:21
I just saw someone else use it. The post processing is very slow, but I wanted some field blending on interlaced frames. I ended up using telecide(post=false), though.

neuron2
20th April 2003, 05:31
You can't always get what you want. If post=false, blend=true has no effect.

MystSith
20th April 2003, 15:16
Try your script without 'crop' and 'resize'... It's good?

Soshen
4th August 2005, 10:34
it's a bug of edeen

the problem are that edeen have a powerfull radius to restore older anime (my case)

but i dont find other dll that can made same output

Mug Funky
4th August 2005, 11:23
for really chunky noise, try fft3dfilter (or fft3dgpu if you have a new enough graphics card, preferably PCI-e) with bt=3 and a high-ish sigma value (5-6?), and you'll get smooth output from noisy stuff.

if it's just colour noise, you can kill it reasonably safely with temporalsoften(3,0,6). maybe raise the last 2 values if the noise is still getting through. chroma quality in the source is most likely pretty poor, so a little smearing can often be acceptible.