Took a jab at restoring an old music video again... everything was going good until I hit a roadblock. I do not know how to remedy these three artifacts seen in the pics below.
1
[Attachment 52297 - Click to enlarge]
2
[Attachment 52298 - Click to enlarge]
3
[Attachment 52299 - Click to enlarge]
And here is my AviSynth script so far:
Code:FFmpegSource2("1.vob") tfm(mode=4) tdecimate() MosquitoNR(strength=16, restore=128, radius=2, threads=0) smdegrain() Lanczos4Resize(720,540) sharpen(.4)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 19 of 19
Thread
-
-
try qtgmc after this:
qtgmc("slower",inputtype=1,border=true,denoiser="d fttest",edithreads=2)
or:
qtgmc("slower",inputtype=1,EZDenoise=3,denoiser="d fttest",TR2=2,ChromaMotion=true, border=true,ChromaNoise=true,DenoiseMC=true,GrainR estore=0.5,edithreads=4)*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
-
Your last bet would be frame interpolation: you create a new frame by using 2 adjacents frames. You'll need SvPFlow plugin (and load both dll svpflow1.dll, svpflow2.dll)
avisource()
ReplaceFramesSVPFlow(1968,1) # 1st argument: number of image, 2nd: duration
# script:
function ReplaceFramesSVPFlow(clip Source, int N, int X)
{
# N is number of the 1st frame in Source that needs replacing.
# X is total number of frames to replace
#e.g. ReplaceFramesSVPFLow(101, 5) would replace 101,102,103,104,105 , by using 100 and 106 as reference points for SVPFlow interpolation
start=Source.trim(N-1,-1) #one good frame before, used for interpolation reference point
end=Source.trim(N+X,-1) #one good frame after, used for interpolation reference point
start+end
AssumeFPS(1) #temporarily FPS=1 to use mflowfps
super=SVSuper("{gpu:1}")
vectors=SVAnalyse(super, "{}")
SVSmoothFps(super, vectors, "{rate:{num:"+String(X+1)+", den:1}}", url="www.svp-team.com", mt=1).Subtitle("SVPFlow")
AssumeFPS(FrameRate(Source)) #return back to normal source framerate for joining
Trim(1, framecount-1) #trim ends, leaving replacement frames
Source.trim(0,-N) ++ last ++ Source.trim(N+X+1,0)
}*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
I thought he AviSynth plugin is free.
https://www.svp-team.com/files/gpl/svpflow-4.3.0.168.zip -
-
only change what's in bold : ReplaceFramesSVPFlow(1968,1)
here that's an example frame 1968 will be replaced (by an interpolated frame)
if you want to replace frame 1968 and 1969 >>ReplaceFramesSVPFlow(1968,2)
etc...*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
-
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
-
-
Ok. The sample is attached below.
Its very short because the rest of the video has some rather lewd sequences in it, but it contains all the artifacts appearing in the screenshots above. -
To get rid of the blending start with:
Code:QTGMC() # or Yadif(mode=1) or your favorite bob deinterlacer SRestore()
[Attachment 52334 - Click to enlarge]
You can blur those away if you can figure out how to isolate them -
Yes! Tried it out seemed to have fixed the blending. Thanks. Only problem is now I get a bouncy or jerky type motion sometimes which fluctuates depending on which field order I assume...
EDIT: If I use Yadif instead of QTGMC, the jerkiness goes away.. but my golly does Yadif look like trash compared to QTGMC.Last edited by embis2003; 12th Mar 2020 at 21:39.
-
What source filter are you using? For MPG/VOB you should use DgIndex to build an index then open the video via that index file with Mpeg2Source("filename.d2v"). That source filter is very good at handling out-of-order frame requests. QTGMC() in a situation like this is very likely to make out-of-order requests. Mpeg2Source() will automatically set the field order too. But your source is TFF so it wouldn't hurt to put AssumeTFF() right after Mpeg2Source().
Also, SRestore() can take several/many frames to lock onto the unblended frames. It doesn't work well if you random seek around the video in an editor. But it should work well when you encode the video from start to end. -
Similar Threads
-
Weird artifacts on video removal
By killerteengohan in forum RestorationReplies: 17Last Post: 2nd Mar 2020, 15:31 -
Video artifacts - De-interlacing.
By shans in forum Video ConversionReplies: 20Last Post: 22nd Sep 2018, 09:50 -
Weird artifacts on firewire capture but not on s-video!
By Bassquake in forum CapturingReplies: 5Last Post: 28th Aug 2018, 07:41 -
Weird Artifacts when extracting video frames to png in ffmpeg
By Blackcero in forum Newbie / General discussionsReplies: 10Last Post: 7th Jul 2018, 11:32 -
Weird artifacts when converting from MKV to MP4 in Handbrake/Mediacoder
By fighuass in forum Video ConversionReplies: 4Last Post: 1st Apr 2015, 01:01