VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Which avisynth sharpening filter should i use on blurry/soft images?
    Quote Quote  
  2. Images blur for all kinds of reasons and require different treatment. I usually start with the built-in sharpen filter and see if it makes a difference. Trial and error on a short clip is your best bet.

    Here's more:
    http://avisynth.nl/index.php/External_filters#Sharpeners
    Quote Quote  
  3. Should i use imagesource() for opening .png image files with avspmod editor?
    Quote Quote  
  4. Originally Posted by x264 View Post
    Should i use imagesource() for opening .png image files with avspmod editor?
    Yes, that is one option that will work
    Quote Quote  
  5. Click image for larger version

Name:	Capture.PNG
Views:	229
Size:	27.0 KB
ID:	35438

    I got this error when i used awarpsharp2 filter.
    Quote Quote  
  6. Some filters require YUV input or certain YUV subsampling like YV12. Your jpg is probably YUV encoded, but imagesource will output RGB data. You would need to use ConvertToYV12() or something similar

    The new awarpsharp4xx rewrite handles YV24 if you use avisynth 2.6.x . YV24 uses full chroma, so if your source jpg had full chroma (not subsampled), you would have less quality loss. 99% of jpg images are YUV internally ,but you asked about PNG
    http://forum.doom9.org/showthread.php?t=171488

    There is a jpegsource that can return YUV natively (it also has jpeg reconstruction passes to reduce jpeg artifacts), and FFMS2 will return YUV as well from YUV jpeg's
    http://forum.doom9.org/showthread.php?t=170028

    The type of "blurriness" determines what filter(s) you might use. For example, for directional motion blurring you might use a deconvolution filter. Generic sharpening won't work as effectively in that scenario
    Quote Quote  
  7. The images which i open with imagesource() are loaded in the wrong order(flipped), also why are the error messages flipped?
    Quote Quote  
  8. You're probably using an old avisynth version with the flipped RGB output bug. Try updating your avisynth version to the current one
    Quote Quote  
  9. i'm using avisynth 2.6 from here http://forum.doom9.org/showthread.php?t=172213. I tried reinstalling avisynth but no change.
    Quote Quote  
  10. save your avs script, and open it in vdub, is image flipped there also ? (does it only affect avspmod, and what version of avspmod are you using)
    Quote Quote  
  11. Or just flip them in AviSynth with FlipVertical() or whatever is necessary.
    Quote Quote  
  12. I opened the .avs file in virtualdub, its the same as in avspmod. Also i installed AviSynth 2.6.0 [May 31st, 2015] but when i type version() in avspmod its showing avisynth build march 31.
    Quote Quote  
  13. Originally Posted by x264 View Post
    I opened the .avs file in virtualdub, its the same as in avspmod.
    Of course.

    Originally Posted by x264 View Post
    Also i installed AviSynth 2.6.0 [May 31st, 2015] but when i type version() in avspmod its showing avisynth build march 31.
    Just use FlipVertical().
    Quote Quote  
  14. I used flipvertical and fliphorizontal, it didnt work. The image is still flipped in the wrong order.

    General
    Complete name : C:\Users\xyz\Pictures\My Scans\Scan_Pic0004.jpg
    Format : JPEG
    File size : 5.11 MiB

    Image
    Format : JPEG
    Width : 2 304 pixels
    Height : 3 568 pixels
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Compression mode : Lossy
    Stream size : 5.11 MiB (100%)
    Last edited by x264; 30th Jan 2016 at 06:46.
    Quote Quote  
  15. Mabye it's rotated 180 degrees? Try:

    Code:
    TurnRight()
    TurnRight()
    Otherwise, upload an image that has the problem.

    By the way, you can only sharpen images/video by a small amount. You will not be able to turn a blurry mess into a pristine image.
    Quote Quote  
  16. Calling TurnRight() 3 times fixed the problem.
    Quote Quote  
  17. You can call TurnLeft() once instead.
    Quote Quote  



Similar Threads