Page 1 of 1

Post your Timelapse

Posted: Thu Sep 01, 2011 8:22 pm
by M_D_K
So I did a test of my timelapse script, decided to upload the video to youtube.



So post your timelapses :)

EDIT:
here's the script

Code: Select all

#!/bin/bash
#
# start it by going time-lapse.sh start will keep running till termination
# then issue time-lapse.sh compile <optinal music file>

interval=5

arg=$1

if [ "$2" ]; then
music=$2
else
music=
fi

if [ -z $arg ]; then
	exit 0
fi

if [ $arg = "start" ]; then
	echo starting in $interval seconds
	sleep $interval
	while true
	do
		touch counter #incase this is our first run
		counter=`cat counter`
		counter=`expr $counter + 1`
		scrot temp.png
		convert -quality 100 -resize 800x temp.png `printf "%06d" $counter`.jpg
		echo "frame: $counter"
		echo $counter > counter
		sleep $interval
	done
elif [ $arg = "compile" ]; then
	if [ "$music" ]; then
		ffmpeg -shortest -qscale 3 -r 24 -i %06d.jpg -i "$music" -r 24 video.avi
	else
		ffmpeg -shortest -qscale 3 -r 24 -i %06d.jpg -r 24 video.avi
	fi
fi

Re: Post your Timelapse

Posted: Fri Sep 02, 2011 5:03 pm
by dandymcgee
Did anyone else catch the porn flicker?

Re: Post your Timelapse

Posted: Fri Sep 02, 2011 6:12 pm
by rolland
dandymcgee wrote:Did anyone else catch the porn flicker?
Lmao. No, nothing like that. Where at?

Re: Post your Timelapse

Posted: Sun Sep 04, 2011 12:52 pm
by superLED
dandymcgee wrote:Did anyone else catch the porn flicker?
Oh, that's a nice publicity trick.

Original Poster: "Hey, look at this cool video I made"
*not a single fuck was given that day*
Random dude: "Oh, did you see that porn flicker?"
1000 peoples: "I've gotta see this!"

Anyway. I'll check out your channel 8)

Re: Post your Timelapse

Posted: Mon Sep 05, 2011 12:31 am
by TheBuzzSaw
I will definitely use this during my next coding session.

Re: Post your Timelapse

Posted: Mon Sep 05, 2011 1:43 am
by ismetteren
Is that Awesome Window Manager? .. AWESOME!