View Single Post
Old 8th May 2013, 18:44   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Akai-Shuichi View Post
an example with before and after screenshots?
Screenshots of what?

You supply the clip, and select a number of frames from your clip.

Code:
myclip=AviSource("D:\avs\avi\1.avi") # Your clip
Sel=FrameSelect(myclip,10,20,30) # select frames 10 and 20 and 30 from your clip
return Sel # return frames 10 and 20 and 30 from your clip
what is there to explain, or require screenshots.

EDIT: Or,

Code:
myclip=AviSource("D:\avs\avi\1.avi") # Your clip

SCMD="10;20;30"

Sel=FrameSelect(myclip,scmd=SCMD) # select frames 10 and 20 and 30 from your clip using command string
return Sel # return frames 10 and 20 and 30 from your clip

Or

------------- below contents of "cmd.txt" file.
10
20
30
-------------
Code:
myclip=AviSource("D:\avs\avi\1.avi") # Your clip
Sel=FrameSelect(myclip,cmd="cmd.txt") # select frames 10 and 20 and 30 from your clip using command file
return Sel # return frames 10 and 20 and 30 from your clip
Might be useful to say what it is you want to do.

EDIT: Also example usage of FrameReplace()

Code:
myclip=AviSource("D:\avs\avi\1.avi") # Your original clip
Sel=AviSource("D:\avs\avi\Sel.avi") # Clip extracted via any of above code snippets, and perhaps edited in paint program

Fixed=FrameReplace(myclip,Sel,10,20,30) # replace 3 frames from Sel clip back into source clip frames 10 and 20 and 30.
return Fixed # return original clip with fixed frames replaced back into source
Can also use command string or command file to match the other FrameSelect snippits, in this case they are ALL equivalent (ie 10,20,30).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 8th May 2013 at 19:26.
StainlessS is offline   Reply With Quote