VideoHelp Forum




+ Reply to Thread
Page 5 of 32
FirstFirst ... 3 4 5 6 7 15 ... LastLast
Results 121 to 150 of 944
  1. Originally Posted by zerowalker View Post
    Well mostly use the PC for everything, but compatibility is an important subject indeed, will probably make 2 versions for what i am unsure of then, ogg and aac, but i can see there is Nero aac, and Faac, which is gives best result?
    Nero aac
    Quote Quote  
  2. Oh, another thing, i saw a thing called Open GOP, i have read about it, and as i understand itīs a good thing, but not all decoders support it.
    Can anyone spread some light over what the advantages it has?

    Edit: what is the best way to prevent this weird looking thing (look under the girl)
    That thing appears before it has happened, and looks almost like the temporal filter thing.
    I think itīs because the source is/was interlaced, and that picture is from a clip where i have done MCTemporalDensios Very High, and this

    SetMTMode(6,4)
    AVISource("C:\Alice I Underlandet - Gammal\Test_1.avi")
    Crop(0,0,0,-4)
    Dehalo_Alpha(rx=2,ry=2,darkstr=1.1,brightstr=1.1)
    Santiag()
    AwarpSharp2(depth=6)
    Toon(strength=0.4)
    LSFMod(strength=50)
    TTempSmooth(maxr=5, lthresh=12, cthresh=4, strength=5)
    SmoothLevels(23,1.1,255,0,255)
    SmoothTweak(contrast=1.0, hue1=6, hue2=-11, saturation=1.1)
    MergeChroma(awarpsharp2(depth=45))
    Deen()
    DFTTest(sigma=32,sigma2=32, lsb=true)
    msb = last.Dither_get_msb ()
    lsb = last.Dither_get_lsb ()
    DitherPost (msb, lsb, stacked=false)
    GradFun3()

    So i never Deinterlaced it, so what is the way to go, should i deinterlace first, and then denoise, or can you remove it after, or is there any filter i should have been used?

    Thanks as always!
    Image Attached Thumbnails Click image for larger version

Name:	weird.png
Views:	349
Size:	433.7 KB
ID:	7486  

    Last edited by zerowalker; 20th Jun 2011 at 01:16.
    Quote Quote  
  3. Open GOPs are when the B frames at the end of a GOP reference the I frame of the next GOP. They increase compression efficiency a tiny bit.

    The ghost under the girls where her feet will be in the next frame. They are a result of the heavy temporal filtering.
    Quote Quote  
  4. Ah, thanks!
    But should i just skip deinterlacing as i have?
    As you have seen the script i am currently playing around with, itīs giving good results.
    But as said, i do MCTemporalDenoising Very High, before using the above scripts (with adjustments for my taste).

    But i do have a problem i will be trying to solve, hopefully i will ,else i will bring it up later on
    Quote Quote  
  5. All infos about x264 settings here: http://mewiki.project357.com/wiki/X264_Settings
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  6. Yeah have read much there, but some things are just now written in a way which makes me understand it completely.
    I donīt understand the English language completely, but i do understand it well. So i think that itīs better to ask if you wonder about it, then guessing through if you get my meaning
    Quote Quote  
  7. Originally Posted by zerowalker View Post
    But should i just skip deinterlacing as i have?
    Your frames have no comb artifacts so it's safe to consider them progressive.

    Originally Posted by zerowalker View Post
    As you have seen the script i am currently playing around with, itīs giving good results.
    But as said, i do MCTemporalDenoising Very High, before using the above scripts (with adjustments for my taste).
    Temporal denoisers work by averaging together pixels from multiple frames. When the pixels in the surrounding frames are very different they don't use those pixels because it's assumed something has moved and you don't want to get ghosting. The more noise there is in your video the stronger the denoising you have to use. That means the threshold of not averaging gets higher. So in areas of low contrast you start getting ghosting. That's what you're seeing. You can use less strong settings in the denoiser to reduce the ghosting but then more noise will be left in the picture.
    Quote Quote  
  8. Ah thanks, that clears some things up for me!
    Grateful as always

    Edit: Is there anyway to remove it afterwards, some filtering maybe?
    I am sure there isnīt such an easy way though, but worth asking
    Quote Quote  
  9. Difficult to remove after, you would probably have to remove it before

    As jagabo said - it's likely a temporal artifact, so either adjust the mctd settings, or ttempsmooth settings

    It can also be from not removing the noise completely before temporal smoothing so sometimes stronger spatial denoise actually helps instead of weaker. But it can also be from duplicate frames if you didn't decimate (the underlying consecutive frames are supposed the same, but there is a slight variations in noise pattern on the duplicate, this causes issue with temporal filtering)
    Quote Quote  
  10. Okay, will try to find the reason, and play around with the settings, thanks
    Quote Quote  
  11. If you've found ideal settings that work for most of the video, but only certain sections have the issue , you can apply different filter settings to different sections (e.g. divide up into sections by using Trim() ) . Because changing the settings globally, might screw up the other sections
    Quote Quote  
  12. Ah, i was gonna ask for a way to do that, how do you use trim with a filter?
    Can you show an example script please?
    Quote Quote  
  13. a=avisource()

    a
    #filterstack 1
    b=last

    a
    #filterstack 2
    c=last


    b.Trim(0,100) ++ c.Trim(101,200) ++ b.Trim(201,300)


    There are many ways to do this; In this example, "filterstack 1" is applied to frames 0-100, and 201-300, "filterstack 2" is applied to frames 101-200

    If you haven't already, use avspmod to preview your scripts. pushf5 to preview. You can compare script versions in multiple tabs (hit the number keys to swap). This helps you determine what settings and values or filter combinations might be "ideal"
    Quote Quote  
  14. You can try using stronger spacial filtering before the temporal filter(s). That will make it easier for the temporal filters to differentiate inter-frame noise from detail (ie, you can use a less strong temporal filter). Unfortunately, stronger spacial filtering will reduce small intra-frame details too.

    I don't think you'll notice a little ghosting like that at normal playback speed.
    Last edited by jagabo; 20th Jun 2011 at 11:21.
    Quote Quote  
  15. The ghosting most likely comes from this line :
    Code:
    DFTTest(sigma=32,sigma2=32, lsb=true)
    Dfttest is a spatio-temporal denoiser working on 5 frames (unless otherwise specified) without any protection against ghosting. You should do a motion compensation with the MVTools2 to use it safely.

    BTW I noticed you apply GradFun3 just after dfttest, this is suboptimal to make it output 16 bit per component, then immediately dither it. You could just have the dither done by dfttest: "dfttest (parmeters, dither=1)". Or do the whole process in 16 bits and use SmoothGrad() before dithering, instead of GradFun3:
    Code:
    # Motion compensation on frames -2...+2
    super = MSuper ()
    vf2 = super.MAnalyse (isb=false, delta=2, overlap=4)
    vf1 = super.MAnalyse (isb=false, delta=1, overlap=4)
    vb1 = super.MAnalyse (isb=true,  delta=1, overlap=4)
    vb2 = super.MAnalyse (isb=true,  delta=2, overlap=4)
    cf2 = MCompensate (super, vf2, thSAD=400)
    cf1 = MCompensate (super, vf1, thSAD=400)
    cb1 = MCompensate (super, vb1, thSAD=400)
    cb2 = MCompensate (super, vb2, thSAD=400)
    
    # dfttest on motion-compensated clip
    Interleave (cf2, cf1, last, cb1, cb2)
    dfttest (sigma=32, sigma2=32, tbsize=5, lsb=true)
    SelectEvery (5, 2)
    
    # Gradient smoothing
    presmooth = last
    SmoothGrad (radius=20, thr=0.15)
    SmoothGrad (radius=12, thr=0.25, ref=presmooth)
    
    # Back to 8 bits, ordered dithering
    DitherPost ()
    Last edited by Firesledge; 20th Jun 2011 at 17:47.
    Quote Quote  
  16. Okay, so i should have dfttest
    ( sigma=32,sigma2=32, lsb=true, dither=1) ?

    And i donīt understand what the motion compensation does, i do know the word though.
    And donīt really know what Dither does, i think it had something to do with improving the image, as in gif pictures or something.
    I mostly played around with the things i didnīt noticed what they did and just kept them. But what do you recommend i do?

    And if you zoom in on the left part of the picture, you can see that the pixels are in an a sort of formation, donīt reallly know how to explain it. but it does happen in the other movie too, is that good or bad?
    Image Attached Thumbnails Click image for larger version

Name:	Untitled.png
Views:	585
Size:	1.95 MB
ID:	7502  

    Last edited by zerowalker; 21st Jun 2011 at 00:02.
    Quote Quote  
  17. Originally Posted by zerowalker View Post
    And i donīt understand what the motion compensation does, i do know the word though.
    Instead of looking at the same location in the earlier and later frames it looks for parts of the picture that have moved and compensates for that motion. For example, if the frame shifted left by four pixels it averages pixels at (x-4,y) instead of (x,y).

    Originally Posted by zerowalker View Post
    And donīt really know what Dither does, i think it had something to do with improving the image, as in gif pictures or something.
    That's basically adding noise back to the image to reduce posterization.
    http://en.wikipedia.org/wiki/Ordered_dithering

    Originally Posted by zerowalker View Post
    And if you zoom in on the left part of the picture, you can see that the pixels are in an a sort of formation, donīt reallly know how to explain it. but it does happen in the other movie too, is that good or bad?
    That's the ordered dither.
    Quote Quote  
  18. Okay, so i should have Dither, i tried using dfttest(dither=1) and removing Gradfun3(), though i didnīt see any difference i think.
    But Dither is good. Donīt really know how to use the Motion Compensation as i donīt understand the codes written, but as it prevents ghosting it would be nice to use, but does it have any bad effects?
    Quote Quote  
  19. Originally Posted by zerowalker View Post
    Donīt really know how to use the Motion Compensation as i donīt understand the codes written, but as it prevents ghosting it would be nice to use
    Just replace the dfttest...gradfun3 lines with the script I provided in my previous post:

    Code:
    SetMTMode(6,4)
    AVISource("C:\Alice I Underlandet - Gammal\Test_1.avi")
    Crop(0,0,0,-4)
    Dehalo_Alpha(rx=2,ry=2,darkstr=1.1,brightstr=1.1)
    Santiag()
    AwarpSharp2(depth=6)
    Toon(strength=0.4)
    LSFMod(strength=50)
    TTempSmooth(maxr=5, lthresh=12, cthresh=4, strength=5)
    SmoothLevels(23,1.1,255,0,255)
    SmoothTweak(contrast=1.0, hue1=6, hue2=-11, saturation=1.1)
    MergeChroma(awarpsharp2(depth=45))
    Deen()
    
    # Motion compensation on frames -2...+2
    super = MSuper ()
    vf2 = super.MAnalyse (isb=false, delta=2, overlap=4)
    vf1 = super.MAnalyse (isb=false, delta=1, overlap=4)
    vb1 = super.MAnalyse (isb=true,  delta=1, overlap=4)
    vb2 = super.MAnalyse (isb=true,  delta=2, overlap=4)
    cf2 = MCompensate (super, vf2, thSAD=400)
    cf1 = MCompensate (super, vf1, thSAD=400)
    cb1 = MCompensate (super, vb1, thSAD=400)
    cb2 = MCompensate (super, vb2, thSAD=400)
    
    # dfttest on motion-compensated clip
    Interleave (cf2, cf1, last, cb1, cb2)
    dfttest (sigma=32, sigma2=32, tbsize=5, lsb=true)
    SelectEvery (5, 2)
    
    # Gradient smoothing
    presmooth = last
    SmoothGrad (radius=20, thr=0.15)
    SmoothGrad (radius=12, thr=0.25, ref=presmooth)
    
    # Back to 8 bits, ordered dithering
    DitherPost ()
    but does it have any bad effects?
    It slows down the script and takes more RAM.
    Quote Quote  
  20. Okay, will give it a try on a movie after i do a noise reducer, so it will take a while:P
    Thanks for helping out!
    Quote Quote  
  21. I'm trying your script now Firesledge, it assume the source is progressive, where you would place the separatefields & weave for an interlaced source in your script because i'm getting an error...
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  22. Originally Posted by themaster1 View Post
    I'm trying your script now Firesledge, it assume the source is progressive, where you would place the separatefields & weave for an interlaced source in your script because i'm getting an error...
    I think you would do it the same as any other filter for interlaced footage, ie. apply filters to even and odd fields then interleave & weave

    e,g.

    Code:
     
    whateversource()
    c=last
     
     
     
    #even fields
    # Motion compensation on frames -2...+2
    even = c.SeparateFields().SelectEven()
    super_even=even.MSuper()
    vf2 = super_even.MAnalyse (isb=false, delta=2, overlap=4)
    vf1 = super_even.MAnalyse (isb=false, delta=1, overlap=4)
    vb1 = super_even.MAnalyse (isb=true,  delta=1, overlap=4)
    vb2 = super_even.MAnalyse (isb=true,  delta=2, overlap=4)
    cf2 = MCompensate (even, super_even, vf2, thSAD=400)
    cf1 = MCompensate (even, super_even, vf1, thSAD=400)
    cb1 = MCompensate (even, super_even, vb1, thSAD=400)
    cb2 = MCompensate (even, super_even, vb2, thSAD=400)
     
    # dfttest on motion-compensated clip
    Interleave (cf2, cf1, even, cb1, cb2)
    dfttest (sigma=32, sigma2=32, tbsize=5, lsb=true)
    SelectEvery (5, 2)
     
    # Gradient smoothing
    presmooth = last
    SmoothGrad (radius=20, thr=0.15)
    SmoothGrad (radius=12, thr=0.25, ref=presmooth)
     
    # Back to 8 bits, ordered dithering
    DitherPost ()
    filtered_even=last
     
     
     
     
     
    #odd fields
    # Motion compensation on frames -2...+2
    odd = c.SeparateFields().SelectOdd()
    super_odd=odd.MSuper()
     
    vf2 = super_odd.MAnalyse (isb=false, delta=2, overlap=4)
    vf1 = super_odd.MAnalyse (isb=false, delta=1, overlap=4)
    vb1 = super_odd.MAnalyse (isb=true,  delta=1, overlap=4)
    vb2 = super_odd.MAnalyse (isb=true,  delta=2, overlap=4)
    cf2 = MCompensate (odd, super_odd, vf2, thSAD=400)
    cf1 = MCompensate (odd, super_odd, vf1, thSAD=400)
    cb1 = MCompensate (odd, super_odd, vb1, thSAD=400)
    cb2 = MCompensate (odd, super_odd, vb2, thSAD=400)
     
    # dfttest on motion-compensated clip
    Interleave (cf2, cf1, odd, cb1, cb2)
    dfttest (sigma=32, sigma2=32, tbsize=5, lsb=true)
    SelectEvery (5, 2)
     
    # Gradient smoothing
    presmooth = last
    SmoothGrad (radius=20, thr=0.15)
    SmoothGrad (radius=12, thr=0.25, ref=presmooth)
     
    # Back to 8 bits, ordered dithering
    DitherPost ()
    filtered_odd=last
     
     
     
     
     
     
    Interleave(filtered_even, filtered_odd)
    Weave()
    Quote Quote  
  23. What version of dfttest do i need cos i have an error... and i thought i had the latest

    "there is no argument lsb=true"

    Anyway if i remove , lsb=true it's processing half the video only strange
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  24. Hmm dunno, i downloaded and replaced till it work, sadly donīt know what Isb and the likes does, but i have seen the problem with half video though, but only if i remove stuff like you did
    Quote Quote  
  25. you need dfttest-1.8-mod16b from the dither package

    lsb= least significant bytes ; it's working with 2 x 8bit images

    http://ldesoras.free.fr/prod.html#src_ditheravsi
    Quote Quote  
  26. It's my bad i've linked the wrong (old) dll in my script, working now.
    *** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
    Quote Quote  
  27. To take another step, once i want to encode this, for example Alice or the other one Digimon, which has 2d and 3d animations if some of you have seen it, what settings do you recommend in x264 (as in tunning), i have given Alice Animation, but not sure if it is right as the vhs rip is "wavy" so maybe Animation isnīt the right tunning as there isnīt much still images and low detail, or maybe i am correct.

    Please consider i have Cartoon and normal movies, what is recommended overall for vhs rips etc?
    Thanks as Always
    Quote Quote  
  28. I did a quick google search to find out what Digimon was and found this:

    http://www.watchdigimonepisodes.com/

    I started watching one episode and the quality was pretty good. At least some episodes are explicitly available for download.
    Quote Quote  



Similar Threads

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