Its been about 2 months ago, I was trolling utube and saw a video where camera shake was introduced to a stationary video.
The results were very natural, and very good.
IIRC, the subject matter was a girl in a classroom.
It was an avisynth script, I am pretty sure...
I just now have a real use for the filter, and after exhaustive searching, I cannot find the video again,
nor can I find anything via google for either avisynth or virtualdub.
I am only interested in solutions for virtualdub or avisynth, I know it can be one in AE, etc.. but
I am not running any software other than Magix editor.
Can anyone help please?
Thanks!
Andrew
+ Reply to Thread
Results 1 to 5 of 5
-
-
Run the deshaker or depanestimate analysis on an appropriate source clip where you like the camera motion . Usually real human handheld motion clips are better to use (instead of synthetic, such as a plugin), if that's what your goal was to simulate as. Note the log file location and name. I would make appropriate naming scheme, because you can re-use log files on other projects. eg. large motion, jittery motion, walking motion, high frequency motion, etc.... There are easily hundreds or thousands of different motion file types or characteristics that you could categorize
Apply that logfile in deshaker 2nd pass or depanstabilize to your target clip. Note the motion will be reversed (e.g. if frame is moving up 2pixels, the resulting motion will be down 2pixels instead), but it should be similar enough to the source clip characteristics since "camera shake" is supposed to be semi random -
deathray, I like you thinking... and I can probably do this no problem.
Would you happen to have a sample snippit of avisynth code?
Ive been using deshaker for quite a wile with great results.
I have a batch setup to read a file and write a log, and the next step is to apply the deshake off the generated log.
How would I use the log on a static (non moving) video to replicate the shake in the log, thats the part I am unsure of...
Thanks!
Andrew -
Edit: Similar to this??
http://forum.doom9.org/showthread.php?t=166059
Any comments are welcome, thanks.
Edit2:
Wait... I *think* Ive got it! Ill get back to you... run the stabilizer action on a stabilized video.. and the desired effect will be achieved... Ill test it tomorrow! I think your a genius!!
Andrew -
for the analysis pass on the "shaky" video
DePanEstimate(log="log.txt")
for the shake application pass on the still "target" video
DePanStabilize(inputlog="log.txt", data=DePanEstimate())
There are other settings you can fiddle with (see the documentation) , but that's the most basic
I have a batch setup to read a file and write a log, and the next step is to apply the deshake off the generated log.
How would I use the log on a static (non moving) video to replicate the shake in the log, thats the part I am unsure of...Last edited by poisondeathray; 5th Jun 2017 at 15:38.
Similar Threads
-
Algorithm to fix unperfect video camera motion?
By gil900 in forum Newbie / General discussionsReplies: 7Last Post: 23rd Feb 2017, 08:47 -
using avisynth to make part of a video slow motion
By pooksahib in forum EditingReplies: 4Last Post: 18th Sep 2016, 07:55 -
Fixing screen shake on part of a video with Avisynth
By VideoFanatic in forum RestorationReplies: 9Last Post: 7th Sep 2013, 13:34 -
x264 seriously exaggerating camera shake
By Christopher B in forum RestorationReplies: 4Last Post: 27th May 2013, 07:27 -
How to fix screen shake with Avisynth?
By VideoFanatic in forum RestorationReplies: 2Last Post: 23rd Apr 2013, 11:56