VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    Does anyone know a filter specifically for this? I have encodes for a cartoon that I want to fix. They are otherwise good quality but suffer from jaggies in certain scenes. I was wondering if there was a way to get rid of them. I don't have the original source, so basically this is what I have to work with.

    Here is an example: http://www.freeimagehosting.net/newuploads/uzhgf.jpg

    Any suggestions?
    Quote Quote  
  2. They are very hard to ameliorate. It's best not to get them in the first place. IVTC film sources. Use a better deinterlacer (if you really need to deinterlace). If your source has already been deinterlaced like that try to find a better source.

    As a last resort try nnedi3_rpow2() in AviSynth. Before and after:

    Click image for larger version

Name:	nnedi3.jpg
Views:	2372
Size:	78.4 KB
ID:	13561

    Code:
    ImageSource("uzhgf.jpg") 
    
    SeparateFields()
    SelectOdd() # keep the better one
    
    nnedi3_rpow2(2, cshift="BicubicResize", fwidth=640, fheight=480)
    You'll still have some buzzing edges when in motion.
    Last edited by jagabo; 20th Aug 2012 at 17:23.
    Quote Quote  
  3. Originally Posted by LadyLiete View Post
    A better example would be some of the video. But as jagabo mentioned, if some idiot has already wrecked it, trying to find a better source is the best solution. You might even (gasp!) buy the DVD if you like it so much.
    Quote Quote  
  4. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    They are very hard to ameliorate. It's best not to get them in the first place. IVTC film sources. Use a better deinterlacer (if you really need to deinterlace). If your source has already been deinterlaced like that try to find a better source.

    As a last resort try nnedi3_rpow2() in AviSynth. Before and after:

    Image
    [Attachment 13561 - Click to enlarge]


    Code:
    ImageSource("uzhgf.jpg") 
    
    SeparateFields()
    SelectOdd() # keep the better one
    
    nnedi3_rpow2(2, cshift="BicubicResize", fwidth=640, fheight=480)
    You'll still have some buzzing edges when in motion.
    Thanks. Does this only work on avi? What code would be needed for video?

    I'm a bit confused on how to use this program.

    Originally Posted by manono View Post
    Originally Posted by LadyLiete View Post
    A better example would be some of the video. But as jagabo mentioned, if some idiot has already wrecked it, trying to find a better source is the best solution. You might even (gasp!) buy the DVD if you like it so much.
    If a complete dvd existed I would.
    Last edited by LadyLiete; 20th Aug 2012 at 18:09.
    Quote Quote  
  5. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by LadyLiete View Post
    Thanks. Does this only work on avi? What code would be needed for video?

    I'm a bit confused on how to use this program.
    AVI is video, last time I worked with one (the 3 letters stand for Audio Video Interleave). If all this seems completely unfamiliar, you might want to see some of the many samples on this page: http://www.animemusicvideos.org/guides/avtech31/post-qual.html

    If that looks too advanced, try starting at AMV's main guide: http://www.animemusicvideos.org/guides/avtech31/

    Originally Posted by LadyLiete View Post
    If a complete dvd existed I would.
    Most of us here have the same problem.
    Last edited by sanlyn; 23rd Mar 2014 at 06:11.
    Quote Quote  
  6. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    I have the .avs text file open, but I don't know what to type in to get it to filter the video the way he did with that image. I'm kind of dumb when it comes to this kind of stuff. The file resolution is 640 x 480.
    Quote Quote  
  7. Download and install AviSynth.

    Download nnedi3.
    http://web.missouri.edu/~kes25c/nnedi3.zip
    http://web.missouri.edu/~kes25c/
    Extract nnedi3.dll and put it in AviSynth's plugins folder. Might as well put the readme there too.

    Create a text file with Notepad (or any other plain text editor) and make a script like:

    Code:
    AviSource("filename.avi") 
    SeparateFields()
    SelectOdd() # keep the better one
    nnedi3_rpow2(2, cshift="BicubicResize", fwidth=640, fheight=480)
    Change "filename.avi" to the appropriate name for your AVI file. Save that file in the same folder as the AVI file -- but change the extension from .TXT to .AVS.

    Open that AVS script in an editor encoder that supports AviSynth scripts.

    Encode.
    Quote Quote  
  8. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    Download and install AviSynth.

    Download nnedi3.
    http://web.missouri.edu/~kes25c/nnedi3.zip
    http://web.missouri.edu/~kes25c/
    Extract nnedi3.dll and put it in AviSynth's plugins folder. Might as well put the readme there too.

    Create a text file with Notepad (or any other plain text editor) and make a script like:

    Code:
    AviSource("filename.avi") 
    SeparateFields()
    SelectOdd() # keep the better one
    nnedi3_rpow2(2, cshift="BicubicResize", fwidth=640, fheight=480)
    Change "filename.avi" to the appropriate name for your AVI file. Save that file in the same folder as the AVI file -- but change the extension from .TXT to .AVS.

    Open that AVS script in an editor encoder that supports AviSynth scripts.

    Encode.
    Thanks so much!
    Quote Quote  
  9. By the way, I recommend using VirtualDub to view the results of your scripts.
    Quote Quote  
  10. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    Okay ill do that.
    Quote Quote  
  11. Oh, and because many people get confused, in VirtualDub use File -> Open Video File to open the AVS script, not File -> Run Script.
    Quote Quote  
  12. Member LadyLiete's Avatar
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    I got it working, also downloaded Simple x264 Launcher to recode the videos. It takes a while to encode them but I have seen a definite improvement in the episodes, the jaggies are vastly reduced
    Quote Quote  
  13. Glad it worked for you. If a video looks blurry try changing SelectOdd() to SelectEven(). Odd was better with the sample image but even may look better with some videos.
    Quote Quote  



Similar Threads

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