VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 43 of 43
  1. It looks fine after that. Thanks again everyone for helping me (and teaching me)!
    Quote Quote  
  2. Without using AssumeFPS my encoding came out at exactly 50 fps. Maybe a different version of ffVideoSource()? I updated about three months ago.
    Quote Quote  
  3. Sorry to bump this old thread of mine, but the problem with the video I have here looks about the same. Hell, they're even the same show.

    Difference is, this video is progressive instead of interlaced (576i->480p) and not upscaled. The bitrate is also a bit horrible, causing artifacts.

    1. Is there a way to get rid of this:
    Click image for larger version

Name:	vlcsnap-6659-03-16-17h19m33s615.png
Views:	907
Size:	473.3 KB
ID:	32672Click image for larger version

Name:	vlcsnap-1142-10-22-21h19m55s575.png
Views:	862
Size:	454.2 KB
ID:	32673Click image for larger version

Name:	vlcsnap-9569-06-15-10h00m58s803.png
Views:	819
Size:	164.3 KB
ID:	32674Click image for larger version

Name:	vlcsnap-8192-02-10-18h20m20s628.png
Views:	823
Size:	353.5 KB
ID:	32675
    Script doesn't, with or without SelectEven()
    2. Is it possible to reduce more of the compression artifacts? The script does something, but at certain points, it's too blocky (e.g. during fast motion)

    Script:
    Code:
    ffVideoSource("input.mkv")
    MosquitoNR(strength=27)
    Deblock_QED()
    AssumeTFF()
    Crop(10,2,-8,-2)
    SeparateFields()
    Weave()
    QTGMC()
    LSFMod(defaults="slow")
    EdgeCleaner(strength=37)
    x264 settings:
    Code:
    --profile high --level 3.1 --preset veryslow --crf 18 --tune animation
    Image Attached Files
    Quote Quote  
  4. In the original PAL video had interlaced titles overlaid onto the progressive frames. Whoever resized the video from 576 lines to 480 lines didn't account for that interlacing so the titles are now a partial blend of the two interlace fields. I don't see any good way of fixing this. You can try blurring combing away but the rest of the picture will get blurry and the combed areas will still look like double exposures. Something like this with sample2.mkv:

    Code:
    ffVideoSource("sample2.mkv") 
    src = last
    
    Spline36Resize(width,height/2)
    vInverse()
    Spline36Resize(width,height*2)
    Sharpen(0.0, 0.5)
    
    ReplaceFramesSimple(src, last, Mappings="[35 42] [80 96]")
    Another way you could approach the problem is to recreate the segments with the problem, using animated overlays.
    Quote Quote  
  5. Oops, wrong thread.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    Another way you could approach the problem is to recreate the segments with the problem, using animated overlays.
    Heh, didn't know Avisynth could do that, thanks!

    I still have one problem though. With high motion, the image goes to hell due to the fixed bitrate on the source (it also seems that the titles from sample1.mkv are jiddering due to that):
    Click image for larger version

Name:	source.png
Views:	835
Size:	247.4 KB
ID:	32725
    Click image for larger version

Name:	DVDPAL.png
Views:	834
Size:	548.0 KB
ID:	32726
    Click image for larger version

Name:	DVDNTSC.png
Views:	833
Size:	538.1 KB
ID:	32727
    The other two that look right are from a PAL (1st) and NTSC (2nd) DVD. I've lowered the CRF and set qcomp at 0.9. AWarpSharp2 (+toon) makes the video a bit less blurry, but the non-black lines are still blurry or have disappeared completely. Also, when fading from black to color, the image also looks bad.
    Click image for larger version

Name:	output.png
Views:	839
Size:	269.2 KB
ID:	32734

    Are the compression artifacts reversible or is it possible to tone them down a bit?

    Code:
    Code:
    ffVideoSource("input.mkv")
    LSFMod(defaults="slow")
    AWarpSharp2(depth=11, chroma=3)
    Toon()
    Crop(10,2,-8,-2)
    Dither_convert_8_to_16()
    gradfun3(lsb=true,lsb_in=true)
    Ditherpost()
    Image Attached Files
    Quote Quote  
  7. I don't think you can really fix the loss of detail from over compression. At least not easily. In some shots you could overlay a clean frame over non-moving parts of the frame. Or maybe you could use a very strong aWarpSharp to clean up some of the rough/blurry edges -- on only the worst frames so as not to mess up the rest of the video.
    Quote Quote  
  8. -30-
    Last edited by pub; 13th Aug 2015 at 15:52.
    Quote Quote  
  9. Same show, different problem with deinterlacing. Something is causing (I think) ghosting, see the hair and credits

    Before (sample.mkv)
    Click image for larger version

Name:	vlcsnap-0172-12-23-15h42m17s171.png
Views:	805
Size:	739.7 KB
ID:	33152

    After
    Click image for larger version

Name:	vlcsnap-7752-12-25-21h25m07s108.png
Views:	841
Size:	494.7 KB
ID:	33153

    Replacing FPSDivisor=2 with SelectEven/Odd doesn't change anything, TFM reduces it a bit but causes aliasing everywhere, the QTMGC Preset Very Slow reduces it without aliasing but the lines are thinner.

    Is it QTGMC or is the source just too noisy?

    Script:
    Code:
    MPEG2Source("sample.d2v", cpu=6)
    QTGMC(Preset="Slow", FPSDivisor=2, EZDenoise=3.0, NoisePreset="Slower")
    MosquitoNR(strength=15)
    Dither_convert_8_to_16()
    gradfun3(lsb=true,lsb_in=true)
    Ditherpost()
    turnleft()
    nnedi3(dh=true)
    turnright()
    spline36resize(768,576)
    Crop(2,2,-2,-2)
    Toon()
    Image Attached Files
    Quote Quote  
  10. Yes, QTGMC sometimes leaves ghosts like that. You might be able to fix it by playing with the parameters. The ghost lines are from the prior or next frame so look into the temporal filtering options.
    Quote Quote  
  11. Code:
    QTGMC(Preset="Very Slow", FPSDivisor=2, EZDenoise=4.0, NoisePreset="Slower", Sharpness=0.5, Lossless=2, TR0=1, TR1=1, TR2=0, sourcematch=14)
    removes it, thanks for the pointer.

    Click image for larger version

Name:	vlcsnap-5569-04-16-06h08m53s501.png
Views:	795
Size:	489.3 KB
ID:	33159

    Is there a way to repair the lines?
    Quote Quote  
  12. Which setting was responsible for fixing the ghosting? You can try an anti aliasing filter like Santiag() to fix the aliasing artifacts QTGMC introduced (if you can't find QTGMC settings that get rid of them).
    Quote Quote  
  13. Originally Posted by jagabo View Post
    Which setting was responsible for fixing the ghosting?
    The combination of Lossless=2, TR0=1, TR1=1, TR2=0, sourcematch=14. I'll try santiag. In the meantime, this happens later on in the video. Same script + the new QTGMC line. This happens randomly multiple times and doesn't appear in the source.

    Click image for larger version

Name:	vlcsnap-3051-08-15-02h25m54s565.png
Views:	834
Size:	445.6 KB
ID:	33161

    I'm not sure what to call it.
    Image Attached Files
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!