wuziq
1st March 2006, 23:32
Is there a function/filter which allows you to go to a specific frame number and then apply another filter to that frame (and onward)?
Here's why I ask, and maybe it'll refine my question:
I have a full-length movie. At regular intervals, I want a little animation (which is a separate clip) to appear in the upper right corner, play back, then disappear... like how you see a TV channel logo appear and disappear while you're watching a show. I figured I could just use overlay(), but overlay() would just make the animation play once. How do I get it so that it plays multiple times throughout the movie? I figured "well maybe I could just loop the animation over and over again and then use conditionalreader() to specify overlay opacity to display or hide the animation when I want.. but that'd be a pain. It'd be much easier to be able to do this:
movie = mpeg2source(...)
animation = avisource(...)
go to frame number 100 in movie
overlay animation starting at frame 100
go to frame number 300 in movie
overlay animation starting at frame 300
go to frame number 500 in movie
overlay animation starting at frame 500
etc.
How would I do this? Any help appreciated!
Here's why I ask, and maybe it'll refine my question:
I have a full-length movie. At regular intervals, I want a little animation (which is a separate clip) to appear in the upper right corner, play back, then disappear... like how you see a TV channel logo appear and disappear while you're watching a show. I figured I could just use overlay(), but overlay() would just make the animation play once. How do I get it so that it plays multiple times throughout the movie? I figured "well maybe I could just loop the animation over and over again and then use conditionalreader() to specify overlay opacity to display or hide the animation when I want.. but that'd be a pain. It'd be much easier to be able to do this:
movie = mpeg2source(...)
animation = avisource(...)
go to frame number 100 in movie
overlay animation starting at frame 100
go to frame number 300 in movie
overlay animation starting at frame 300
go to frame number 500 in movie
overlay animation starting at frame 500
etc.
How would I do this? Any help appreciated!