View Full Version : Picture stablilisation
EuropeanMan
14th January 2010, 19:45
Below you'll find a small sample.
Comes from a R0 DVD9 NTSC movie (Khubsoorat - Indian movie). In many parts throughout the movie, the frame jumps up & down. Is there a way to stabilise this via any AviSynth filter?
Thanks
http://www.sendspace.com/file/gkcvei
PS - this happens even in action scenes, so I'm hoping that this filter doesn't CUT the frame and give me jagged black edges...
wonkey_monkey
15th January 2010, 02:59
I don't know of an AviSynth solution, but there's the VirtualDub plugin deshaker. It improves things a little (on default settings), but it almost certainly won't cope as well on the action scenes.
As well as the obvious vertical motion, the picture warps and stretches. You might be able to do something with mvtools, but I wouldn't be too hopeful.
David
poisondeathray
15th January 2010, 03:04
I haven't looked at your sample, but the filters you could try in avisynth that would be similar to deshaker would be depan , depanstabilize
thetoof
15th January 2010, 06:51
Have you tried stab()? Though it will introduce unstable black edges that you'll have to crop... but losing 1 pixel or 2 top and left is a very small price to pay imo for stabilization.
EuropeanMan
15th January 2010, 09:23
^ Will try that when I wake up - stab() that is...haven't even heard of this...
@ poison - it was depan that introduced the horrible black jaggies...
12.30 in the morning here...will report back tomorrow. Thanks again folks :)
EuropeanMan
15th January 2010, 09:27
I don't know of an AviSynth solution, but there's the VirtualDub plugin deshaker. It improves things a little (on default settings), but it almost certainly won't cope as well on the action scenes.
As well as the obvious vertical motion, the picture warps and stretches. You might be able to do something with mvtools, but I wouldn't be too hopeful.
David
re: deshaker...will run a test of this as well.
the authoring company that made this DVD9 is now defunct, but speaking of the warping (i did make a thread on that long ago), i've found many in my collection to have the warps you speak of...some more pronounced than others. what would be nice is a filter that fixes the warp effortlessly.
as for mvtools - i wish i was an expert on that...hopefully someone who reads this, can point me in the right direction.
thetoof
15th January 2010, 09:30
Basically it's a script by g-force I had turned into a function for my personal use, eventually posted it to help somebody and it spread to other threads and the wiki. Very useful and efficient.
EuropeanMan
15th January 2010, 09:33
@ toof - is this (http://forum.doom9.org/showthread.php?p=1222587#post1222587) it?
Alex_ander
15th January 2010, 10:03
Is there a way to stabilise this via any AviSynth filter?
DePan by Fizick.
thetoof
15th January 2010, 10:36
Yes, but there's a newer version in the wiki - http://avisynth.org/mediawiki/Stab
(came from the same thread, couple of posts below mine, by the actual author)
EuropeanMan
15th January 2010, 17:36
Stab didn't do much...at all.
DeShaker for some reason isn't working properly.
:(
poisondeathray
16th January 2010, 01:02
Stab didn't do much...at all.
DeShaker for some reason isn't working properly.
:(
Did you follow the instructions for deshaker ?
For any form of stabilization you will get black borders.
You have to decide on the type of edge compensation (either mirror edges, use past & future frames, fixed zoom, or adaptive zoom)
I think it improves at least a little:
http://www.mediafire.com/?mw5gyqoznvd
I'm sure you could improve it, as I'm not an expert with deshaker, I just used default settings and "fixed+adaptive zoom (no borders)" for pass 2. You can ask in the deshaker thread for better settings
EuropeanMan
16th January 2010, 02:12
i ran deshaker via VDub, 2 pass...but output still had the mapped dots all over it...i didn't understand why :(
wonkey_monkey
16th January 2010, 03:01
Did you perhaps save the first pass? You only need to play the first pass, using the >O button or pressing Enter. That saves a log file which is picked up when you change deshaker to second pass (with the original AVI still loaded as input in Vdub).
David
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.