aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-05-13 16:12:02 +0300
committerFilipp Lepalaan <f@230.to>2014-05-13 16:12:02 +0300
commitee7d77fa817b0576de904ccfd07ed7ebeff603ce (patch)
tree098c268e2ea984783ea4daab78e99290f16cbb0f
parent0360a58ccea8a3aad40b432a8fa57f81af149409 (diff)
downloadRetrospect-ee7d77fa817b0576de904ccfd07ed7ebeff603ce.tar.gz
Retrospect-ee7d77fa817b0576de904ccfd07ed7ebeff603ce.tar.bz2
Retrospect-ee7d77fa817b0576de904ccfd07ed7ebeff603ce.zip
Don't use ffmpeg
-rwxr-xr-xffmpegbin22810832 -> 0 bytes
-rw-r--r--retrospect.rb6
2 files changed, 2 insertions, 4 deletions
diff --git a/ffmpeg b/ffmpeg
deleted file mode 100755
index 236fa8d..0000000
--- a/ffmpeg
+++ /dev/null
Binary files differ
diff --git a/retrospect.rb b/retrospect.rb
index 783037f..348a0e4 100644
--- a/retrospect.rb
+++ b/retrospect.rb
@@ -3,10 +3,8 @@ OUTPUT = "/tmp/movie.mov"
BASEDIR = File.dirname(File.realpath(__FILE__))
trap(:ALRM) {
- fork do
- system "#{BASEDIR}/ffmpeg", '-y', '-i', "/tmp/img_%d.jpg", OUTPUT
- system "/usr/bin/open", OUTPUT
- end
+ system "#{BASEDIR}/ffmpeg", '-y', '-i', "/tmp/img_%d.jpg", OUTPUT
+ system "/usr/bin/open", OUTPUT
}
i = 0