View Full Version : Tricky PAL Cartoon Deinterlace
MDLuffy
28th September 2008, 03:46
Hi, I am trying to encode some MPG's of Rugrats from a PAL TV source, but I am having quite a difficult time deinterlacing these properly. I have dealt with some PAL TV toons before, and I have successfully deinterlaced them... but this one is a real pain and my settings just aren't producing good results. The best thing I have come up with so far is using decomb's telecide(), but it still leaves a lot of interlacing as well as jerky pan and zoom scenes.
I have tried loading it into MeGUI as well and running it through all of its avisynth script creator settings, but I am not having much luck.
Would someone care to take a look at this 13 MB 1 minute sample video file and report back any successful settings?
http://www.mediafire.com/file/ne0wmm22zyg/Rugrats 1 Minute PAL Sample.m2v
Zwitterion
28th September 2008, 04:23
Try:
Yadif(mode=1)
Srestore()
That will remove the interlacing and most of the blending while restoring the original frame rate of 23.976 fps.
You'll need Avisynth 2.57 for Srestore to work properly.
hartford
28th September 2008, 04:27
Hi, I am trying to encode some MPG's of Rugrats from a PAL TV source, but I am having quite a difficult time deinterlacing these properly. I have dealt with some PAL TV toons before, and I have successfully deinterlaced them... but this one is a real pain and my settings just aren't producing good results. The best thing I have come up with so far is using decomb's telecide(), but it still leaves a lot of interlacing as well as jerky pan and zoom scenes.
I have tried loading it into MeGUI as well and running it through all of its avisynth script creator settings, but I am not having much luck.
Would someone care to take a look at this 13 MB 1 minute sample video file and report back any successful settings?
http://www.mediafire.com/file/ne0wmm22zyg/Rugrats 1 Minute PAL Sample.m2v
You might try
http://forum.doom9.org/showthread.php?t=138305
Nightshiver
28th September 2008, 04:57
animeivtc(mode=2,iregion="PAL",oregion="PAL")
works. Note, choose which ever aa works best for you.
MDLuffy
28th September 2008, 06:10
Thanks for the replies guys!
Zwitterion: I tried to load your script, but I got an error about Srestore. I believe I had avisynth 2.56 installed, so I just installed 2.57 and now it keeps giving me an mpeg2source cannot be found error... I have loaded the plugin, so I dunno what happened. I'll mess with it though.
Nightshiver: I tried to use animeivtc but I cannot get all of the plugins to work. I followed the animeivtc guide and downloaded the plugin pack, and extracted all of them to my avisynth plugins folder... but it still complains about not being able to find plugin after plugin. Perhaps with installing/uninstalling avisynth so many times recently it has messed up the actual target for the plugins folder? I dunno. Is there some way I can manuall set what the plugins folder will be, or is it always just the "plugins" folder inside of the avisynth installation directory?
Nightshiver
28th September 2008, 15:13
Why don't you do this:
Uninstall AVisynth and backup your plugins folder.
Re-install avisynth.
Only put in the plugins needed to make Animeivtc work inside the plugins folder.
Use avisynth 2.5.7
45tripp
28th September 2008, 16:34
Uninstall AVisynth and backup your plugins folder.
Re-install avisynth.
Only put in the plugins needed to make Animeivtc work inside the plugins folder.
hehehe
ok...
just wanted to say that mrestore20 works across the board
of avisynth versions 2.57 and 2.58.
and if mpeg2source is not found,
check dgdecode is loading, load manually.
LoadPlugin("path\DGDecode.dll")
MDLuffy
28th September 2008, 16:44
I finally got Avisynth working again, this time with version 2.57. I also finally got animeivtc to work... after I extracted all of the required filters/plugins to the plugins folder, avisynth acted like it couldn't look inside of sub folders within the plugins folder, so I had to copy/paste all of the .dll files within the sub folders to the root plugins folder. That took a while. Anyhow, it's encoding now at < 1 FPS. Is it supposed to be this slow? It's estimating about 2 hours to encode 2 minutes of video.
45tripp: I'll have a look at mrestore20
Zwitterion: I would still like to try out your settings, but even with avisynth 2.57 I get, "script error: there is no function named 'Srestore' " -- How do I get it to work?
45tripp
28th September 2008, 17:23
Is it supposed to be this slow?
oh yes...
change precision
Zwitterion: I would still like to try out your settings, but even with avisynth 2.57 I get, "script error: there is no function named 'Srestore' " -- How do I get it to work?
manually import the script.
import("path/srestore.avs")
or ry autoloading by renaming to srestore.avsi and putting in the plugins directory.
tripp
Nightshiver
28th September 2008, 17:44
If you want encoding to go faster, do a rendering pass in MeGUI. And yes, it should have been a given that you would have had to extract all the seperate dll's from the folders, because avisynth can't read all of those folders and whats inside.
MDLuffy
28th September 2008, 18:29
Where can I get srestore at? I tried searching on google for restore.avs and srestore.avsi but I didn't get any results. EDIT: NM, found it by searching here on the forum.
Nightshiver: Sorry, I did not know that about plugins. I just assumed it could read them inside of other folders.
EDIT 2: Alright, I have tried out all three settings provided so far. When comparing the results frame by frame, they all came out looking very similar. However, mrestore runs a lot faster than the others. None of them were able to get rid of all of the blends or scene change ugliness (not sure the term for this lol), but they are all acceptable. It would be nice if even more could be done to make the blends go away without making the video jerky while panning or zooming.
MOmonster
29th September 2008, 09:29
In your sample the blend detection isn't so hard. There are no low motion scenes and most parts are 12fps. That is why mrestore and srestore perform really similar.
Indeed the real blends are removed, what is left I would call blend artefacts. The restoring function can't do anything against the blocky pans and the full motions parts with similar artefacts.
But with a better dup functionality the 12fps parts and the scenechanges can be improved.
I will use you sample for testing the next srestore release.
MDLuffy
29th September 2008, 15:39
Sounds good MOmonster. If anyone can come up with some better settings, I would greatly appreciate it! If needed, I can provide more/longer samples. Just let me know.
MDLuffy
4th October 2008, 23:49
I'm still having trouble getting these to look any better (deinterlace/ivtc wise). Isn't there something else that can be done to this source?
Nightshiver
5th October 2008, 00:00
Get a different source if you want it to get better. PAL sucks.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.