VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I dont want to use VD, I have several videos off handicam that I want to stabilize, and the deshaker VD plugin appears to be the BEST!

    Not interested in scrips that call VD and process the video, looking to use deshaker alone in AviSynth.

    If there is something I need to do first, thats fine... Even after exhaustive searching on Google and re-reading the docs, Ive got a good idea how to LOAD the plugin, but thats about it...

    Has ANYONE been able to get this successfully working in an automated fashion with scripts? (Win7 here).

    Ive got NO problems writing a batch script to generate an AVS for each video file (HD720), but not sure what to put in it to process the video. I know I need a pass 1 and pass 2... Thinking mplayer to make pass 1? Wanting to use latest FFMPEG with AVS to encode, which this part I dont need any help with... simply the deshaker plugin.

    Thanks for any advice..
    Andrew
    Quote Quote  
  2. I've never done it with deshaker, but in theory you can use LoadVirtualdubPlugin() in AviSynth. You can use File -> Save Processing Settings in VirtualDub to see a list of all the arguments to Deshaker (open the .vcf file in Notepad). I recommend you play with a simpler VirtualDub filter first. Here's an example using the deflicker filter:

    Code:
    LoadVirtualDubPlugin("g:\Program files\VirtualDub\plugins\deflick.vdf","DeFlick") 
    #DeFlick(window size, softening, interlaced, scene change threshold, show scene change)
    
    AviSource("whatever.avi") 
    
    ConvertToRGB32() #required by VirtualDub filters
    DeFlick(8, 0, 0, 10, 0) 
    
    ConvertToYV12() #if necessary
    Of course, since you need two passes for deshaker, you'll need two scripts.
    Last edited by jagabo; 6th May 2012 at 07:07.
    Quote Quote  
  3. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Ahhh... Never thought of using the vcf file to see what arguments are passed! Thanks much!! That gives me something to move forward with!!
    Quote Quote  
  4. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I think I have something working, as soon as the encode finishes Ill know for sure and will post details.
    Quote Quote  
  5. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    http://www.youtube.com/watch?v=RwEHITV94gM

    Much thanks to Jag without who's help I would not have been able to do this! This is great, I can process an entire folder now!

    Andrew
    Last edited by RogerTango; 20th May 2012 at 15:46.
    Quote Quote  
  6. Just an FYI, there are other batch deshaker scripts / processing out there

    Not sure if these are similar or different, I haven't looked at any of them in any detail

    http://forums.virtualdub.org/index.php?act=ST&f=5&t=17772&p=74325&st=28&hl=
    https://forum.videohelp.com/threads/311345-mass-deshaker-script
    Quote Quote  
  7. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    My method ONLY uses FFMPEG and AVISYNTH. Virtualdub is only used to derive the settings.

    Thanks for additional links, but its so much more rewarding to do it yourself and get the EXACT results you want!

    Andrew
    Last edited by RogerTango; 20th May 2012 at 15:47.
    Quote Quote  
  8. Great, nice work - that should be helpful for lots of folks

    I think someone also posted an approach (I think without vdub) using ffmpeg+avisynth+python a few weeks ago, but my memory is rusty
    Quote Quote  
  9. Can you please post a newbie step-by-step guide on how to use Deshaker with Avisynth/meGUI? It'd be of great help.
    Quote Quote  
  10. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Dont know what meGUI is (Ill google it..) but I can post the details... Give me a few daze, Ill try to whip something decent up and post..
    Quote Quote  
  11. Thanks a lot RogerTango. MeGUI is a frontend/gui that makes avisynth scripts easier to create and handle, but it's irrelevant to Deshaker. I'll be waiting for your post!
    Quote Quote  
  12. Originally Posted by Greathelp View Post
    Can you please post a newbie step-by-step guide on how to use Deshaker with Avisynth/meGUI? It'd be of great help.
    That would be of great help, I was also wondering how one would use Deshaker with Avisynth/meGUI?
    Quote Quote  
  13. Member
    Join Date
    Aug 2014
    Location
    Canada
    Search PM
    Sorry I know this is an old thread. An example of using Deshaker 3.0 or 3.1 with Avisynth is at the end of the following thread:

    https://forum.videohelp.com/threads/366677-Best-way-to-Re-encode-Canon-5D-mov-file-after-Deshake
    Quote Quote  



Similar Threads

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