Melvina
20th June 2012, 11:29
Hello,
Hopefully someone may be able to help me out here?
I need a script that will label video frames sequentially every 3 frames.
At the moment I have a method for what I need to do where I take in a video file, and I have to select every third frame. In my video files only 1 out of each 3 will be any good, so currently I use the following bit of script and have to check out all 3 by trial and error:
Selectevery (3,0)
#selectevery (3,1)
#Selectevery (3,2)
What I'm hoping to work out how to do is to get an avisynth script to stamp the number 0, 1 or 2 onto each frame so that I can examine the whole file in one go, decide which of the 3 is good, and then select the relevant selectevery line as above without having to try all 3 all the time.
I tried messing around with modulo functions, but my script writing is pretty rudimentary, and I suspect there is probably a blindingly obvious way of doing this that I don't know about!
Thanks!
Hopefully someone may be able to help me out here?
I need a script that will label video frames sequentially every 3 frames.
At the moment I have a method for what I need to do where I take in a video file, and I have to select every third frame. In my video files only 1 out of each 3 will be any good, so currently I use the following bit of script and have to check out all 3 by trial and error:
Selectevery (3,0)
#selectevery (3,1)
#Selectevery (3,2)
What I'm hoping to work out how to do is to get an avisynth script to stamp the number 0, 1 or 2 onto each frame so that I can examine the whole file in one go, decide which of the 3 is good, and then select the relevant selectevery line as above without having to try all 3 all the time.
I tried messing around with modulo functions, but my script writing is pretty rudimentary, and I suspect there is probably a blindingly obvious way of doing this that I don't know about!
Thanks!