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. |
17th July 2019, 12:03 | #1283 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Only layer scrathes can be made (temporal) invisible with wetgate.
Unfortunately emulsion damage can not be fixed with wetgate. (See also my turorial on Youtube) However, if the emulsion damage change for frame to frame, then Removedirt() might remove it. Otherwise you will have to look for other solutions. 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 |
17th July 2019, 21:27 | #1284 | Link | |
Registered User
Join Date: Oct 2018
Posts: 10
|
Quote:
Which isnt an issue with 64-bit. The GPU helps a bit with speed but not much, ill post a comparison though. |
|
9th August 2019, 13:22 | #1285 | Link |
Remco Jansen
Join Date: Aug 2019
Location: Netherlands
Posts: 15
|
Hi everyone,
I've only recently stumbled upon all the wonderful stuff you guys have created here when trying to restore some digitized Fuji Single 8 family movies. Unfortunately my dad threw away the original movies after he'd had them restored so I had to make do with the MPG files I extracted from the DVD. After removing duplicate frames and trimming some of the uglier splices I managed to get some pretty decent results with Fred's scripts to start out with and later on with John's scripts. But of course I wouldn't be posting here if I didn't have any question. From what I read in the threads here GamMac is preferably used with a detect clip as this creates a more subtle / less harsh color correction. Unfortunately I've found that a lot of the movies I'm fixing have whites that are tinged pink-ish. GamMac without a detect clip seems to fix these fine: with the detect clip the pink tinge remains although not a strong as before: Of course the easy answer is to just go without the dc, but on some of the other scenes I find the color better with dc. Is this expected behaviour, or am I doing something wrong here? Or should I adjust my workflow and fix the movies scene by scene (not something I'm looking forward to tbh) Cheers and thanks for creating all these great scripts! Remco |
9th August 2019, 14:32 | #1286 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Hi Remco, welcome here
What DC clip have you used? 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 |
9th August 2019, 15:34 | #1287 | Link |
Remco Jansen
Join Date: Aug 2019
Location: Netherlands
Posts: 15
|
I used this one from John's version of your script:
Code:
Baseclip = PreBorderFrame.crop(borderV,borderH,-borderV,-borderH,align=true).bicubicresize(W,H) blank_black = Blankclip(baseclip, width=autolev_bord1,height=autolev_bord1) blank_white= Blankclip(baseclip, width=autolev_bord1,height=autolev_bord1, color=$FFFFFF) Average= baseclip.FredAverage().invert() over1 = overlay(baseclip,blank_black, x=40,y=300) over2 = overlay (over1,blank_white, x=160, y=300) \ .bicubicresize(width(baseclip)-(al2)*2,height(baseclip)-(al2)*2) Detect = (al2 >1) ? overlay (Average, over2,x=al2,y=al2) \ .converttoRGB24(matrix="rec709") : over2.converttoRGB24(matrix="rec709") Cheers, Remco |
9th August 2019, 15:55 | #1288 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Hmmmm... yes, I must take a closer look at John's version.
Can you upload an example clip? 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 |
10th August 2019, 11:45 | #1291 | Link |
Remco Jansen
Join Date: Aug 2019
Location: Netherlands
Posts: 15
|
Ok, found time to prepare two clips:
pink clip purple clip Both clips clean up to good white balance without using a DC, and keep the pink/purple tinge with DC. I'm using FredAverage_25&26_x86_x64_dll_v0.03_20190115 Ciao, Remco |
10th August 2019, 14:31 | #1292 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Not that many versions really,
Code:
FredAverage_26_dll_v0.01_20170414.zip FredAverage_25&26_x86_x64_dll_v0.02_20190115.zip FredAverage_25&26_x86_x64_dll_v0.03_20190115.zip /* v0.01, First release. 2.60 only. v0.02, 15 Jan 2019. Moved to VS2008, Added Version Resource + v2.58 + x64. Added bool arg TV_YUV; v0.03, 15 Jan 2019. BugFix version, fixed TV_YUV rounding. # Same day fix */ Code:
TV_YUV, Default false, If True(And YUV), then photo negative invert around TV levels mid Y(125.5), rather than 127.5. TV Levels Y Mid point = (16 + 235) / 2.0 = 125.5. [ Same as (235-16) / 2.0 + 16.0 = 125.5 ] EDIT: So, for Avs YUV TV_Levels Invert() filter is really a bit wrong, as invert is around 127.5 [0->$FF, $FF->0, $7F->$80, $80->$7F]. Maybe Invert() Filter should have something like TV_YUV arg, default false. [ignored for RGB] EDIT: Code:
G1=BlankClip(Width=128,height=64,Pixel_Type="YV12",Color_YUV=$7F8080) G2=G1.Invert G3=G2.Invert B=G1.BlankClip(height=8) G1=G1.RT_Subtitle("$%02X",G1.RT_YPLaneMin(n=0)) G2=G2.RT_Subtitle("$%02X",G2.RT_YPLaneMin(n=0)) G3=G3.RT_Subtitle("$%02X",G3.RT_YPLaneMin(n=0)) StackVertical(G1,B,G2,B,G3) Fred Average same as Invert Code:
TV_YUV=False G1=BlankClip(Width=128,height=64,Pixel_Type="YV12",Color_YUV=$7F8080) G2=G1.FredAverage(Invert=true,TV_YUV=TV_YUV) G3=G2.FredAverage(Invert=true,TV_YUV=TV_YUV) B=G1.BlankClip(height=8) G1=G1.RT_Subtitle("$%02X",G1.RT_YPLaneMin(n=0)) G2=G2.RT_Subtitle("$%02X",G2.RT_YPLaneMin(n=0)) G3=G3.RT_Subtitle("$%02X",G3.RT_YPLaneMin(n=0)) StackVertical(G1,B,G2,B,G3) FredAverage Y=125($7D) TV_YUV=False (same as Invert) [For TV Levels is WRONG-ish] Code:
TV_YUV=False G1=BlankClip(Width=128,height=64,Pixel_Type="YV12",Color_YUV=$7D8080) G2=G1.FredAverage(Invert=true,TV_YUV=TV_YUV) G3=G2.FredAverage(Invert=true,TV_YUV=TV_YUV) B=G1.BlankClip(height=8) G1=G1.RT_Subtitle("$%02X",G1.RT_YPLaneMin(n=0)) G2=G2.RT_Subtitle("$%02X",G2.RT_YPLaneMin(n=0)) G3=G3.RT_Subtitle("$%02X",G3.RT_YPLaneMin(n=0)) StackVertical(G1,B,G2,B,G3) FredAverage Y=125($7D) TV_YUV=true (TV mid Y = 125.5, 125[$7D]->126[$7E], 126[$7E]->125[$7D] ) Code:
TV_YUV=True G1=BlankClip(Width=128,height=64,Pixel_Type="YV12",Color_YUV=$7D8080) G2=G1.FredAverage(Invert=true,TV_YUV=TV_YUV) G3=G2.FredAverage(Invert=true,TV_YUV=TV_YUV) B=G1.BlankClip(height=8) G1=G1.RT_Subtitle("$%02X",G1.RT_YPLaneMin(n=0)) G2=G2.RT_Subtitle("$%02X",G2.RT_YPLaneMin(n=0)) G3=G3.RT_Subtitle("$%02X",G3.RT_YPLaneMin(n=0)) StackVertical(G1,B,G2,B,G3) EDIT: And just for good measure, (16=$10, 235 =$EB) FredAverage Y=16($10) TV_YUV=true (TV mid Y = 125.5, 16[$10]->235[$EB], 235[$EB]->16[$10] ) Code:
TV_YUV=True G1=BlankClip(Width=128,height=64,Pixel_Type="YV12",Color_YUV=$108080) G2=G1.FredAverage(Invert=true,TV_YUV=TV_YUV) G3=G2.FredAverage(Invert=true,TV_YUV=TV_YUV) B=G1.BlankClip(height=8) G1=G1.RT_Subtitle("$%02X",G1.RT_YPLaneMin(n=0)) G2=G2.RT_Subtitle("$%02X",G2.RT_YPLaneMin(n=0)) G3=G3.RT_Subtitle("$%02X",G3.RT_YPLaneMin(n=0)) StackVertical(G1,B,G2,B,G3) EDIT: Code:
if(invert) { // invert ? if(tvy) { ave = int(-(ave_D - 125.5) + 125.5 + 0.5); // TV_YUV Y mid = 125.5, invert, and Round } else { ave = int(ave_D + 0.5) ^ 0xFF; // PC_YUV Y mid = 127.5, symmetrical about 127.5 } } else { Invert() filter + FredAverage(TV_YUV=false), both mid Y = 127.5, symmetrical about 127.5. FredAverage(TV_YUV=True), mid Y = 125.5, symmetrical about 125.5.
__________________
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 ??? Last edited by StainlessS; 10th August 2019 at 16:10. |
11th August 2019, 10:05 | #1293 | Link |
Registered User
Join Date: Jan 2012
Location: Toulon France
Posts: 249
|
Hi Rjansen1,
An other way based on Stainlesss plugins. I tried quickly my script on your videos. https://forum.doom9.org/showthread.p...28#post1881328 The first seem in accordance with default args : https://i.postimg.cc/J4NWdYTV/frame-65.png The secund need spimd args tune and manual spow action, thus with r_spmid = 0.2 , g_spmid = 0.5, b_spmid = 0.8 and g_spow = 0.8 : https://i.postimg.cc/d07HgLqk/frame-45.png Last edited by Bernardd; 11th August 2019 at 10:08. |
11th August 2019, 12:28 | #1294 | Link | |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Quote:
So, in your case, I advice to use a DC clip without FredAverage(). 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 |
|
11th August 2019, 12:31 | #1295 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Good results Bernardd! Gammac() gives very similar results.
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 |
11th August 2019, 14:59 | #1296 | Link | |
Remco Jansen
Join Date: Aug 2019
Location: Netherlands
Posts: 15
|
Quote:
@Bernardd: I'll also give your script a go! Greetings, Remco |
|
11th August 2019, 15:16 | #1297 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
__________________
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 ??? |
|
13th August 2019, 08:27 | #1298 | Link |
Remco Jansen
Join Date: Aug 2019
Location: Netherlands
Posts: 15
|
@Bernardd: tried replacing Gammac with your script and found that it gives good results on some scenes, but then again worse results on others. Also it doesn't seem to work multithreaded. Is that correct?
I guess there's no magic bullit and in the end it's a matter of selecting the method that works good for 80% of the movie and fix the other bits using different methods. From what I read that's what you guys do as well Cheers, Remco |
13th August 2019, 13:24 | #1300 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Haha I do my best with a little help from.... my friends no I mean Google.
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|