PDA

View Full Version : Super Speed-up


anton_foy
28th November 2007, 23:08
Hello!

I have footage in interlaced PAL and the clip is 17011 frames long. I want to speed it up alot and maybe leave it to only 56 frames or so.
Should I use Selectevery or Convertfps then put assumefps(25) in the end of the script?
I want it as a time-lapse.

AVIL
29th November 2007, 00:41
Hi,

If you don't want motion-blur or similar, I suggest you selectevery solution (quick and clean).

Good luck

Sagekilla
29th November 2007, 00:48
Are you sure you don't mean 56 seconds long or so, and not 56 frames? Because, assuming the clip is in 50i format, you'd be converting it to maybe one second of video using 56 frames. 56 seconds would be about 2800 frames, or 1/6th the original clip.


Also, I don't know the exact function you'd be using but I don't think selectevery would be it..

anton_foy
29th November 2007, 08:44
@AVIL
Thank you! Do you know how to use it in combination with temporalsoften for some light motionblurring? It was mentioned here http://forum.doom9.org/showthread.php?t=94650but I cannot figure out how to do it. Now my script looks like this:

mpeg2source("C:\melt.d2v")

interp = nnedi()
yadifmod(edeint=interp).reverse() #for playing it backwards

temporalsoften(7,255,255,255,2) #I can see no change when I put this line here, it suppose make motionblur but I dunno how to use it.
AssumeFPS(7000)
ChangeFPS(25,linear=false) #I had to put linear=false to get it to work, else error message
assumefps(25)

@Sagekilla
Hi yes I meant 56 but maybe I will make it about 2,5 - 3 seconds long instead.

scharfis_brain
29th November 2007, 11:46
Mpeg2Source("C:\melt.d2v")

#blur five frames and select every 5th frame
TemporalSoften(2, 255, 255).SelectEvery(5, 2)

#blur four frames and select every 4th frame
Merge(SelectEven(), SelectOdd())
Merge(SelectEven(), SelectOdd())

#blur 15 frames and select every 15th frame
TemporalSoften(7, 255, 255).SelectEvery(15, 7)

AssumeFps(25)


this script will blend together 300 frames and put them out as a single frame.

If you want lesser motion blur lower the radius of the first call of temporalsoften to 1, or remove the first call of temporalsoften.

2Bdecided
29th November 2007, 12:13
Depending on the source, you might get exactly what you want out of AVIsynth, but find it impossible to encode!

Maybe deinterlace, then keep frames 1, 5, 9, 13, 101,105,109,113, 201,205,209,213 etc or similar to give the encoder something to lock on to. Blur is good to help this too, but on some sources can leave nothing visible.

Cheers,
David.

anton_foy
29th November 2007, 13:55
@2bdecided
Thank you yes blur is used but I think selectevery + temporalsoften will be a good combo, just have to get it to work the right way.

@Scharfis_brain
Thank you Scharfis, the only problem now is speed ;)
It took 10 minutes to load the script and 5 minutes to step to the next frame so I don't really know how it looks.
My footage is 1920x1080 50i. But the framenumbers are 63 so its the correct amount.

foxyshadis
1st December 2007, 10:04
Use SetMemoryMax, if you aren't already done; you'll probably thrashing the cache and re-evaluating all kinds of things unnecessarily.