VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. 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!
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by starlight2000
    The source is interlaced NTSC Looney Tunes golden collection DVDR.
    Quote Quote  
  3. Originally Posted by hech54
    Originally Posted by starlight2000
    The source is interlaced NTSC Looney Tunes golden collection DVDR.
    I'm sorry mate, have you read the script i've used?
    Edit: just saw you bolded DVDR? are you new to that, it means DVD Retail!
    Quote Quote  
  4. Originally Posted by starlight2000
    decimate(25)
    TFM()
    You decimate after the field matching, not before. The correct way (after making the D2V using 'Honor Pulldown Flags') is:

    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.
    Quote Quote  
  5. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by starlight2000
    Edit: just saw you bolded DVDR? are you new to that, it means DVD Retail!
    Of course it does.
    Quote Quote  
  6. 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
    Quote Quote  
  7. 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)
    This is the same frame you showed above. You might want to add crop or resize or tidy up the script, as later segments show black borders


    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
    Quote Quote  
  8. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by starlight2000
    If you think DVDR is a word used ONLY by p2p pirates, well you are wrong
    I never said such nonsense....DVDR.....99.99% of the time means DVD "recordable".
    Quote Quote  
  9. 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...
    Quote Quote  
  10. 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
    Quote Quote  
  11. Thanks again, i'll do more research!!!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!