Jump to content


Photo

HPR - HPR1449: Timelapse Video


  • Please log in to reply
No replies to this topic

#1 BINREV SPYD3R

BINREV SPYD3R

    Live to Hack...Hack to Live.

  • Members
  • 2,441 posts

Posted 19 February 2014 - 07:00 PM

A quick introduction to timelapse video and some of the tools used in linux to help create them. cd to dir that holds the imagesCreate a directory called resize and run "mogrify -path resize -resize 1920x1080! *.JPG" If you need to Deflicker your images place the script in your resize directory and run "./timelapse-deflicker.pl -v"This will create a dir called deflickeredIf you use mencoder to create your video you need to use ls and make a text file with the files listed in sequential order "ls -1tr | grep -v files.txt > files.txt"then "mencoder -nosound -noskip -oac copy -ovc copy -o outputfile.avi -mf fps=25 'mf://@files.txt'if you use ffmpeg something like this should get you out of trouble, though your files need to be named in sequential order starting with img(number 1 2 etc).jpg "ffmpeg -f image2 -i img%d.jpg -vcodec libx264 outputfile.mp4"Youtube links Milkyway Construction scripthttp://tinyurl.com/p7ffof7

Go to this episode




BinRev is hosted by the great people at Lunarpages!