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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Mar 2010
Posts: 115
|
how to remove ghosting, missing frames with gknot / how to make good ivtc
hi, i am a new user here and i found these forums through google in search of a solution for my problem.
i want to make a dvdrip from a dvd disc, but i get that rip with some bad quality with ghosting in entire movie. here's a screenie: <<edited>> the dvd source is dvd5 and its interlaced. i use gknot. progressive source dvds rips are fine. i tried kernel deinterlace, field deinterlace and field deinterlace (no blend) - same result - ghosting. so i wonder is that possible to remove that ghosting or is there no way to do that? please help. thank you. Last edited by rhaz; 19th October 2010 at 17:09. Reason: updated. new problems |
![]() |
![]() |
![]() |
#2 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
If it's a result of a PAL2NTSC or NTSC2PAL conversion using field blending, then you use an unblender on it, ones such as RePAL or SRestore. To be sure though, we'll need a small piece of the source, maybe 10 seconds showing steady movement. A picture alone is next to useless.
|
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Mar 2010
Posts: 115
|
i don't quite understand what you mean manono 'result of a PAL2NTSC or NTSC2PAL'. i just demux dvd to m2v with pgcdemux and rip it with gknot to .avi. the dvd is pal. settings are the same you said CWR03.
the source/sample <<edited>> Last edited by rhaz; 5th May 2010 at 08:38. |
![]() |
![]() |
![]() |
#5 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
I said 10 seconds was plenty and you give me 47 seconds with 3 unneeded audio tracks still attached. It's field blended NTSC to PAL and this handles it fine:
Yadif(Order=1,Mode=1)#or your favorite bobber SRestore() You'll have to edit the GKnot produced AviSynth script to add in the new filters before sending it to be encoded: http://forum.doom9.org/showthread.php?t=95924 http://avisynth.org/mediawiki/Srestore |
![]() |
![]() |
![]() |
#7 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
Here's a sample script:
LoadPlugin("C:\Path\To\DGDecode.dll") LoadPlugin("C:\Path\To\MaskTools2.dll") LoadCPlugin("C:\Path\To\Yadif.dll") LoadPlugin("C:\Path\To\TIVTC.dll") LoadPlugin("C:\Path\To\Average.dll") LoadPlugin("C:\Path\To\RemoveGrain.dll") Import("C:\Path\To\SRestore.avs") MPEG2Source("C:\Path\To\Movie.d2v") Yadif(Order=1,Mode=1) SRestore() Note that for Yadif you're loading a 'C' plugin. It can be found here: http://avisynth.org/warpenterprises/ The other needed filters you either already have because of GKnot, or are linked at the AviSynth SRestore page. Test your scripts in VDub(Mod), and if you get errors you don't understand or can't fix, report them together with the complete script you're using. |
![]() |
![]() |
![]() |
#9 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
It's regular old Yadif for which I gave you the link. You just have to write in 'LoadCPlugin' instead of the regular 'LoadPlugin'. Actually, there are 2 ways to load Yadif. Read the enclosed doc for more information.
|
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Mar 2010
Posts: 115
|
ok there's a script:
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\UnDot.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\mt_masktools-25.dll") LoadCPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Yadif.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\TIVTC\TIVTC.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Average_v11\src\Release\Average.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\RemoveGrain.dll") Import("C:\Program Files\GordianKnot\AviSynthPlugins\SRestore.avs") MPEG2Source("C:\movie\VideoFile.d2v") Yadif(Order=1,Mode=1) SRestore() mpeg2source("C:\movie\VideoFile.d2v") crop(2,72,716,430) LanczosResize(640,256) Undot() and the final result is 1.05gb instead of 700mb :/ Last edited by rhaz; 23rd April 2010 at 07:31. |
![]() |
![]() |
![]() |
#12 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
Since the original question was about the ghosting, can we assume there's no more (or very little) ghosting remaining? You have 2 MPEG2Source lines in there and I'm not sure what happens there. In any event, the second one should have been removed.
And now you're switching questions to one about why you came out oversized? If so, post the log. Oh, and the next time you post a GKnot generated AviSynth script, delete all lines beginning with '#' since they've been commented out and do nothihng. Last edited by manono; 22nd April 2010 at 22:59. |
![]() |
![]() |
![]() |
#14 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
Oh, so it was the second MPEG2Source line that was responsible somehow for ballooning the size? Yeah, your script looks good now. And by removing the commented out lines it makes it easier for you to understand that's going on. Good going!
|
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: Mar 2010
Posts: 115
|
okay im here again. seems its not all. im still having problems with the size. i tried to rip another movie with size settings 700mb and i got first time 838mb and another time 752mb. why?
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\UnDot.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\mt_masktools-25.dll") LoadCPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Yadif.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\TIVTC\TIVTC.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Average_v11\src\Release\Average.dll") LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\RemoveGrain.dll") Import("C:\Program Files\GordianKnot\AviSynthPlugins\SRestore.avs") mpeg2source("C:\movie\VideoFile.d2v") Yadif(Order=1,Mode=1) SRestore() crop(14,0,692,572) LanczosResize(480,368) Undot() and here is the log file: http://pastebin.com/BCRhEN3H |
![]() |
![]() |
![]() |
#18 | Link |
Custom User Title
Join Date: Mar 2005
Posts: 3,733
|
Try simply running your source through DGIndex and set Video > Field Operation > Honor Pulldown Flags, then in Gordian Knot use Kernel Deint, but click Edit and change the line "KernelDeInt(order=1,sharp=true)" to read "KernelDeInt(order=0,sharp=true)". You should get smooth playback and no blended frames.
|
![]() |
![]() |
![]() |
#20 | Link | |||
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
Both scripts change the framerate from 25 to 23.976fps because the DVDs took an NTSC film source and converted it to PAL DVD by field blending it. Are you sure the second one is of the same type as the first? You should only use scripts like that if you know what you're doing. If you're not sure what you have, post another sample.
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
Tags |
deinterlace, ghosting, interlace, shifted field |
Thread Tools | Search this Thread |
Display Modes | |
|
|