VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member LSchafroth's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Here is the script I'm using:

    LoadPlugin("C:\temp\avs\plugins\depan.dll")

    i = ConvertToYV12()

    mdata = DePanEstimate(i)

    DePanStabilize(i, data=mdata)


    This works good but the borders grow and shrink a lot. I am mostly looking for the compensation for the shaking up and down from the old 8mm footage. The video shakes up and down slightly due to teh dragging of the film in the projector. Only this film does it.

    Depan seems to help it a bunch! I want to tweak depan to only worry about the vertical aspect. Can that be done?

    LS
    Quote Quote  
  2. Member LSchafroth's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    I found this article and tweaked his settings and got terrific results using the Deshake filter for Virtualdub.

    http://www.filmshooting.com/scripts/forum/viewtopic.php?p=21909&sid=25b43dfea0a251bf0e206325851dd381

    Lannie
    Quote Quote  
  3. Member LSchafroth's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Now that it works I wanted to do the entire video. Now VirtualDubMPG2 crashes about 25% into the footage. The program just stops and dissapears.

    ARGH

    Lannie
    Quote Quote  
  4. Member LSchafroth's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Looks like I'm back to DePan and AVIsynth for this.

    Virtualdub will not stop rashign when using DeShaker.

    Anyone help me out here with DePan?

    LS
    Quote Quote  
  5. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I haven't used DePan or tried this method, but the first thing that comes to mind would be to rotate the image 90 degrees, so the vertical is now horizontal, run it through DePan, then rotate it back.
    Read my blog here.
    Quote Quote  
  6. Member LSchafroth's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Heck I never thought of that!

    I discovered Deshaker was crashing on a new scene detection or a frame with a ghosted or double image. There were flash bulbs going on in this footage and it would crash on each of those.

    I ran it piece by piece and it is done. The footagee is smooth.

    However I like the thought of the rotate so I don't have to piece everything together. I have another film that is slightly jumpy and Deshaker went right through it no problem.

    Thanks guys!

    LS
    Quote Quote  
  7. Member
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Search Comp PM
    DePanEstimate and DePanStabilize have paramaters to limit the X or Y correction

    dymax
    dxmax

    Thus try

    DePanStabilize(i, data=mdata, dxmax=0 )

    not sure if you need to add that to DePanEstimate too?? try it out
    Quote Quote  
  8. Member
    Join Date
    Dec 2006
    Location
    Netherlands
    Search Comp PM
    I'm trying to use DePan in on of my scripts. But I have a hard time figuring out what the hell it all means (the functions and variables)

    I'm guessing you can take the whole clip and gjive it a name 'i',
    so that will become a 'clip' wich you can recall through a function within the script?

    Please help me out what to use.
    I have this DV-footage that needs that has a non-steady picture (camera, walking and filming, hope you get the picture)
    I really don't understand a word of all that russian-englisch gibberish in that DePan manual.
    What the hell is DePanInterleave and whatdo all the parameters mean?
    I got so far to understand what the difference is between temporal (timeline, jeez),
    and spatial (radius within same frame, whattaname)

    any scripts with explenation of the varuables would be helpful so
    I can tweak some (if nec.) my own would be helpful.
    Quote Quote  



Similar Threads

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