flame_19
12th January 2006, 13:23
Hey everyone!
I want to cut together some scenes from a long movie. One of the scenes has to be in slow motion. All this has to
be handled in only one avisynth script (sorry). The final outout should be like:
- scene one (normal)
- scene two (slowmotion)
- scene three (normal)
I can produce a simple slowmotion with this code:
-----------------------------------------------------
film = AVISource("d:\mymovie.avi")
ChangeFPS(75)
AssumeFPS(25)
-----------------------------------------------------
When i try to integrate this into a sequence of other, normal scenes, it does not work!
-----------------------------------------------------
film = AVISource("d:\mymovie.avi")
#SCENE ONE (NORMAL)
sceneOne = film.Trim(6000,6030)
#SCENE TWO (SLOMOTION)
sceneTwo = film.Trim(6000,6060)
ChangeFPS(sceneTwo, 75)
AssumeFPS(sceneTwo, 25)
#SCENE THREE (NORMAL)
sceneThree = film.Trim(6000,6040)
#COMPOSE OUTPUT
output = sceneOne + sceneTwo + sceneThree
return output
-----------------------------------------------------
What is my mistake?
Why does this not work?
Is there another simple way to make a slowmotion within a normal sequence?
I am looking forward for all kind of help!
Christop
I want to cut together some scenes from a long movie. One of the scenes has to be in slow motion. All this has to
be handled in only one avisynth script (sorry). The final outout should be like:
- scene one (normal)
- scene two (slowmotion)
- scene three (normal)
I can produce a simple slowmotion with this code:
-----------------------------------------------------
film = AVISource("d:\mymovie.avi")
ChangeFPS(75)
AssumeFPS(25)
-----------------------------------------------------
When i try to integrate this into a sequence of other, normal scenes, it does not work!
-----------------------------------------------------
film = AVISource("d:\mymovie.avi")
#SCENE ONE (NORMAL)
sceneOne = film.Trim(6000,6030)
#SCENE TWO (SLOMOTION)
sceneTwo = film.Trim(6000,6060)
ChangeFPS(sceneTwo, 75)
AssumeFPS(sceneTwo, 25)
#SCENE THREE (NORMAL)
sceneThree = film.Trim(6000,6040)
#COMPOSE OUTPUT
output = sceneOne + sceneTwo + sceneThree
return output
-----------------------------------------------------
What is my mistake?
Why does this not work?
Is there another simple way to make a slowmotion within a normal sequence?
I am looking forward for all kind of help!
Christop