VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. 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
    Quote Quote  
  2. 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
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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
    Quote Quote  
  5. Originally Posted by VideoGuruDude View Post

    Would you happen to have a sample snippit of avisynth code?
    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...
    You load your "static" target video , and in the 1st deshaker tab, you enter the path and name of log file that you previously generated off a shaky video. (and you can tweak the settings too, smoothness etc...)
    Last edited by poisondeathray; 5th Jun 2017 at 15:38.
    Quote Quote  



Similar Threads

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