From ee7d77fa817b0576de904ccfd07ed7ebeff603ce Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 13 May 2014 16:12:02 +0300 Subject: Don't use ffmpeg --- ffmpeg | Bin 22810832 -> 0 bytes retrospect.rb | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100755 ffmpeg diff --git a/ffmpeg b/ffmpeg deleted file mode 100755 index 236fa8d..0000000 Binary files a/ffmpeg and /dev/null 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 -- cgit v1.2.3