Smoothing time-lapse videos with AviSynth - page 5 - Creative Uses of CHDK - CHDK Forum  

Smoothing time-lapse videos with AviSynth

  • 40 Replies
  • 16702 Views
Re: Smoothing time-lapse videos with AviSynth
« Reply #40 on: 28 / November / 2013, 12:16:37 »
Advertisements
OK, I have now used the following script to process the movie clip :-

Code: [Select]
v=QTInput("MVI_7088.mov", color=2, audio=0)
fps=v.FrameRate()
v1=v.Trim(200,305)
v2=v.Trim(314,371)
v3=v.Trim(500,3170).AutoCrop(0,wMultOf=16,hMultOf=16).ConvertToYV12()
v4=v.Trim(3431,3610)

v1=v1.AssumeFPS(fps/4).ConvertToYV12()
v1=v1.AutoCrop(0,wMultOf=16,hMultOf=16).MSU_FRC(4,"fast")

v2=v2.AssumeFPS(fps/4).ConvertToYV12()
v2=v2.AutoCrop(0,wMultOf=16,hMultOf=16).MSU_FRC(4,"fast")

v4=v4.AssumeFPS(fps/4).ConvertToYV12()
v4=v4.AutoCrop(0,wMultOf=16,hMultOf=16).MSU_FRC(4,"fast")

v=v1+v2+v3+v4

return v

It cuts-out unwanted parts, including the static frames as zoom changes from optical to digital.
The zoom-in and zoom-out are slowed down by a factor of 4x.
The panning of the scene is at normal speed.
(the pan has to be so slow at such a high magnification you cannot see the camera rig rotating)



« Last Edit: 28 / November / 2013, 13:18:09 by Microfunguy »

 

Related Topics