Quantcast Avisynth 2.08 Better for Divx/Xvid Sources? - digitalFAQ.com Forums [Archives]
  #1  
08-01-2003, 10:30 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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!
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  
08-01-2003, 01:54 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 !
Reply With Quote
  #3  
08-01-2003, 02:14 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #4  
08-01-2003, 03:06 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Reply With Quote
  #5  
08-01-2003, 03:30 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6  
08-02-2003, 03:16 AM
TemplateAVS TemplateAVS is offline
Free Member
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #7  
08-02-2003, 03:44 AM
incognito incognito is offline
Free Member
 
Join Date: Jul 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
@J-Wo

What does this line do?

Code:
ConverttoYUY2()
__________________
I own a Philips DVD 701. NTSC.
Reply With Quote
  #8  
08-02-2003, 05:36 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 !
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth 2.5 cannot decode Divx, Xvid videos? rs008f Avisynth Scripting 18 06-11-2004 01:14 AM
Avisynth: MA scripts for xvid/divx? arana Avisynth Scripting 9 03-30-2004 06:50 PM
OPtimal script (avisynth 2.5) Divx/Xvid---->KVCD?????(dud InDoKO Convertir y Codificar Video (Español) 6 01-09-2004 07:58 PM
Avisynth: Divx/Xvid Anime to kvcd? strider_k Avisynth Scripting 5 08-20-2003 07:12 PM
Avisynth: Script for DivX/XVid? J-Wo Avisynth Scripting 8 05-28-2003 04:02 AM

Thread Tools



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