Hi, i know this forum for a while, answering all my google searches, this and doom9, and just decided to register.
I'm still a newb with avisynth and I really need your help with this script. The source is interlaced NTSC Looney Tunes golden collection DVDR.
I have an encode here of how someone's video looks like and can't contact him to see what he used, so here it is:
his 34 mb mkv sample with audio removed by me: http://www.mediafire.com/download.php?4cn0um5mnlj
this is a small demuxed sample from the dvd: http://www.mediafire.com/download.php?fke2zdrkmln
and this is the avs filters i tried to use to make it as sharpen as he did and get that hig quality:
MPEG2Source("TS_05_1.d2v", cpu=0)
decimate(25)
TFM()
Loadplugin("aWarpSharp.dll")
aWarpSharp(2,2)
toon()
Loadplugin("TIsophote.dll")
TIsophote(1,0.0)
LanczosResize(704, 528)
The picture looks very good, but from time to time I get jagged lines, why is this hapening? I googled for jagging problems and tried some antializing filters but failed, they still look jagged. Also tried AnimeIVTC but wasted 2 hours and never managed to get it right to load.
I also did some screenshots:
Jagged frames like this come from time to time on my encoding, but the rest most of them are fine, still they are bugging me when watching: http://img293.imageshack.us/img293/9391/jagg.jpg
And this is how perfect all his frames look like: http://img522.imageshack.us/img522/2143/22222222p.jpg
It's amazing what he did to keep the picture so sharpen, it looks so perfect even when i use the Sharpen shader in MPC-HC, and my encode looks retarded if i set that, also can't figure out how such a low bitrate looks so perfect.
Sorry for the long post and bad english, I hope I've explained exactly what i'm trying to do.
I really need your help, thanks in advance!
+ Reply to Thread
Results 1 to 11 of 11
-
-
Originally Posted by hech54
Edit: just saw you bolded DVDR? are you new to that, it means DVD Retail! -
Originally Posted by starlight2000
TFM(D2V="C:\Path\To\Video.d2v")
TDecimate()
And you don't decimate one in 25 frames, but one in 5, to restore it to 23.976fps. -
Thanks for the advice manono, but shapes are still jagged
And hech54: the reason i wrote DVDR is not to be confused with Bootleg DVD source or other DVD type. If you think DVDR is a word used ONLY by p2p pirates, well you are wrong and this has nothing to do with this thread, roll your eyes on the window -
manono is right: No jaggies when you return it to 23.976 film, at least on the sample you uploaded
Code:MPEG2Source("VTS_05_1.demuxed.d2v") TFM().TDecimate() MVDegrain() Deen() FFT3DFilter(sigma=5) Deen() Toon(strength=0.8) LSFMod() Tweak(sat=1.2)
That person who encoded the .mkv did some other weird stuff, because there is some bizarre frame rate in the .mkv sample you uploaded. He might have done a vfr encode with decimated unique frames -
Originally Posted by starlight2000
-
Just finished compiling the plugins and here is my new screenshot:
I want to thank you poisondeathray for your script, this is an amazing favour you just did for me !!! It's perfect.
One thing I'm too dumb to understand... the fps thing you guys mentioned, how do I return it to 23.976 film ? i'm using AVSP, is there any line to write for that or anything? How about the audio, if it's NTSC on the dvd, and I mux it with FILM video, would this be ok?
Also is this ok to research on what you said that guy did with vfr? it doesn't sound like it worths the trouble, maybe that's how he got the low size and bitrate too, but that doesn't really matter for me, the quality is more important
Edit: Mediainfo tells me it's encoded at 23.976, I guess it's all good... -
You should read up on film vs. video and telecine for NTSC, and fields vs. frames. Start with the glossary here on videohelp
https://www.videohelp.com/glossary?T#Telecine
https://www.videohelp.com/glossary?P#PULLDOWN
The source material in this example is film which is 23.976, and it was telecined (or pulldown applied) to 29.97 for DVD. You will find most modern Hollywood cartoons and movies will be film
To return it back to it's original state, you have inverse telecine (IVTC).
Here is a guide for determining if it's interlaced vs. telecined etc... you can do it in AvsP or vdub
http://neuron2.net/faq.html#analysis
DO NOT rely on mediainfo, because it just reads the header and is often wrong. Similary, the autoanalysis tools are often wrong as well. ALWAYS look at the source and go through the manual process
Sometimes there are breaks in the pattern or bizarre patterns, but this one is consistent 3-2 pattern. If you get the weird ones, then that's when you call in help from the experienced guys like manono, and jagabo and some others
And yes, doing a proper VFR encode is difficult to do, but there are guides if you search, especially the anime forums
Cheers
Similar Threads
-
VirtualDub filter to insert video from another source into a corner?
By Riothamus in forum EditingReplies: 2Last Post: 6th Jun 2011, 07:51 -
Sophisticated filter for fixing VHS source color bleeding: Done already?
By Mini-Me in forum RestorationReplies: 0Last Post: 24th Nov 2010, 12:05 -
Directshow Source Filter Issue
By kakskulkarni in forum ProgrammingReplies: 0Last Post: 30th Jun 2010, 18:25 -
transforming xFormOut into a source filter for VLC
By roypenn in forum Newbie / General discussionsReplies: 0Last Post: 3rd Dec 2008, 03:59 -
filter vibration when re-encoding
By mrgain in forum Capturing and VCRReplies: 4Last Post: 8th Jun 2007, 23:26