View Single Post
Old 5th April 2018, 13:50   #4  |  Link
Yanak
Registered User
 
Join Date: Oct 2011
Posts: 275
This can help too i think : http://forum.doom9.org/showthread.ph...ight=sickjumps

Allows to have an acceleration at the start and deceleration at the end and in between the video accelerated by the value you want, ( might be useful to keep the start and end of your footage more visible while in an acceleration and deceleration parts) , and with audio synchronized too if you use avisynth to manage the audio part ( i'm not sure if your dashcam footage have this tho )

then at the end assumeFPS(60) or ChangeFPS(60) to have you footage at 60 fps ( if the original is already 60 fps then there is no need for this part)

Code:
LoadPlugin("H:\plugins\ffms2.dll")
LoadPlugin("H:\plugins\SickJumps.dll")

video = FFVideoSource("H:\BigBuckBunny_DivX_HD720p_ASP.divx", colorspace = "YUV420P8")
			  
audio = FFAudioSource("H:\BigBuckBunny_DivX_HD720p_ASP.divx")

AudioDub(video, audio)

SickJumps(500, 14000, 1, 20, 5, 2, end_multiplier=1)

ChangeFPS(60)
Here the video accelerated part will be x20 speed of the original video, acceleration will start at the frame 500 and end at the frame 14000, the acceleration time will be 5 seconds ( during 5 seconds after reaching the frame 500 it will speed up progressively for 5 seconds until reaching speed x20 ) and the deceleration time is 2 seconds, ( 2 seconds before reaching frame 14000 it will slow down progressively until reaching speed x1 at frame 14000 )

the first "1" value is the speed before the acceleration process, and same thing for "end_multiplier=1", before and after the accelerated effect part the video will be at normal speed here.

Using the video found here : http://www.divx.com/en/devices/profiles/video

this is the result of the script : https://streamable.com/8lvhi

PS: smoothing all this can maybe be done with some other things like poisondeathray explained, might even be possible with the option " script_variable" inside Sickjumps plugin itself but i never tested this part much, this said i really don't like the blurry effects those hyper-lapse videos i saw end up, feels like playing games with motion blur which is something i really hate and one of the first options i disable in any video game i touch

Last edited by Yanak; 5th April 2018 at 14:06.
Yanak is offline   Reply With Quote