Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd July 2019, 12:34   #21  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 663
Quote:
Originally Posted by StainlessS View Post
Hi Fred.
I'm still a bit stuck on AutoLevels, when I get the frame radius smoothing thing sorted out[well actualy that part pretty much done], I'll add it and scene change detection part to GamMac.
Looking forwards

Fred.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 22nd July 2019, 14:31   #22  |  Link
Doorn9
Wouter van Doorn
 
Doorn9's Avatar
 
Join Date: Jul 2019
Location: Central Scotland
Posts: 13
Hello Bernardd,

Thank you for taking the time to look into this.

I've looked at the two samples, but to be honest I don't see much (any!) improvement in the problem area. Was this meant as an intermediate clip leading to some sort of exciting combination with the original (or, or, or)? I'm a bit lost, I'm afraid... BTW: the source for the second clip contains what looks like a typo: 'truee' instead of 'true' - which may (or may not) have had an effect on the outcome.

For now, the GamMac approach seems the one that leads to success. I'm following that up now, trying to get it going.

Fingers crossed!
Wouter
Doorn9 is offline   Reply With Quote
Old 22nd July 2019, 15:00   #23  |  Link
Doorn9
Wouter van Doorn
 
Doorn9's Avatar
 
Join Date: Jul 2019
Location: Central Scotland
Posts: 13
Hello Fred,

Before I go and do a lot of things with wrong inputs... are these the right dlls for me to attempt to run 'the script'?

GRunT101.zip
RT_Stats_25&26_dll_v1.43_20141008.zip
RgbAdapt_25&26_x86_x64_dll_v0.05_20190303.zip
GScript_11.zip
GamMac_x86_x64_v1.10_dll_20180615.zip
FredAverage_25&26_x86_x64_dll_v0.03_20190115.zip

And is this the correct post to cut the script source from?
https://forum.doom9.org/showthread.php?p=1800097

Last but not least: what arguments to the script did you use to get the result you showed?

It looks daunting, but I'm game!
Wouter

Last edited by Doorn9; 22nd July 2019 at 15:38. Reason: Forgot maybe the most important question of all...!
Doorn9 is offline   Reply With Quote
Old 22nd July 2019, 16:59   #24  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,021
Bernardd example requires his script(AWB):- https://forum.doom9.org/showthread.php?t=174411

I'm not sure if it uses GamMac or not (It can, but dont know if settings use it).

To use GamMac alone, see example avs file in AVS folder of the dll zip.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 23rd July 2019, 09:33   #25  |  Link
Bernardd
Registered User
 
Join Date: Jan 2012
Location: Toulon France
Posts: 212
Hello Doorn,
I apologize for my mistake "truee". It has no effect, because i use the AvsPmod and their user sliders. My mistake is only during copiing on forum.
My RGBAdapt based script works only on white balance. It mix or not gain, contrast, bias, rpow and spow (gamma).
It do not use gammac.

For your problem, have you try DRN2 plugin, http://www.avisynth.nl/users/warpent...l_20021225.zip ?
It has one little correction action. But also it can help you to see the bad aeras.
In fact with threshY_hi, threshU_hi and threshV_hi decreased to 0, the output show the bad aeras, with one color, by channel.
Bernardd is offline   Reply With Quote
Old 23rd July 2019, 10:59   #26  |  Link
Doorn9
Wouter van Doorn
 
Doorn9's Avatar
 
Join Date: Jul 2019
Location: Central Scotland
Posts: 13
Quote:
Originally Posted by Bernardd View Post
For your problem, have you try DRN2 plugin, http://www.avisynth.nl/users/warpent...l_20021225.zip ?
Every day I hear of things that I had no idea about! That is yet another one. Sounds like a very useful analysis tool. For now, I'm concentrating on getting gammac working for me, hoping to get anywhere near what vFred managed. But all suggestions are gratefully received, and not forgotten!
Wouter
__________________
Wouter

Doorn9 is offline   Reply With Quote
Old 25th July 2019, 18:29   #27  |  Link
Doorn9
Wouter van Doorn
 
Doorn9's Avatar
 
Join Date: Jul 2019
Location: Central Scotland
Posts: 13
Hi Fred, and others.

GamMac was immediately totally brilliant at getting the colour consistent! The example script was very helpful, and quite easy to adapt to my needs. I had already read warnings that scale=2 was too aggressive in most cases, so I changed it to scale=1. And I chose the green channel as lock channel.

What I could not get right was the deflickering, which is apparently a side-effect of this filter if used right. Obviously, I didn't get it *quite* right, but my normal method worked well - Fizik's deflicker filter on a manipulated source, where I choose a reference frame, insert that 5 times before every image, deflicker and remove the helper frames again.

So, many thanks to all who responded, and the final result can be seen here, on the right, in comparison with the best I had so far on the left (*).
http://www.vandoorn.tv/doom9/022-wit...ith-gammac.avi
Very happy with the result. Better than all my tries at getting it watchable!

(*) with too garish colours; pushing saturation sometimes helps in disguising flaws, that's why it was overdone.
__________________
Wouter


Last edited by Doorn9; 6th August 2019 at 22:11.
Doorn9 is offline   Reply With Quote
Old 25th July 2019, 19:38   #28  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,179
Some links to posts where I explored the flicker problems with GamMac:

https://forum.doom9.org/showthread.p...69#post1818369

I used Deflicker after GamMac to reduce the flicker, in addition to things described in the posts which follow the post in the link above.
johnmeyer is offline   Reply With Quote
Old 26th July 2019, 15:15   #29  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 663
Quote:
Originally Posted by johnmeyer View Post
Some links to posts where I explored the flicker problems with GamMac:
Hi John,

Perhaps this is of interest for you too:

Quote:
Originally Posted by Doorn9 View Post
What I could not get right was the deflickering, which is apparently a side-effect of this filter if used right.
Flickering is not a side-effect of Gammac() when good used.

Flickering after Gammac() can be caused by dirt spots, moving black borders, compression artefacts etc....

So it is very important to clean the source file before using Gammac().
RemoveDirtSMC() is my favorite cleaner for this.

I advice to use the "DC" option in Gammac. You can prepare a special cleaned and cropped clip, name it "detect" for example and then use Gammac(DC=detect).

Also, on your example clip I have used Gammac(LockChan= -1).
This is very helpful to remove flickering. But then you must work scene by scene because you will have to set Lockval also. And Lockval will change from scene to scene.

And I always use ignore low and ignore high pixels with loTH and hiTh, always the same settings: 0.2 and 0.04.
This helps a lot to avoid unwanted effects.

The complete Gammac() code for your example clip was:

Code:
Gammac(DC=detect, x=0, y=0, w=0, h=0, LockChan= -1,\
 Lockval= 83, RedMul= 1.02, GrnMul= 1.02, BluMul= 0.98,\
Show= false, Verbosity=3, th=0, LoTh= 0.2, hiTh= 0.04,\
 SCALE=2, oMin=5, oMax=250)
I hope this is clear?

Fred.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest

Last edited by videoFred; 26th July 2019 at 15:31.
videoFred is offline   Reply With Quote
Old 27th July 2019, 09:34   #30  |  Link
Doorn9
Wouter van Doorn
 
Doorn9's Avatar
 
Join Date: Jul 2019
Location: Central Scotland
Posts: 13
Thank you, it is clear. The thresholds are ging to be very helpful. I'll try out the lockchan=-1 - that's what I had not yet found at the time.

I didn't mean to write that gammac introduced flickering! I hoped to say that gammac, if used right, could be used for DEflickering. I knew I'd read that *somewhere*, but couldn't find it at the time.

I always work scene by scene (I don't need the problems caused by various scene change detectors, and I also like to feed in extra frames at beginning and end of each clip. At the beginning I add the beginning, reversed, and at the end I add the end, also reversed. That often helps the stabiliser and also temporal passes that otherwise sometimes struggle at begin and end of clips.

For gammac, I do use a cleaned and cropped detect clip (I quickly found I had to!), and it works phenomenally well! I'll be using it a lot - initially for all clips, though for quite a few there are other ways I sometimes get better results.

It's all about the right tool for the right problem, and this is a tool I'll enjoy using! There's still a lot of experimenting to do with values for lockchan and lockval. The multipliers for the various colours I'll have to leave well alone as a consequence of colourblindness. Tweaking of colours is possible for me only by working with known grey points. That comes at a later stage, and works pretty well (though I still need someone to tell me if I make mistakes!).

Thank you (and StainlesS) so much for providing it!
__________________
Wouter

Doorn9 is offline   Reply With Quote
Reply

Tags
avisynth, colour-fault, super-8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.