VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 46 of 46
  1. Originally Posted by jagabo View Post
    Change dxmax. dxmax=0 disables horizontal deshaking.
    I changed it to 4 on both these lines but it never got rid of the jitter.

    mdata = DePanEstimate(dxmax=0)
    DePanStabilize(last, data=mdata, initzoom=1.05, dxmax=0, dymax=4)

    Does that script actually get rid of jitter or just screen shake? It's jitter that I'm trying to remove (the screen doesn't shake). The jitter looks like bad interlacing artefacts.
    Quote Quote  
  2. If you mean horizontal jitter caused by time base errors, DePan will not get rid of that. You can use VInverse() to blur the jagged comb artifacts away if you're making a progressive video. There is a thread around here from a guy who's working on a filter that uses the black borders at each edge to adjust the line lengths and positions. It works under some conditions.

    Found it:

    https://forum.videohelp.com/threads/340426-DeJitter-help
    Quote Quote  
  3. Thanks. Any idea what script I should use for VInverse?
    Quote Quote  
  4. After deinterlacing:
    Vinverse()
    Quote Quote  
  5. Is it OK to use it like this:

    Mpeg2Source("I:\New\z = Encode\Video with Horizontal Jitter July 28 1997.d2v")
    Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    AssumeTFF()
    Yadif(mode=1, order=1)
    mdata = DePanEstimate(dxmax=0)
    DePanStabilize(last, data=mdata, initzoom=1.05, dxmax=0, dymax=4)
    Vinverse()
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()

    I think DePanStablize or Yadif makes the interlaced video progressive and then I use Vinverse.
    Quote Quote  
  6. Yes, that should work. Of course, you'll still have comb artifacts because you are interlacing the video again. But the individual fields will be free of comb artifacts. It might work better if you run VInverse before DePan. Try it both ways and see which looks better.
    Quote Quote  
  7. It made the video a lot better but like you say there are still small comb artefacts. I take it that's unavoidable because I can't make the video progressive as from what I've read that would lower the quality of the video? I tried just leaving it progressive but HC Encoder says the video would be then be 60 fps which wouldn't be DVD compliant. Is making the video progressive the only way to get rid of the remaining comb artefacts?

    My original video is 4:3 - 720 x 480
    Quote Quote  
  8. That's correct, you can't make it progressive 60 fps for DVD. It must be 30 fps interlaced. You won't see the comb artifacts on TV if you make the DVD properly.
    Quote Quote  
  9. As far as I know I did make the DVD properly and I do see the comb artefacts!

    I used that script I showed you in HC Encoder then I muxed the m2v + ac3 to a TS file. Then I saved the TS file as a DVD in VideoRedo.
    Quote Quote  
  10. If you see comb artifacts on a TV you didn't make the DVD properly. Try burning and playing the attached ISO image.
    Image Attached Files
    Last edited by jagabo; 25th Nov 2011 at 22:35.
    Quote Quote  
  11. I still see comb artefacts on that sample when played on my TV! It's minor but it's there.

    I put Vinverse() before DePanStabilize and that gets rid of most of the combing just like on your sample but if I put Vinverse() above AssumeTFF() as shown below then it removes all of the combing however the video has slowdown. Is there any way to correct the slowdown?

    Code:
    Mpeg2Source("I:\New\z = Encode\Video with Horizontal Jitter July 28 1997.d2v")
    Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    Vinverse() 
    AssumeTFF()
    Yadif(mode=1, order=1)
    mdata = DePanEstimate(dxmax=0)
    DePanStabilize(last, data=mdata, initzoom=1.05, dxmax=0, dymax=4)
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()
    If I put Vinverse() after AssumeTFF() then the video still has the slowdown. If I put it after Yadif(mode=1, order=1) then Vinverse() has no effect.
    Quote Quote  
  12. Originally Posted by holygamer View Post
    I still see comb artefacts on that sample when played on my TV! It's minor but it's there.
    Then there's something wrong with your DVD player or your TV. What player and TV are you using? How are they connected?

    Originally Posted by holygamer View Post
    I put Vinverse() before DePanStabilize and that gets rid of most of the combing just like on your sample but if I put Vinverse() above AssumeTFF() as shown below then it removes all of the combing however the video has slowdown. Is there any way to correct the slowdown?
    By putting VInverse() before Yadif() you are essentially performing a blend deinterlace, changing it from 60 pictures per second to 30 pictures per second. That is responsible for the reduced smoothness. It is not what you want to do.
    Quote Quote  
  13. AC Ryan PlayOn HD Media Player I've had it for years. It can play DVD ISOs. They play just the same in a DVD player. Hitachi Hitachi L37V01 37" 1080p TV. The TV is 5 years old. The TV is fine. I've played satellite footage on my TV as well as DVDs. I've also played 480i wrestling footage on it via my media player and DVD players which I've fixed with AviSynth and it plays fine. The footage is from a whole season of a wrestling program. A few episodes were recorded with a crap VHS recorder. Those episodes have the screen shake and jitter which I'm trying to fix.

    Are you sure you don't see slight combing? I see a bit in the crowd and when the guy punches the other guy on the ropes.
    Quote Quote  
  14. I see aliasing artifacts on the ropes but I don't see any comb artifacts on the crowd. Like the right half of this image:
    Click image for larger version

Name:	art.png
Views:	1580
Size:	422.2 KB
ID:	9787
    Last edited by jagabo; 26th Nov 2011 at 10:34.
    Quote Quote  
  15. Originally Posted by jagabo View Post
    I see aliasing artifacts on the ropes but I don't see any comb artifacts on the crowd. Like the right half of this image:
    Image
    [Attachment 9787 - Click to enlarge]
    Could you please tell me what Anti-aliasing script you used to fix the ropes?
    Quote Quote  
  16. Originally Posted by holygamer View Post
    Could you please tell me what Anti-aliasing script you used to fix the ropes?
    I didn't use any explicit antialiasing. I no longer have the video or the script. But I'm pretty sure I used QTGMC() which would performed some anti aliasing/smoothing. The sample image showed two different frames. One where the deinterlacing worked well, one where it didn't.
    Quote Quote  



Similar Threads

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