It is currently Sat Sep 19, 2026 11:06 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How To Record a Timelapse Video
PostPosted: Tue Jul 12, 2011 10:07 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jun 25, 2011
Posts: 914
Location: Mount Olive, North Carolina
GIMP Version: 2.6.7
Operating System: Linux
OS Version: Ubuntu 9.10
GIMP Experience: Intermediate Level



Does anybody know of a good plugin or program (that runs on Ubuntu Linux) to record a timelapse? I can't imagine the best approach is to export a few hundred .png or .jpg's as I move along.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How To Record a Timelapse Video
PostPosted: Wed Jul 13, 2011 5:58 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
Quote:
...............I can't imagine the best approach is to export a few hundred .png or .jpg's as I move along.


Bound to be one somewhere, (probably a script) but I have not come across one that will capture a series of images and output straight to video.

First thing, is this from a webcam or a desktop capture?

From a webcam, Cheese has an option (burst mode) to capture "x" images at "y" intervals. Works ok.

For a desktop, back to command line I fear, and 'scrot'

while [ 1 ]; do scrot -q 100 `date +%s`.jpg; sleep 3; done

This takes a <file_number>.jpg screenshot every 3 seconds until ctrl-c is pressed in the terminal. Note the back tics `: normally next to the 1 key.

Both cheese and scrot are in the ubuntu repo.

Making them into a video: Kdenlive will take a load of images and drag'n'drop into the timeline. Very easy. Default is something like 5 seconds per image.

If you are into command line ffmpeg can render an image:

for f in *.jpg; do ffmpeg -loop_input -i "$f" -r 15 -t 5 -qscale 2 "$f".avi; done

This makes an avi file framerate 15 fps length 5 seconds and names it <same-as-the-jpeg>.avi Then join them all together to make a "new.avi"

mencoder -ovc copy -o new.avi `find-name`*.avi

Both ffmpeg and mencoder are in the ubuntu repo if you do not already have them installed.

A screen shot (LM9 64 bit) of the output http://i.imgur.com/f9mrn.png

happy capturing!


Top
 Post subject: Re: How To Record a Timelapse Video
PostPosted: Wed Jul 13, 2011 6:57 am  (#3) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Or are you talking about images from a digital camera? which is usually referred to as tethering and it's very dependant on the type of camera you want to use.


Top
 Post subject: Re: How To Record a Timelapse Video
PostPosted: Wed Jul 13, 2011 9:38 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jun 25, 2011
Posts: 914
Location: Mount Olive, North Carolina
Using scrot sounds like exactly what I need, actually :) . Thanks for the suggestion.


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group