PDA

View Full Version : process only frames mentioned in txt-file?


songohan
25th November 2007, 16:37
i'm trying to do a motion compensated timelapse. the idea is to throw frames away like changefps, but allow some variance for each interval, so that the motion of the timelapse will hopefully become smoother. (i's a very fast timelapse, so minimal temporal errors won't disturb)

the computation of the intervals will be done external, so i'm going to have a txt-file with the frame-numbers to keep.

how can i use this file in avisynth?

a fitler like conditional_keep_frames("path_to_txt") would be great

any ideas?

stickboy
25th November 2007, 22:35
Look at my RemapFrames plugin (http://www.avisynth.org/stickboy/).

songohan
27th November 2007, 22:40
that's it! thank you :D

i've already got a first working heuristic.

the next problem is a good cost function to distinguish between different types of motion. unfortunately deshaker or depan are not gpl.. sourcecode would help a lot.

at least the timelapse has no more outlier-frames...