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.
+ Reply to Thread
Results 31 to 46 of 46
-
-
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 -
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. -
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.
-
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 -
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.
-
If you see comb artifacts on a TV you didn't make the DVD properly. Try burning and playing the attached ISO image.
Last edited by jagabo; 25th Nov 2011 at 22:35.
-
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()
-
Then there's something wrong with your DVD player or your TV. What player and TV are you using? How are they connected?
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. -
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. -
Last edited by jagabo; 26th Nov 2011 at 10:34.
-
-
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.
Similar Threads
-
How to Fix Horizontal Jitter with AviSynth?
By VideoFanatic in forum RestorationReplies: 2Last Post: 26th Jan 2014, 22:52 -
Weird Brightness Problem - How to fix with Avisynth?
By VideoFanatic in forum RestorationReplies: 20Last Post: 4th Apr 2012, 07:10 -
How to Fix Patchy Colour with Avisynth?
By VideoFanatic in forum RestorationReplies: 59Last Post: 14th Feb 2012, 10:20 -
Is it possible to Fix Bad Reception Artefacts with AviSynth??
By VideoFanatic in forum RestorationReplies: 6Last Post: 15th Nov 2011, 15:31 -
best avisynth filter for vhs horizontal screen bend?
By spiritgumm in forum Video ConversionReplies: 3Last Post: 9th Aug 2010, 12:22