Some time ago I found many samples from VideoFred. Very nice scripts to restore 8mm film shoots.
But there is an interesting effect that I didn't realize yet how he could do. How to correct the camera shake. Look at this sample attached. How it could be done using Avisynth scripts?
I could notice that there is a crop around the fixed video exactly to achieve the effect. But how to do it with Avisynth scripts? Or it would be done using NLE tools?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 21 of 21
Thread
-
Thank you.
-
-
jagabo, I'll try DePan tomorrow.
I took a look at DeShaker and the result looks very good. And the possibility to have a GUI is a plus to it. Yes, I can use AvsPmod with DePan, but all the settings that shows the possibilities at DeShaker screen will help more. Thx too.Thank you. -
I agree with jagabo that DeShaker in VirtualDUB is better than anything you can do in AVIsynth.
But VideoFred's results are all from AVIsynth, and the exact script he used is in the thread that you linked to! You can delete the parts you don't need. (and/or just keep the part you do - the script is quite well commented).
Cheers,
David. -
Thank you.
-
Stab:
Code:temp = last.TemporalSoften(7,255,255,25,2) Interleave(temp.Repair(last.TemporalSoften(1,255,255,25,2)),last) DePan(last,data=DePanEstimate(last,trust=0,dxmax=10,dymax=10),offset=-1) SelectEvery(2,0)
is a nice example how to use DePan,... -
...but with dxmax=10,dymax=10 it's only for small amounts of shaking.
-
Yes, it's kind of try-and-error since the filter can not know which jitter motion is intended and which is ment to be compensated.
-
The values are the most correction that will be applied. You don't need to get them "right". They're only there as a back-stop to guard against DePan doing something stupid. Or to leave a bit of wobble in if the image actually jumps most of the height or width of the frame (and correcting it fully would leave you with a half-blank frame).
DeShaker has exactly the same parameters that you can set for exactly the same reason.
I find the motion estimation to be a bit better in DeShaker.
Both can get confused when something in the image moves (e.g. a person filling the frame while walking past the camera), but IME DePan gets confused more easily than DeShaker. The invert levels trick in VideoFred's script (which isn't in stab() above) seems to help DePan a bit.
Go and try the various options and you'll soon see what works best for your footage. Try it on a little bit as a test.
Cheers,
David. -
Stab() is really meant for projector film bounce. Hence the small motion parameters.
-
-
That's surprisingly good, given the source.
For your own videos, try to use a faster shutter speed to minimise blur when the camera shakes - that's the biggest problem in the "fixed" video here.
Cheers,
David. -
Thank you.
-
I'm not sure it can be much better for this sample. It's working about as well as it can. You can crop less if you want. The major problem (the bluring during movement) is unfixable.
How would you like it to look different?
Cheers,
David. -
Thank you.
Similar Threads
-
Video techniques - shaking zoom in and zoom out effect?
By Mylo in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 5Last Post: 12th Oct 2011, 11:08 -
Strange shaking effect in recording while moving the videocamera
By anegroo in forum Newbie / General discussionsReplies: 3Last Post: 14th Jul 2010, 09:25 -
Trying to remove nightvision effect from DV video
By cpositive in forum Newbie / General discussionsReplies: 7Last Post: 15th Nov 2009, 23:08 -
VHS Camera Produced Strobing-Can I Remove It?
By TimJ in forum CapturingReplies: 0Last Post: 23rd Feb 2009, 19:01 -
Adobe Premiere Elements 4.0 Active Camera effect
By kingstinky in forum EditingReplies: 0Last Post: 4th Jan 2009, 17:22