Log in

View Full Version : AviSynth Script Alignment (MeGUI)


Pages : [1] 2

Music Rockz
20th January 2015, 15:02
Somebody help me to order my simple script to enhance the video. I am just the beginner to this! I need your help to enhance the video quality from DVDs for my use!

SetMemoryMax(682)
<input>
<deinterlace>
<crop>
<denoise>
TemporalSoften(4, 4, 8, scenechange=15, mode=2)
<resize>
sharpen(0.22)
addgrain(0.18)
#Tweak(hue=1, sat=1.0, bright=-12, cont=1.11, coring=true, sse=false)
#ConvertToRGB()
#RgbAdjust(.92,0.78,.71,0)
ConvertToYV12()
ConvertToYUY2()
#ColorYUV(gain_u=5, gain_v=-25)
#ColorYUV(autogain=true, autowhite=true
#ChangeFPS(23.976, linear=true)
fft3dfilter(sigma=1.6)
#Levels(0,1,255,16,240)
#Levels(16,1,240,0,255)
#Levels(0, 1.2, 255, 0, 255)
#LSFmod(Defaults="Slow",strength=150)
#Tweak(hue=3, sat=1.1, bright=-8, cont=1.11, coring=true, sse=false)

Generally, temporal smoothing and noise reduction should be before resizing.
Sharpening and add grain should be after resizing.
I'm not sure about color correction, probably after resizing and before sharpening.

I am using Tweak and Levels more than once in script because it may differ with the source. I don't know more about these! Please help me to order and I am asking the experts to add your knowledge to this!

Music Rockz
21st January 2015, 09:10
Somebody please help me!

LemMotlow
21st January 2015, 17:17
You're asking for two complete courses in MEGUI usage and in Avisynth encoding? Few will take you up on this. There are many guides to MEGUI, some are on this wiki page: http://mewiki.project357.com/wiki/Main_Page. Some are at videohelp: http://www.videohelp.com/tools/MeGUI#guides. Here's one at AfterDawn: http://www.afterdawn.com/guides/archive/afterdawn_blu-ray_encoding_tutorial_1-prepare_source_video.cfm (you can search their Guides for more).

To start:

The code in brackets "< >" will be inserted when you activate other options in MEGUI.

Any line in an Avisynth script that starts with "#" is a comment. It will not be executed. These are the only lines in your script that will be executed:
SetMemoryMax(682)
TemporalSoften(4, 4, 8, scenechange=15, mode=2)
ConvertToYUY2()
ConvertToYV12()
fft3dfilter(sigma=1.6)
sharpen(0.22)
addgrain(0.18)

What's with SetMemoryMax? Are you using an MT version of Avisynth?

Why are you changing colorspace to YUY2 and back to YV12? DVD is YV12 to begin with.

Filters like TemporalSoften and FFT3Dfilter are usually used with progressive video. DVD is interlaced or telecined.

Somebody help me to order my simple script to enhance the video.No one here has any idea what your video looks like, so we don't know what "enhance" means.

I am using Tweak and Levels more than once in script because it may differ with the source.Sorry to say, and not trying to just be tough on you, but that statement doesn't seem to make sense. Obviously, the results will look different than the source. We don't know what your source looks like, so it's anyone's guess what the result would be.

I don't know more about these!

Might be a better idea to start with just an Avisynth script by itself to figure out what you're doing and check the results. Writing and running untried scripts in MEGUI isn't just a pain in the neck, it's a waste of time. Once you understand more about Avisynth, you can encode and whatnot with anything including MEGUI.

Reel.Deel
21st January 2015, 18:55
What's with SetMemoryMax? Are you using an MT version of Avisynth?

SetMemoryMax is an internal function that's been available in the official AviSynth (and its variants) for a long time, read here: internal functions (http://avisynth.nl/index.php/Internal_functions#SetMemoryMax).

Stormborec
21st January 2015, 19:43
Is there any reason to use Megui instead of notepad + Virtualdub + codecs ?

LemMotlow
21st January 2015, 19:59
SetMemoryMax is an internal function that's been available in the official AviSynth (and its variants) for a long time, read here: internal functions (http://avisynth.nl/index.php/Internal_functions#SetMemoryMax).I know. Wanted to know what the O.P. is using. The figure 682 is not mod-4, mod-8, or mod-16. Odd number IMO. Would that work? I thought SMM had to be mod-something.

Groucho2004
21st January 2015, 22:07
I know. Wanted to know what the O.P. is using. The figure 682 is not mod-4, mod-8, or mod-16. Odd number IMO. Would that work? I thought SMM had to be mod-something.
Whatever you set SetMemoryMax to, it will always be mod-1048576 and therefore also mod-16, mod-8, ..., since the unit is MB (MiB). No mod-something required.
Maybe you're confusing this with frame dimensions?

LemMotlow
21st January 2015, 22:29
Thanks for clarifying those parameters. But, not frame size. I've never seen it that way. 682? I guess it's OK, then.

Groucho2004
21st January 2015, 22:51
682?
Yes, it's an unusual value. I don't know if the gui sets it or if the OP did. Whatever works...

Music Rockz
22nd January 2015, 04:25
Yes, it's an unusual value. I don't know if the gui sets it or if the OP did. Whatever works...

I set this as 1/3 of my physical memory and it did work for me! Does it need changes?

Music Rockz
22nd January 2015, 04:34
The code in brackets "< >" will be inserted when you activate other options in MEGUI.
I can't understand this what you mean! Please clear!

Any line in an Avisynth script that starts with "#" is a comment. It will not be executed. These are the only lines in your script that will be executed:
SetMemoryMax(682)
TemporalSoften(4, 4, 8, scenechange=15, mode=2)
ConvertToYUY2()
ConvertToYV12()
fft3dfilter(sigma=1.6)
sharpen(0.22)
addgrain(0.18)

These are common for all sources... And scripts starts with '#' is for different sources! I remove the '#' to activate the script!

Filters like TemporalSoften and FFT3Dfilter are usually used with progressive video. DVD is interlaced or telecined.

According to the Analysis my dvd is progressive!

No one here has any idea what your video looks like, so we don't know what "enhance" means.

I mean the color corrections...Basic...To enhance the video quality color correction may be helpful for some DVD sources! Just I need common scripts, then I'll adjust them with the "AvsPmod"

Music Rockz
22nd January 2015, 04:38
Somebody order this script! The order of script may give a good quality! "This is said by an expert"

Generally, temporal smoothing and noise reduction should be before resizing.
Sharpening and add grain should be after resizing.
I'm not sure about color correction, probably after resizing and before sharpening.

And I just edited the script...Look above! Please add your knowledge to this with more filters!

Music Rockz
22nd January 2015, 05:44
Here is a sample of TC Rip movie downloaded from a website...
http://www.mediafire.com/download/4ir35r9d6op3sz0/I+TC+Sample.mp4

Anybody enhance this TC quality and post the (MeGUI) avisynth scripts you used for it...

tebasuna51
22nd January 2015, 10:42
Help about downloaded material it's not allowed in this web, if you want help to rip your DVD we need a sample from your source.

Don't exist a generic script to recode all DVD's, each one need their script.

A chain of filters like:

TemporalSoften(4, 4, 8, scenechange=15, mode=2)
<resize>
sharpen(0.22)
addgrain(0.18)
fft3dfilter(sigma=1.6)

don't have any sense for me, maybe work for a specific movie but with a good source you only destroy the initial quality.

Apply Denoisers/Degrain (TemporalSoften, fft3dfilter) before resize only if is needed.

Music Rockz
22nd January 2015, 14:13
Help about downloaded material it's not allowed in this web, if you want help to rip your DVD we need a sample from your source.

Don't exist a generic script to recode all DVD's, each one need their script.

A chain of filters like:

TemporalSoften(4, 4, 8, scenechange=15, mode=2)
<resize>
sharpen(0.22)
addgrain(0.18)
fft3dfilter(sigma=1.6)

don't have any sense for me, maybe work for a specific movie but with a good source you only destroy the initial quality.

Apply Denoisers/Degrain (TemporalSoften, fft3dfilter) before resize only if is needed.
Thanks for your support!

I use this filters as example only! Then I'll adjust with the source using "AvsPMod"

Can you suggest me some examples for Denoisers/Degrain!

I still don't know the usage of RGBAdjust and YUY2, YV12 Color spaces! Can somebody guide me!

LemMotlow
22nd January 2015, 21:32
We have no sample of your video, so there is no single answer. But apparently you have to learn more about the basics of video and processing. Not everyone will be a video engineer, but you must start somewhere.

Many beginners start at the AMV website, which has many articles related to video. The website is mostly about anime, but the principles apply to all types of video. You can start here: Improving Visual Quality with AviSynth Filters (http://www.animemusicvideos.org/guides/avtech31/post-qual.html). The linked page has many examples of the use of Avisynth filters.

Another page is about color storage and colorspace: Colorspace (http://www.animemusicvideos.org/guides/avtech31/theory-videocolorspace.html). It is about RGB, YUY2, and YV12.

The main index to AMV articles and tutorials is here: A&E's Technical Guides to All Things Audio and Video (http://www.animemusicvideos.org/guides/avtech31/index.html).

If you want advice about a specific video, you must submit a link to a video sample. You can use free tools to make a sample of about 10 seconds or so. The sample should have motion or someone moving. Two free tools for making samples from DVD are MG2Cut2 (http://www.videohelp.com/tools?toolsearch=DGIndex&submit=Search&portable=&s=&orderby=Name&hits=50) and the DGIndex utility in DGMPGDEC (http://www.videohelp.com/tools?toolsearch=DGIndex&submit=Search&portable=&s=&orderby=Name&hits=50). Both are free. You can also make a short sample with the free trial version of VideoReDo (http://www.videohelp.com/tools/VideoReDo).

Music Rockz
23rd January 2015, 07:39
We have no sample of your video, so there is no single answer. But apparently you have to learn more about the basics of video and processing. Not everyone will be a video engineer, but you must start somewhere.

Many beginners start at the AMV website, which has many articles related to video. The website is mostly about anime, but the principles apply to all types of video. You can start here: Improving Visual Quality with AviSynth Filters (http://www.animemusicvideos.org/guides/avtech31/post-qual.html). The linked page has many examples of the use of Avisynth filters.

Another page is about color storage and colorspace: Colorspace (http://www.animemusicvideos.org/guides/avtech31/theory-videocolorspace.html). It is about RGB, YUY2, and YV12.

The main index to AMV articles and tutorials is here: A&E's Technical Guides to All Things Audio and Video (http://www.animemusicvideos.org/guides/avtech31/index.html).

If you want advice about a specific video, you must submit a link to a video sample. You can use free tools to make a sample of about 10 seconds or so. The sample should have motion or someone moving. Two free tools for making samples from DVD are MG2Cut2 (http://www.videohelp.com/tools?toolsearch=DGIndex&submit=Search&portable=&s=&orderby=Name&hits=50) and the DGIndex utility in DGMPGDEC (http://www.videohelp.com/tools?toolsearch=DGIndex&submit=Search&portable=&s=&orderby=Name&hits=50). Both are free. You can also make a short sample with the free trial version of VideoReDo (http://www.videohelp.com/tools/VideoReDo).
I already been to this site! I learned many things from here! Some of my filter scripts are also taken from this!

LemMotlow
23rd January 2015, 11:45
I already been to this site! I learned many things from here! Some of my filter scripts are also taken from this!Then you should already know from reading those articles that YV12 is the colorspace almost always used for DVD. You should also know from reading that site that most of the filters shown will require YV12 color.

You can use your sample script for any video. If the script does not do what you want it to do, then change your script. We can't tell you which filters or which script to use for video that we haven't seen. Without a sample of what you want to do, our guess would be no better than your guess.

Music Rockz
23rd January 2015, 14:52
Then you should already know from reading those articles that YV12 is the colorspace almost always used for DVD. You should also know from reading that site that most of the filters shown will require YV12 color.

You can use your sample script for any video. If the script does not do what you want it to do, then change your script. We can't tell you which filters or which script to use for video that we haven't seen. Without a sample of what you want to do, our guess would be no better than your guess.
Here is a 1min sample of a DVD! In my DVD Collections this the worse one! Source : DVD5
http://www.mediafire.com/download/68s8any0bf9dlxb/Sample.mkv

try your best guys and post the script!

LemMotlow
23rd January 2015, 17:20
Thank you for a sample, but...

Your sample is not an original cut from a DVD. It it is an mkv and appears to be re-encoded. The audio is over modulated and distorted. It has not been cut on a key frame or with smart rendering. It does not play correctly.

You don't have the original DVD?

Music Rockz
24th January 2015, 13:43
Thank you for a sample, but...

Your sample is not an original cut from a DVD. It it is an mkv and appears to be re-encoded. The audio is over modulated and distorted. It has not been cut on a key frame or with smart rendering. It does not play correctly.

You don't have the original DVD?
I split this from a DVD5 using MkvToolNix! I haven't compressed the audio or anything on it! Just split using the MkvToolNix, that's why it is in mkv format! It plays perfectly on my VLC player!

LemMotlow
24th January 2015, 18:44
I split this from a DVD5 using MkvToolNix!MkvToolnix? Why? Why not use tools designed for DVD and MPEG? You can open and filter MPEG directly, then filter and re-encode as whatever you want.

It plays perfectly on my VLC player!No, it does not. One problem is that many frames appear out of sequence.

Frame 47 is repeated between frame 64 and frame 66.
Frame 199 is repeated as a double image in frame 217 and frame 218.
Frame 353 is repeated between frame 371 and frame 373.
And so on.....

Perhaps another party can examine the sample.mkv and determine what is wrong. But frames do not decode properly.

frame 199:
https://www.mediafire.com/?2widzph5phrh5st

frames 217 and 218, with double image of frame 199:
https://www.mediafire.com/?fjqdx7797cf7x32

Music Rockz
25th January 2015, 04:36
MkvToolnix? Why? Why not use tools designed for DVD and MPEG? You can open and filter MPEG directly, then filter and re-encode as whatever you want.

No, it does not. One problem is that many frames appear out of sequence.

Frame 47 is repeated between frame 64 and frame 66.
Frame 199 is repeated as a double image in frame 217 and frame 218.
Frame 353 is repeated between frame 371 and frame 373.
And so on.....

Perhaps another party can examine the sample.mkv and determine what is wrong. But frames do not decode properly.

frame 199:
https://www.mediafire.com/?2widzph5phrh5st

frames 217 and 218, with double image of frame 199:
https://www.mediafire.com/?fjqdx7797cf7x32
That's because of the bad DVD Source! The full movie will look like this! Frames are not decoded properly! That's why I said this is the worse DVD in my collections!

Which software is good to make samples from DVDs?

I'll post another DVD's sample!

StainlessS
25th January 2015, 15:12
Which software is good to make samples from DVDs?

DGindex.
If you are using FFMPegsource or LSMash stuff, I might suspect those as responsible (or partly) for the out of sequence frames, I dont really trust either one.

LemMotlow
25th January 2015, 15:51
A tutorial from an acquaintance about how to make samples or create MPEG project files using DGIndex: http://forum.videohelp.com/threads/359295-Record-without-interlacing?p=2272359&viewfull=1#post2272359
Avisynth can use DGIdnex project files to open MPEG. This is usually the way it is done.

DGindex is part of the free DGMPGDec package http://www.videohelp.com/tools/DGMPGDec

You could also try MPG2Cut2 (http://www.videohelp.com/tools/Mpg2Cut2).

[EDIT] I just noticed another problem with that sample.mkv, which the owner says was ripped from an NTSC DVD. The audio is mp2, which is not allowed in NTSC DVD.

Music Rockz
26th January 2015, 06:32
[EDIT] I just noticed another problem with that sample.mkv, which the owner says was ripped from an NTSC DVD. The audio is mp2, which is not allowed in NTSC DVD.


That's not an NTSC DVD, just a worse DVD5!

I used DGindex and cut a sample .d2v from a NTSC DVD! Is this ok?
http://www.mediafire.com/download/ahzpe7zt816xgrh/VTS_01_1.d2v
http://www.mediafire.com/download/lxc3tqwa1640npg/VTS_01_1.demuxed.m2v

LemMotlow
26th January 2015, 15:38
Thank you again for providing a sample. The sample with DGIndex plays normally.

[B]That's not an NTSC DVD, just a worse DVD5!Later, you might try the "bad" DVD with DGIndex to see if you get better results. The bad DVD was 720x480 at 29.97 fps and was a combination of blended and duplicate frames. 720x480 video at 29.97 fps is NTSC format.

Information: you did not need to include the .d2v project file. The .d2v is for your use and can't be used on another computer without modifying the .d2v. I made my own .d2v project file from your demuxed .m2v.

If you want to add audio to the results, notice that DGIndex produced several files. It produced a .d2v project file, a demuxed .m2v (video), and another file for audio. Probably the audio file would be .AC3 or .mp2, depending on the type of audio in the DVD. If you provide a link to the same audio file, we can show you how to join audio and video in Avisynth.

The video appears to be progressive video encoded as "interlaced". It is not interlaced or telecined. It is film-based video originally made at 23.976 fps, with duplicate frames inserted at intervals for 29.97 fps. It should not be deinterlaced. I used TFM and TDecimate to remove most of the duplicate frames. A few random duplicates appear in some shots, most of which are slow motion. This does not seem to affect motion after the other duplicates are removed. The aspect ratio of the original movie is 2.35:1. Because 2.35:1 is wider than 16:9, the video is letterboxed inside a 16:9 display.

The video has a very low bitrate and some compression artifacts. Many of the artifacts can be cleaned, but not all of them.

To open a .d2v project file in Avisynth:
MPEG2Source("drive:\path to d2v project\VTS_01_1.demuxed.d2v"
You must change the path in the above statement to match the location of the d2v file in your computer.

What do you want to do with this video?

Music Rockz
26th January 2015, 15:53
If you want to add audio to the results, notice that DGIndex produced several files. It produced a .d2v project file, a demuxed .m2v (video), and another file for audio. Probably the audio file would be .AC3 or .mp2, depending on the type of audio in the DVD. If you provide a link to the same audio file, we can show you how to join audio and video in Avisynth.

I don't need to join audio files using AviSynth because I am using MeGUI to rip a DVD! :)

The video appears to be progressive video encoded as "interlaced". It is not interlaced or telecined. It is film-based video originally made at 23.976 fps, with duplicate frames inserted at intervals for 29.97 fps. It should not be deinterlaced. I used TFM and TDecimate to remove most of the duplicate frames. A few random duplicates appear in some shots, most of which are slow motion. This does not seem to affect motion after the other duplicates are removed. The aspect ratio of the original movie is 2.35:1. Because 2.35:1 is wider than 16:9, the video is letterboxed inside a 16:9 display.

I don't know much on this! ;)

The video has a very low bitrate and some compression artifacts. Many of the artifacts can be cleaned, but not all of them.
What do you want to do with this video?

Kindly Upscale it to 720p with a quite clear quality at your best and post the script! :script:

LemMotlow
26th January 2015, 22:54
Refrain from shouting in big bold characters. It's rude.

I don't need to join audio files using AviSynth because I am using MeGUI to rip a DVD! :)Suit yourself. I would avoid returning with complaints if you don't like the results.

I don't know much on this! ;)You should learn. If you don't want to learn about working with video, you're in the wrong forum.

Kindly Upscale it to 720p with a quite clear quality at your best and post the script! :script:Your source is low bitrate trash that looks better as 720x480 than 720p. Upscaling low bitrate video is a lot of work and requires special filters. Upscaling poorly encoded video amplifies defects.

I don't see that giving you a script would accomplish anything. You won't like it, nor will you understand it. The same script can't be used for all your videos anyway.

Result of the script: MusicRockz_VTS01_720p.mkv, 101MB is at https://www.mediafire.com/?71ybtv14e2cy8mj

The script I used (others might have different ideas):

MPEG2Source("E:\forum\MusicRockz\C\VTS_01_1.demuxed.d2v")
Crop(0,56,0,-56)
TDecimate(rate=23.976)
ColorYUV(off_y=4,cont_v=-15,cont_u=-15,gain_u=-10)
SmoothLevels(16, 0.85, 255, 16, 250, chroma=200,limiter=0,tvrange=true,dither=100,protect=6)
FixChromaBleeding()
SmoothTweak(Saturation=1.2)
QTGMC(InputType=1,preset="faster",Denoiser="dfttest",EZDenoise=2)
Santiag()
Blur(0.2,0.2).Sharpen(0.2,0.2)
MergeChroma(aWarpSharp2(Depth=30))

#--- 16-bit dithered resize to avoid artifacts ---
Dither_convert_8_to_16 ()
Dither_resize16(1280, 544, kernel="spline36", cplace="MPEG2")
DitherPost()

LimitedSharpenFaster(strength=75)
AddGrainC(2.0, 2.0)
AddBorders(0, 88, 0, 88)
ColorMatrix(mode="Rec.601->Rec.709")
return last

Music Rockz
27th January 2015, 05:35
Refrain from shouting in big bold characters. It's rude.

Suit yourself. I would avoid returning with complaints if you don't like the results.

You should learn. If you don't want to learn about working with video, you're in the wrong forum.

Your source is low bitrate trash that looks better as 720x480 than 720p. Upscaling low bitrate video is a lot of work and requires special filters. Upscaling poorly encoded video amplifies defects.

I don't see that giving you a script would accomplish anything. You won't like it, nor will you understand it. The same script can't be used for all your videos anyway.

Result of the script: MusicRockz_VTS01_720p.mkv, 101MB is at https://www.mediafire.com/?71ybtv14e2cy8mj

The script I used (others might have different ideas):

MPEG2Source("E:\forum\MusicRockz\C\VTS_01_1.demuxed.d2v")
Crop(0,56,0,-56)
TDecimate(rate=23.976)
ColorYUV(off_y=4,cont_v=-15,cont_u=-15,gain_u=-10)
SmoothLevels(16, 0.85, 255, 16, 250, chroma=200,limiter=0,tvrange=true,dither=100,protect=6)
FixChromaBleeding()
SmoothTweak(Saturation=1.2)
QTGMC(InputType=1,preset="faster",Denoiser="dfttest",EZDenoise=2)
Santiag()
Blur(0.2,0.2).Sharpen(0.2,0.2)
MergeChroma(aWarpSharp2(Depth=30))

#--- 16-bit dithered resize to avoid artifacts ---
Dither_convert_8_to_16 ()
Dither_resize16(1280, 544, kernel="spline36", cplace="MPEG2")
DitherPost()

LimitedSharpenFaster(strength=75)
AddGrainC(2.0, 2.0)
AddBorders(0, 88, 0, 88)
ColorMatrix(mode="Rec.601->Rec.709")
return last
Looks very different and nice from the source!
Can you send me your plugins (autoload) as zip file?

StainlessS
27th January 2015, 10:53
Although it would be easier for you if LemMotlow did all of the work, it should however not be too difficult to download the plugz yourself
http://avisynth.nl/index.php/External_filters

feisty2
27th January 2015, 12:33
if it's downscaling, resize first, if not (upscaling), don't resize yet
sharpen the video and subtract the dif
denoise the video (source clip, not the sharpened one) then add the dif you get from the last step
if you wanna upscale, do it now
add some grain
la fin

LemMotlow
27th January 2015, 16:03
The link to Plugins_pack.zip has plugins that were assembled on another forum some time ago. I had to update some of the dll's for avisynth 2.6.
https://www.mediafire.com/?zwnthypyapdpbyr, 10MB.

The .zip contains 9 subfolders: FixChromaBleeding, TIVTC, QTGMC, dither, santiag, SmoothAdjust, awarpsharp2, LimitedSharpenFaster, and colorMatrix, with 30+ associated plugins. The subfolder for QGTMC support files contains Avisynth plugins and Windows system support files. There are a couple of text files with instructions on how to install the QTGMC filters and the Windows system files. I included some of the original documentation for several plugins, but not for all of them. If you want the full documentation and downloads for any plugins, see the Avisynth Wiki and other sources for the original download packages.

The SmoothTweak() and SmoothLevels() functions are part of SmoothAdjust.dll. I included SmoothAdjust v2.8 for Avisynth 2.6. If you want the new v3 of SmoothAdjust, it is here: http://latoninf.free.fr/d9/SA/SmoothAdjust-v3.00.7z. I included the original LimitedSharpenFaster plugins, although I think my mkv appears to be over sharpened. I would have omitted the sharpener, but nowadays people like to over sharpen video. Must be a vision problem, I guess.

If you already have new versions of some of these plugins, keep your new version. If you have an old version of a plugin with the same name, replace it with the new version.

How these will go together with MEGUI is a matter I must leave to MEGUI users. I did not use MEGUI. The script was run in VirtualDub, saved as a lossless Lagarith AVI, then re-encoded with TVMW5 (http://tmpgenc.pegasys-inc.com/en/product/tvmw5.html). I feel that MEGUI it is too limited and gets in my way. I use several other h264 and MPEG encoders in my workflow.

Enjoy.

Music Rockz
28th January 2015, 02:50
The link to Plugins_pack.zip has plugins that were assembled on another forum some time ago. I had to update some of the dll's for avisynth 2.6.
https://www.mediafire.com/?zwnthypyapdpbyr, 10MB.

The .zip contains 9 subfolders: FixChromaBleeding, TIVTC, QTGMC, dither, santiag, SmoothAdjust, awarpsharp2, LimitedSharpenFaster, and colorMatrix, with 30+ associated plugins. The subfolder for QGTMC support files contains Avisynth plugins and Windows system support files. There are a couple of text files with instructions on how to install the QTGMC filters and the Windows system files. I included some of the original documentation for several plugins, but not for all of them. If you want the full documentation and downloads for any plugins, see the Avisynth Wiki and other sources for the original download packages.

The SmoothTweak() and SmoothLevels() functions are part of SmoothAdjust.dll. I included SmoothAdjust v2.8 for Avisynth 2.6. If you want the new v3 of SmoothAdjust, it is here: http://latoninf.free.fr/d9/SA/SmoothAdjust-v3.00.7z. I included the original LimitedSharpenFaster plugins, although I think my mkv appears to be over sharpened. I would have omitted the sharpener, but nowadays people like to over sharpen video. Must be a vision problem, I guess.

If you already have new versions of some of these plugins, keep your new version. If you have an old version of a plugin with the same name, replace it with the new version.

How these will go together with MEGUI is a matter I must leave to MEGUI users. I did not use MEGUI. The script was run in VirtualDub, saved as a lossless Lagarith AVI, then re-encoded with TVMW5 (http://tmpgenc.pegasys-inc.com/en/product/tvmw5.html). I feel that MEGUI it is too limited and gets in my way. I use several other h264 and MPEG encoders in my workflow.

Enjoy.
Thanks a lot for these explanations!

I am using Avisynth 2.5.8
Will all these plugins support that version mainly smoothadjust.dll?

LemMotlow
28th January 2015, 03:52
I am using Avisynth 2.5.8
Will all these plugins support that version mainly smoothadjust.dll?No. Tomorrow I will give a link to the older collection for QTGMC, Dither, and SmoothAdjust (Avisynth 2.5.8).

The other plugins in the package will be OK.

MEGUI now uses 2.6.x internally. You are probably using an old version of MEGUI.

Music Rockz
28th January 2015, 03:56
No. Tomorrow I will give a link to the older collection for QTGMC, Dither, and SmoothAdjust (Avisynth 2.5.8).

The other plugins in the package will be OK.

MEGUI now uses 2.6.x internally. You are probably using an old version of MEGUI.
Nope. AviSynth+ it uses! I installed AviSynth 2.5 externally for better usage and the new version MeGUI

LemMotlow
28th January 2015, 13:39
Plugin package for Avisynth 2.5.8 (plugins_pack_avs258.zip, 9.7MB)
https://www.mediafire.com/?4zpshkcx9qikwz3

Music Rockz
28th January 2015, 13:43
Thanks bro....

Why this problem occurs when using LimitedSharpenFaster()

http://t1.someimage.com/ehELSra.jpg (http://someimage.com/ehELSra)

But when adjusting the it dissappers but re-occurs!

http://t1.someimage.com/gsv4hnq.jpg (http://someimage.com/gsv4hnq)

LemMotlow
28th January 2015, 15:20
I can't say that I've seen such effects with LimitedSharpenFaster.

Try LSFMod, the newer version. http://avisynth.nl/index.php/LSFmod. You can use the same strength values with LSFMod, and many more.
LSFMod requires VariableBlur. http://www.avisynth.nl/users/tsp/VariableBlur040.zip

Reel.Deel
28th January 2015, 16:10
Latest version (v0.7): http://avisynth.nl/index.php/VariableBlur

LemMotlow
28th January 2015, 17:38
Yeah, there's a newer v1.07. Come to think of it, I kept the old v.104 because the new one required Microsoft Visual C++ 2010 runtime. Now that 2010 is on my PC, I should update myself. Thanks for reminding. If needed, a link to the Visual C++ 2010 stuff is on the VariableBlur wiki page: http://avisynth.nl/index.php/VariableBlur .

foxyshadis
28th January 2015, 19:38
Thanks bro....

Why this problem occurs when using LimitedSharpenFaster()

http://t1.someimage.com/ehELSra.jpg (http://someimage.com/ehELSra)

But when adjusting the it dissappers but re-occurs!

When you use old versions, you get to experience old bugs like they're new again! Update and this won't happen, it's been fixed for years.

Music Rockz
29th January 2015, 03:33
Thanks a lot bros....The same problem occurred in LFSMod also but now I updated to new version. But still now the same problem continues!

The problem is with that LFSMod.v.1.9.avsi

http://t1.someimage.com/vn3gbRe.jpg (http://someimage.com/vn3gbRe)

But when loading the LFSMod.v.1.9.avs into script there is no problem!

http://t1.someimage.com/dqleC15.jpg (http://someimage.com/dqleC15)

Anybody have the solution?

Anybody have the autoload "LimitedSharpenFaster.avsi" latest version?

LemMotlow
29th January 2015, 15:22
Anybody have the autoload "LimitedSharpenFaster.avsi" latest version?The URL of the LSFMod download page is named http://latoninf.free.fr/d9/LM/LSFmod.v1.9.avsi. Change the name of your copy from ""LSFmod.v1.9.avs" to ""LSFmod.v1.9.avsi".

You have your plugins all over the place. If you are running the script in AvsPmod, the avsi must be in your Avisynth 2.5.8 plugins folder to autolaod, not in MEGUI. If the avsi is located in MEGUI plugins, you still have to use the Import statement to load the filter when running AvsPmod.

There is a newer version of warpsharp.dll (https://www.mediafire.com/?y3q7vi3f0anphv5). It might make a difference, it might not. I have used both versions in my computers and have no problem with either of them. Try it and see.

Music Rockz
29th January 2015, 16:13
The URL of the LSFMod download page is named http://latoninf.free.fr/d9/LM/LSFmod.v1.9.avsi. Change the name of your copy from ""LSFmod.v1.9.avs" to ""LSFmod.v1.9.avsi".

You have your plugins all over the place. If you are running the script in AvsPmod, the avsi must be in your Avisynth 2.5.8 plugins folder to autolaod, not in MEGUI. If the avsi is located in MEGUI plugins, you still have to use the Import statement to load the filter when running AvsPmod.

There is a newer version of warpsharp.dll (https://www.mediafire.com/?y3q7vi3f0anphv5). It might make a difference, it might not. I have used both versions in my computers and have no problem with either of them. Try it and see.
All auto-load scripts are in the "C:\Program Files\Avisynth 2.5\plugins\" folder, but the .avs files are in MeGUI plugins folder, I loaded it because that .avsi file showed error! No no issue with that!

LemMotlow
29th January 2015, 16:53
.avs files will not autoload.

LSFMod's link is to an .avsi file. If you copied the LSFMod script from the web page into a text file and saved it as "avs", it won't autoload. On my computers I have the filter named as "LSFmod.avsi".

hello_hello
29th January 2015, 20:12
What he's saying makes sense in relation to the screen shots.

Pic one, the script is in the AVISynth plugins folder and auto-loading (the import line is commented out) and producing those lines.
Pic two, it's an avs script being imported manually and there's no longer a problem with lines in the video.

What he's saying makes sense, but not the result.

That aside, the only thing those two sharpening scripts seem to have in common now are Removegrain and the AvsPmod preview, although I don't know how either could cause those lines. Unless it's some sort of odd Avisynth 2.5.8 bug.

Have you tried SeeSaw?
http://avisynth.nl/index.php/SeeSaw

Nope. AviSynth+ it uses! I installed AviSynth 2.5 externally for better usage and the new version MeGUI

How does Avisynth 2.5 give better usage?
AviSynth+ is pretty much Avisynth 2.6 (for the purpose of this rant), so if you install Avisynth you should install 2.6 (in my opinion). It's the recommended version anyway.
If you're using MeGUI with Avisynth+, the scripts it creates aren't always compatible with Avisynth 2.5, so you might get errors when other programs try to open the scripts. If MeGUI is set to use the "installed" AVISynth that won't happen, but I think it's better to install Avisynth 2.6 anyway. Then MeGUI can use AVISynth+ and the scripts it creates can be opened in other programs.
Some plugins require different versions for Avisynth 2.5 and 2.6. The 2.6 compatible plugins will work with AVISynth+.

When I was trying to track down a speed problem with QTGMC a while back, I experimented with both Avisynth 2.6.0.4 and Avisynth+ portable. The problem was nothing to do with Avisynth as such, but I did discover Avisynth was just a tad faster. I don't know if that's always the case, but it seems to be for QTGMC.
(That's Avisynth+ 2.6.0.5 and Avisynth 2.6.0.4. I haven't tried the same comparison with Avisynth 2.6.0.5 yet)
http://forum.doom9.org/showthread.php?p=1700106#post1700106

There's also a weird bug that usually becomes obvious when using MeGUI with the installed AVIsynth (version 2.6.0.4, at least) and FFVideoSource(). If you crop or resize too quickly in the script creator while it's displaying a preview, MeGUI offers errors and/or crashes. For some reason, when using AVISynth+, it doesn't happen as easily, or anywhere near as often.

StainlessS
30th January 2015, 03:27
There's also a weird bug that usually becomes obvious when using MeGUI with the installed AVIsynth (version 2.6.0.4, at least) and FFVideoSource(). If you crop or resize too quickly in the script creator while it's displaying a preview, MeGUI offers errors and/or crashes. For some reason, when using AVISynth+, it doesn't happen as easily, or anywhere near as often.

That sounds like same problem I sometimes had with MeGUI, but using installed 2.6 Alpha 5, and either MPEG2Source or AviSource (cant remember which, maybe both),
Happened to me when long timeout (avisynth busy doing prescan) when loading script. MeGUI opens script about 5 times before preview and a few more when
selecting eg AutoEncode (number probably dependant upon settings), each of the openings would produce another prescan (eg RoboCrop or whatever).
Solution in my case was to turn OFF "Improved AVS Opening" on Main Configurations dialog in Settings.

hello_hello
30th January 2015, 04:55
That sounds like same problem I sometimes had with MeGUI, but using installed 2.6 Alpha 5, and either MPEG2Source or AviSource (cant remember which, maybe both),
Happened to me when long timeout (avisynth busy doing prescan) when loading script. MeGUI opens script about 5 times before preview and a few more when
selecting eg AutoEncode (number probably dependant upon settings), each of the openings would produce another prescan (eg RoboCrop or whatever).
Solution in my case was to turn OFF "Improved AVS Opening" on Main Configurations dialog in Settings.

That's odd. I'll check it out though, as the scanning can be slow with filters like QTGMC in a script. I have MeGUI set to not automatically open the preview when loading a script into the video section, but sometimes it still takes a while, and then when adding the job to the queue it takes a while again. It's a tad frustrating when there's a few scripts to add to the queue manually.

The FFVideoSource bug seems fairly easily to replicate, at least if the source is MKV. If you crop quickly the cursor will keep changing to "busy". Too quickly and you'll get errors. Or if you hold down the up/down arrows for adjusting cropping or resizing, it'll end badly.
For some reason it's much worse when using the external Avisynth (at least when it's 2.6). With Avisynth+ portable you can adjust cropping and resizing normally with no ill effects most of the time, but if you click on a crop or resize up/down arrow and hold it I'm pretty sure it'll still end in tears.

StainlessS
30th January 2015, 06:56
If you crop quickly the cursor will keep changing to "busy". Too quickly and you'll get errors. Or if you hold down the up/down arrows for adjusting cropping or resizing, it'll end badly.

Arh, I see, I thought you meant 'crop too early on in script', I have never actually tried any of the crop/resize or other magic stuff in MeGUI, I only ever render
pre-prepared scripts (quite often auto created, with a little hand modification [Avisynthesizer_Mod, or DGIndex Templates]).

It's a tad frustrating when there's a few scripts to add to the queue manually.
I also almost always use my MeGUI AutoEncode Batcher, select the scripts in fileselector, click ok and go to the pub (or whatever).
Another user also created a batcher program for AutoEncode (mine sits there and waits for dialog boxes etc to pop up before clicking
on appropriate button, his does it a bit quicker but I think all scripts have to be identical properties video/audio).

Here the alternative MeGUI Batcher by Corpsecreate:
http://forum.doom9.org/showthread.php?p=1633590#post1633590

And my offering (I have mentioned it to you before, dont know if you tried it): http://forum.doom9.org/showthread.php?t=163343&highlight=MeGUI+AutoEncode+Batcher