VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. I'm looking for option, that allows me to replace the current video frame by duplicate previous or next frame with "hot keys"(let's say CTRL+->/CTR+<-) using (preferably)VirtualDub2 + Avisynth .
    Any suggestion would be greatly appreciated.
    Quote Quote  
  2. Originally Posted by semel1 View Post
    I'm looking for option, that allows me to replace the current video frame by duplicate previous or next frame with "hot keys"(let's say CTRL+->/CTR+<-) using (preferably)VirtualDub2 + Avisynth .
    Any suggestion would be greatly appreciated.
    If you're using avisynth, it's pretty easy to do in avspmod, you can write a macro and map hotkeys to whatever keys you want.

    Image
    [Attachment 57093 - Click to enlarge]


    vdub2's script editor is more rudimentary, I do not think it's possible there

    I attached the 2 macros, you place them in the macro folder. They are just text files, renamed .txt extension to .py (it's python based)


    ReplaceCurrentFrameWithPrevious.py
    Code:
    frame = avsp.GetFrameNumber()
    avsp.InsertText('\nFreezeFrame(%i,%i,%i)' % (frame, frame, frame-1))
    avsp.ShowVideoFrame(forceRefresh=True)
    ReplaceCurrentFrameWithNext.py
    Code:
    frame = avsp.GetFrameNumber()
    avsp.InsertText('\nFreezeFrame(%i,%i,%i)' % (frame, frame, frame+1))
    avsp.ShowVideoFrame(forceRefresh=True)
    Image Attached Files
    Quote Quote  
  3. Works perfectly. Thanks a lot.
    Quote Quote  



Similar Threads

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