I have a PAL DVD (25 FPS) with interlacing problems. I don't know what the real problem is. Frame blending? Ghosting? We can see the effect in the capture when the girl moves.
[Attachment 35760 - Click to enlarge]
I want to know how to deinterlace the video with an Avisynth script (maybe with plugin Srestore, but I don't know how to use it)
Any help would be appreciated
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 14 of 14
Thread
-
-
Yadif(Mode=1)###or the better QTGMC
Srestore()
But it doesn't do all that good of a job as there's just a massive amount of field-blending in it. -
-
Thanks, but I am newbie and I don't know how to write an Avisynth script, sorry. I'm using Windows XP SP2 32 bits and I've tried this:
Load_Stdcall_Plugin("C:\AviSynth\plugins\Yadif.dll ")Yadif(Mode=1)###or the better QTGMC
Srestore()
Result:
Script error: Invalid arguments to function "Yadif"
Then, I've tried this:
LoadCplugin("C:\AviSynth\plugins\Yadif.dll")Yadif( Mode=1)###or the better QTGMC
Srestore()
Result:
Script error: Invalid arguments to function "Yadif"
Then:
Load_Stdcall_Plugin("Yadif.dll")Yadif(Mode=1)###or the better QTGMC
Srestore()
Result:
Script error: Invalid arguments to function "Yadif"
Then:
LoadCplugin("Yadif.dll")Yadif(Mode=1)###or the better QTGMC
Srestore()
Result:
Script error: Invalid arguments to function "Yadif"
Then:
Load_Stdcall_Plugin("Yadif.dll")Yadif(Mode=1)
Srestore()
Result:
Script error: Invalid arguments to function "Yadif"
Then:
Load_Stdcall_Plugin Yadif(Mode=1)
Srestore()
Result: Avisynth open failure: I don't know what "Load_Stdcall_Plugin" means
How can I write the script? -
Thank you for your help.
I used these scripts:
SCRIPT 1:
FFMpegSource2("C:\VIDEO2.vob")
Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll")
Yadif(mode=1)
SCRIPT 2:
FFMpegSource2("C:\VIDEO2.vob")
Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll ")
Yadif(Mode=1)###or the better QTGMC
Srestore()
I do not know if they really work because I got three errors when I load them, as I said in a post about resizing:
This application has failed to start because d3dx9_30.dll was not found. Reinstall the application may fix that problem.
This application has failed to start because MSVCP110.dll was not found. Reinstall the application may fix that problem.
This application has failed to start because MSVCR110.dll was not found. Reinstall the application may fix that problem.
Can anyone try these scripts? Do you see "VIDEO2" the same way I do? I still see the same ghosting on the video.
Is it impossible to get rid of the massive amount of field-blending or ghosting on this video? -
Most people open DVD video using MPEG2Source. Read the docs included with the DGMPGDec package and try again. That's how I and many, if not most, people open DVD video.
Is it impossible to get rid of the massive amount of field-blending or ghosting on this video? -
I think it could be possible with McTemporaDenoise:
FFMpegSource2("C:\VIDEO2.vob")
Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll")
Yadif(mode=1, order=1)
SRestore(frate=23.976, thresh=35)
McTemporalDenoise(settings="very high")
But when I try to load the script I get this error:
Avisynth open failure:
Import:UTF-8 source files are not supported, re-save script with ANSI encoding! : "Deblock_QED_MT2.avsi"
I save on Notepad with ANSI and .avs, I don't understand where the problem is. -
-
I have resolved the problem, all I had to do was delete the file Deblock_QED_MT2.avsi.
Well, I've found here a similar case with ghosting (but with animation):
https://forum.videohelp.com/threads/361206-Frame-Blending-Ghosting-Bad-Interlacing-Help
I used the script by Jagabo with the video file "Trigun.m2v"
Code:Mpeg2Source("C:\BC\Trigun.d2v", CPU=6, Info=3) RequestLinear(rlim=50,clim=50) Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll") Yadif(mode=1, order=1) Crop(10,2,-6,-0).AddBorders(8,2,8,0) SRestore(frate=23.976, thresh=35) McTemporalDenoise(settings="very high") Toon(0.5)
Code:Mpeg2Source("C:\BC\Trigun.d2v", CPU=6, Info=3) Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll") Yadif(mode=1, order=1) Crop(10,2,-6,-0).AddBorders(8,2,8,0) SRestore(frate=23.976, thresh=35) McTemporalDenoise(settings="very high")
Code:Mpeg2Source("C:\VIDEOS\VIDEO2.d2v", CPU=6, Info=3) Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll") Yadif(mode=1, order=1) SRestore(frate=23.976, thresh=35) McTemporalDenoise(settings="very high")
-
Let's go with another situation, a transition.
On the image we can see two shots at the same time (due to the interlace, this is not a dissolve. You can see
it on the original "video3", frame by frame):
[Attachment 36082 - Click to enlarge]
And, of course, there is a massive amount of ghosting when the woman moves:
[Attachment 36083 - Click to enlarge]
We can see "the double woman" better here:
[Attachment 36084 - Click to enlarge]
With the other situation, the girl on the bed, the script I used is almost good:
Code:Mpeg2Source("C:\VIDEO\VIDEO3.d2v", CPU=6, Info=3) Load_Stdcall_plugin("c:\AviSynth\plugins\yadif.dll") Yadif(mode=1, order=1) SRestore(frate=23.976, thresh=35) McTemporalDenoise(settings="very high")
-
You'll get blending at scene changes even if the script otherwise works pretty well.
Something like this added after the SRestore line:
A=Last
prev = A.selectevery(1,-1)
next = A.selectevery(1,1)
SCclean = A.SCSelect(next,prev,A,dfactor=2.0) # 2.0 ~ 5.0
return(SCclean)
Works to FreezeFrame the blending, but it will do it on both sides of the scene change, whether it's blended or not. And it might do it from time to time elsewhere as well. Unless you're willing to go through the video frame-by-frame (as I do), you may as well not even worry about it.
To work, the code above needs the RemoveDirt.dll.
Your source has way too much blending for any unblender to remove it all. About all you can hope for is that it plays smoothly.
Similar Threads
-
4-way interlacing
By agni451 in forum EditingReplies: 1Last Post: 13th Mar 2015, 10:13 -
De-interlacing and de-blending help please
By hello_hello in forum Video ConversionReplies: 3Last Post: 10th Feb 2015, 06:31 -
Interlacing removal
By TreeTops in forum EditingReplies: 10Last Post: 27th Mar 2014, 09:21 -
Frame Blending/Ghosting/Bad Interlacing Help
By EddyBund in forum RestorationReplies: 7Last Post: 2nd Jan 2014, 13:03 -
Record without interlacing.
By crissrudd4554 in forum CapturingReplies: 61Last Post: 9th Oct 2013, 23:01