digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   avisynth 2.08 better for divx/xvid sources? (http://www.digitalfaq.com/archives/encode/4830-avisynth-208-better.html)

J-Wo 08-01-2003 10:30 AM

avisynth 2.08 better for divx/xvid sources?
 
Okay guys I hate to admit it but I find the old 2.0x for DVD/clean sources waaaaay better for divx/xvid sources than the current MA optimal script for 2.52. It seems that something in the MA just enhances all the flaws and compression artifacts that the divx process creates. There is much more DCT blockiness, less sharpness, less detail, and more mosquito noise! I don't know what it is that makes all the difference, perhaps Spacedust? Anyway what I've been trying to do is adapt the old 2.0x script to take advantage of the speed of 2.52, but I'm running into a little problem. Namely it's that there is no TemporalSoften line in MPEG2DEC3. I'm hoping someone might be able to tell me what an equivalent line might be? Here's what I've got so far:
Code:

#======================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#======================================================#

LoadPlugin("D:\Program Files\avisynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("D:\Program Files\avisynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("D:\Program Files\avisynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("D:\Program Files\avisynth 2.5\plugins\loadpluginex2.dll")
LoadPlugin("D:\Program Files\avisynth 2.5\plugins\DustV5.dll")
LoadPlugin("D:\Program Files\avisynth 2.5\plugins\UnFilter.dll")


AviSource("E:\Movies\movie.avi")

Limiter()
UnFilter(50, 50)
GripCrop(528, 480, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0)
ConverttoYUY2()
SpaceDust()
#TemporalSoften(1, 2)
MergeChroma(blur(1.5))
MergeLuma(blur(0.2))
GripBorders()
LetterBox(16, 16, 16, 16)
Limiter()

If there are any hints or suggestions please pass them along!

Dialhot 08-01-2003 01:54 PM

Re: Back to avs 2.0x script for DivX
 
Quote:

Originally Posted by J-Wo
I find the old 2.0x for DVD/clean sources waaaaay better for divx/xvid sources than the current MA optimal script for 2.52.

That's not a scoop !

Quote:

Namely it's that there is no TemporalSoften line in MPEG2DEC3. I'm hoping someone might be able to tell me what an equivalent line might be?
And you don't even did a try with the line to see the result ?

Tell me one thing : do you often buy a new object and try to use it whithout reading the manual ? No ? So why do you do that for stuff like avisynth ?

Launch the script with "temporalsoften" and while tmpgenc does the encoding, try to understand why it works by reading the avs doc !

J-Wo 08-01-2003 02:14 PM

Dialhot:

Perhaps I wasn't making myself so clear. I'd like to find an equivalient 2.52 line for TemporalSmoother(1,2) which was in the original 2.0x script, but since TemporalSmoother doesn't exist in 2.52 I'm not sure what I should use in its place. I thought maybe TemporalSoften would work, but I'm not exactly certain of the parameters for it.

Hopefully you might be able ot help me now?

Dialhot 08-01-2003 03:06 PM

I understood you very well. But you didn't.

Temporalsoften is now a builtin command of avs2.52 :!: And the parameters didn't change.

RTFM ! (please, do it a least once in your life)

J-Wo 08-01-2003 03:30 PM

Dialhot I was able to contain myself before but this time I just can't. I simply don't find your attitude or rudeness helpful at all. What might be an obvious answer to you may not be to someone else. So maybe next time be a little kinder and lend a brother a helping hand, okay?

Despite your suggestions, TemporalSmoother (I was not talking about TemporalSoften, only whether the latter could be used as a substitute for the former) does not appear to be a part of AVS 2.52. At least not with Mpeg2Dec3.dll, in which I get the error message "Script error: there is no function named "TemporalSmoother". I was however able to work around the issue by downloading Mpeg2Dec.dll by Dividee. So I've loaded both into my avs script and everything seems to work. I just don't know if this is the best thing to do?

I'd be very interested in hearing other people's input on adapting the old 2.0x script for 2.52, and whether they see a difference from the MA script on certain encodes.

TemplateAVS 08-02-2003 03:16 AM

I don't know if you still want some info about temp. smooth or soften or anything.
But,
For divx sources, I generally use the 2.0x script with avisynth 2.5 (latest). Mostly for the yv12. The picture is clearer and the static background colors aren't distorted.

I would either use one of the following in the script

#temporalsmoother(1,2)
#temporalsoften(2,3,3,scenechange=10,mode=2)
(I found these parameters for soften somewhere, its supposed to be good)

If I use the script with temp. smoother, the video is clear but with a smaller size than if I used it with the MA script.
If I use the script with temp. soften, it looks the same as smoother but a little softer, maybe some of the parameters need to be changed so it would look better. And the size is smaller than using smoother.

incognito 08-02-2003 03:44 AM

@J-Wo

What does this line do?

Code:

ConverttoYUY2()

Dialhot 08-02-2003 05:36 AM

Quote:

Originally Posted by J-Wo
Despite your suggestions, TemporalSmoother (I was not talking about TemporalSoften

You should read what you had written before complain I don't give you correct hints. You were talking about temporalsoften in your first post.

I can quote you if you want :
Quote:

I'm running into a little problem. Namely it's that there is no TemporalSoften line in MPEG2DEC3
And
Quote:

Code:

SpaceDust()
#TemporalSoften(1, 2)
MergeChroma(blur(1.5))


If you make errors in the questions you ask, for sure the answers won't be the ones you need. For my part I didnt see that original script used temporalsmoother and not temporalsoften.

Quote:

I was however able to work around the issue by downloading Mpeg2Dec.dll by Dividee. So I've loaded both into my avs script and everything seems to work. I just don't know if this is the best thing to do?
Yes it is and that should have been the awswer I gave to you if you had ask the correct question in the first place !


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

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