You are not logged in.

#1 2016-02-16 23:47:23

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

post processing a video to appear as though it is timelaspe

I have seen apple's "slow motion" effect whereby the video stream on the camera is post-processed to a timelaspe effect.  I have been googing for an ffmpeg or the like solution to do this myself but am only finding references to doing so with still images.  Any oneliners folks care to share to accomplish it?

Offline

#2 2016-02-17 01:56:42

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: post processing a video to appear as though it is timelaspe

Can you provide links to before and after examples (or at least after)? I just don't quite understand what effect you want to achieve.

Last edited by DrZaius (2016-02-17 01:57:49)

Offline

#3 2016-02-17 03:38:41

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: post processing a video to appear as though it is timelaspe

Is this the command you're looking for?

ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -an output.mp4

Source: http://superuser.com/questions/777938/f … -timelapse

EDIT: also: http://superuser.com/questions/600109/m … ring-movie
My Google was "ffmpeg speed up video timelapse"  smile

Last edited by fukawi2 (2016-02-17 03:39:46)

Offline

#4 2016-02-17 19:31:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: post processing a video to appear as though it is timelaspe

Hey, thanks!  I will give it a try.  It looks like the apple protocol is to speed up short clips by a factor of 15x and longer ones by 30x or even 60x.  Been experimenting:

actual record time (sec),apple timelaspe time (sec),compression
1500,25,60.0
1290,22,58.6
900,30,30.0
466,31,15.0
140,9,15.6
75,5,15.0
15,1,15.0

Offline

Board footer

Powered by FluxBB