From Avisynth wiki
Jump to: navigation, search

DeleteFrame(clip clip, int frame_num [, ...])

DeleteFrame deletes a set of frames, given as a number of arguments. The sound track is not modified, so if you use this filter too many times in a row you may get noticeable desynchronization.


DeleteFrame(3, 9, 21, 42) # delete frames 3, 9, 21 and 42

If you want to delete a range of frames (a to b, say) along with the corresponding portion of the soundtrack, you can do it like this:

 Trim(0,a-1) ++ Trim(b+1,0)

Or like this:



v2.58 Added support for multiple arguments.
Personal tools