jaidek
15th July 2009, 12:32
Hi All,
I've been trying to work out an Avisynth script that will analyze some raw video that I've been given. The video itself runs at 60fps, but due to duplicate frames it's actually "slower" at points when there's a lot of things happening on the screen. I've managed to differentiate between duplicate frames/unique frames, but I'm a little hung up on the "correct" way to detect the "true" fps, which will vary as the video progresses. I can think of programmatic ways using programming constructs (stacks, arrays, queues, etc) in combo with ScriptClip and keeping a count of unique frames, but is there a native Avisynth way to do this instead?
I've been trying to work out an Avisynth script that will analyze some raw video that I've been given. The video itself runs at 60fps, but due to duplicate frames it's actually "slower" at points when there's a lot of things happening on the screen. I've managed to differentiate between duplicate frames/unique frames, but I'm a little hung up on the "correct" way to detect the "true" fps, which will vary as the video progresses. I can think of programmatic ways using programming constructs (stacks, arrays, queues, etc) in combo with ScriptClip and keeping a count of unique frames, but is there a native Avisynth way to do this instead?