VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Hi

    I need a filter which can record frame number whenever a key is pressed.
    Do we something like this is VDub or AVISYNTH ? If not, then how can I make a vdub filter/ avisynth script ?

    thnaks
    Quote Quote  
  2. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    If you just want a list of frame numbers, in AvsP you can set bookmarks with a keypress (^B), and use a macro to save the resulting list of frames to a text file:

    Code:
    filename = avsp.GetSaveFilename(title='Save bookmarks to text file')
    f = open(filename, 'w')
    for bm in avsp.GetBookmarkList():
        f.write(str(bm)+'\n')
    f.close()
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    thanks for the quick reply !
    can you suggest a modification .... something that records the frame number as well as the key that has been pressed
    Quote Quote  
  4. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by blaze01
    thanks for the quick reply !
    can you suggest a modification .... something that records the frame number as well as the key that has been pressed
    That's beyond my ability. And I guess that since many keystrokes are already defined in AvsP as commands, that you couldn't do it in the general case, at least easily. Maybe you should look into keyloggers.

    Anyway, if you want to ask the author, post in the AvsP thread at Doom9.
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    thanks!
    Quote Quote  



Similar Threads

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