How to make a time lapse with Ubuntu Natty

*nix specific usage questions
Rosscopico
New Cone
New Cone
Posts: 6
Joined: 16 Jun 2011 20:23

How to make a time lapse with Ubuntu Natty

Postby Rosscopico » 02 Aug 2011 15:14

After much reading, experimentation & gnashing of teeth, I finally figured this out!

1. Record video as .png to minimise pixelation (inserting directory & frame rate into following
command run from Ubuntu terminal)
cvlc v4l2:// :v4l2­dev="/dev/video0" –video­filter=scene ­­scene­format=png ­­scene­
ratio=<n> ­­scene­prefix=snap –scene­path=/home/ross/<directory> v4l2:// vlc://quit

2. Use GPRename to change the file names to sequential numbers, take care to keep the .png
extension.

3. Navigate to directory & use mogrify to change format to jpeg, from the Ubuntu terminal with the following command
mogrify ­format jpg *.png

4. You will now have the original png files as well as the jpg files. Create a directory for the png
files & move them. Navigate to directory
mv *.png ~/<new directory for png>

5. Use AviDemux to stitch images back together as a movie.
Open 1st frame, In VIDEO dropdown box select desired output ( I chose mpeg4), then in VIDEO menu bar, select desired
frame rate. Now save as an avi

6. Play video. Check frame rate is correct. If necessary, use AviDemux again with a different frame
rate.

Rosscopico
New Cone
New Cone
Posts: 6
Joined: 16 Jun 2011 20:23

Re: How to make a time lapse with Ubuntu Natty

Postby Rosscopico » 02 Aug 2011 15:16

I found that recording as a jpg gave me pixelation, so went with the png, then changed the format later on


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests