View Full Version : Applying script on pre-selected framenumber(s)


IceM
9th June 2005, 12:19
Hello,

For a project im working on at the moment i need a way to apply a script on a few pre-selected frames.

I dont know yet which script that is going to be, but ill try to explain what I want to do.


Lets grab a movie. A movie basically isn’t more then allot of pictures putted behind each other played so fast the human brain identifies them as moving. If you change 1 frame you wont actually see the difference. The theory behind all this is that company's believe the brain actually is capable of “seeing” this frame and saves its contents while the viewer doesn’t notice it.


So, what i want to do is setup a few test cases on which one or more frames are edited with those hidden messages. My plan is to grab a frame out of a movie, edit it with my message to the world (photoshop or smth, so its a pre-made image) and replace that with the original frame.

I dont realy know if there are any tools for this (and scripts) but it should not be to hard (my idea what that there are existing scripts replacing something, i only need to know how i can apply this script on a few frames).

Can someone helpe me with that? Maby even tell me what scripts i need for this?
Tnx in advance

Edit:

Or if it cant be done like this (or can be done more easily, by first editing the vob mpeg or so) maby an other solution?

kingmob
9th June 2005, 14:47
As far as i know the above concept has been proven wrong long ago already and is nothing but an urban myth.
If you still want to do it, SelectEvery (http://www.avisynth.org/SelectEvery) is what you need.

mg262
9th June 2005, 17:19
I think you're referring to subliminal advertising?

http://www.sykronix.com/researching/tscope.htm

(if I understand you correctly) The easiest way to do it is this:

a=trim(0,100)
b=trim(101,104) #frames to change
c=trim(105,0)

# process the clip b however you want
# e.g. b=b.greyscale

a++b++c

obviously you should change the numbers so you cut out the actual frames you want to change. If you're a bit more confident with AVISynth, you're better off using ApplyRange (look it up in the documentation).

stickboy
9th June 2005, 17:59
My ApplyEvery and my RemapFrames plug-ins (http://www.avisynth.org/stickboy/) may be useful.