Log in

View Full Version : Problem with SharpTools


Blue_MiSfit
5th March 2004, 03:44
Hey all.. I am trying to do a nice sharp high-res DVD rip of "Groove".

I am shooting for 1GB total filesize with XviD 1.0 RC3, and this movie is only 90 mins or so. As such I am trying to run a resolution of 736x400. I am using the latest SharpTools with AviSynth 2.5.4 with the following script:

setmemorymax(256)

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\warpsharp.dll")

import ("D:\Groove\SharpTools-v0.3.avs")

mpeg2source("D:\Groove\Groove.d2v")

crop(8,8,706,460)
SharpResize(736,400)

I set the memorymax a little higher, because I have read that sharpResize is very memory intensive at that kind of resolution.

Regardless, when I load this avs into VDubMod 1.5.10 I get the following error message:
"Avisynth open failure:
Evaluate: Unrecognized exception!
(D:\Groove\SharpTools-v0.3.avs, line 37)
(D:\Groove\Groove.avs, line11)"

Well I know little of avs, but with my limited knowledge of tracking down exception errors in Java, I looked at the lines the error message mentioned, and they are as follows:
Groove.avs (as expected):
"SharpResize(736,400)"
and the 3 lines surrounging the erros in SharpTools-v0.3.avs:
"input2.UToY()
LanczosResize(width*ssw/2, height*ssh/2)
XSharpen(xstren, xthresh)"

So it looks like my script is working properly, and the exception is being thrown inside SharpTools when it does the LanczosResize that I mentioned.

However, I MAY have some issue with my resoltion. I am new to Avisynth scripting, and usually do everything with GKnot. Anyways, if anyone sees anything obviously wrong here let me know.

Just to avoid the "SEARCH" replies - I did. quite extensively, and found nothing about exceptions and sharptools

Thanks everyone in advance!
-MiSfit

ARDA
5th March 2004, 04:17
crop(8,8,706,460)

706 is not mod4, change it with 708 or 704 and test again.I think that can fix your problem.

Regards.Arda

Blue_MiSfit
5th March 2004, 04:41
hoorah.. thanks for the quick reply! all is well.

Blue_MiSfit
5th March 2004, 22:53
Daaaaamn SharpTools is really slow!! I have yet to see the output file, but I started encoding this 90 minute film about 18 hours ago and the second pass is now only 6% done. I am used to 20fps or so with XviD, and this has dropped my speed to 1-2fps :) Wow.

Interested to see how it turns out! I will report back when it finishes (tomorow?)

~misfit

DarkNite
6th March 2004, 04:15
I am used to 20fps or so with XviD, and this has dropped my speed to 1-2fps

I see you've never used one of mf's scripts before.:D

Soulhunter
6th March 2004, 20:48
Originally posted by DarkNite
I see you've never used one of mf's scripts before.:D LOL... :D

Didée
7th March 2004, 00:10
mf's scripts are not that slow, really .. (http://forum.doom9.org/showthread.php?s=&goto=newpost&threadid=70916).

;)

Blue_MiSfit
8th March 2004, 23:39
Hmmm... Well I have decided that this offers (to me anyway) no advantage over a standard lanczos resize that would offset the massive increase in processing time.

Perhaps it would look better with a more extreme resolution increase - say DVD to 1/4 HD or 1024x576. Maybe worth a try.

I did have a look at the script though, it's very well done. thanks for putting in such a good effort mf.

~misfit

Didée
9th March 2004, 09:37
@ Blue_MiSfit

To make a short excursion into philosophy:

One of the biggest, alas most usual, mistakes is to only look at what springs to the eye obviously, then erroneously assuming to know all of the story, thusly drawing wrong conclusions.
The fine tones just a tad below the trigger level of perceptive faculty is where things start to get interesting.

Having that in mind, you might review my above post once more.

:) Didée

Chainmax
9th March 2004, 14:24
If this movie has a length of 90 minutes and you'll use a final size of 1Gb then we probably are talking about >1600Kbps average video bitrate, right? I think you should try at least 1/4 HD resolution. The rezise you are doing is 10% smaller than the original cropped image after all...

Blue_MiSfit
9th March 2004, 19:49
1/4 HD resolution? that would be 960x576 correct? That seems awfully high for a 1GB rip of this movie. The resolution I chose showed only
.173 bits/(pixel*frame) in GKnot, which is right in the middle, no?

Perhaps I'm merely being foolish.

@Didee,
Btw I was using your latest 6of9-hvs matrix :)
Thanks for the philosophical tangent. I totally understand what you are saying.

~misfit

Soulhunter
9th March 2004, 19:50
Originally posted by Didée
@ Blue_MiSfit

To make a short excursion into philosophy:

One of the biggest, alas most usual, mistakes is to only look at what springs to the eye obviously, then erroneously assuming to know all of the story, thusly drawing wrong conclusions.
The fine tones just a tad below the trigger level of perceptive faculty is where things start to get interesting.

Having that in mind, you might review my above post once more.

:) Didée Yeah, try IIP (http://forum.doom9.org/showthread.php?s=&threadid=70916)... :D